diff --git a/mcp_student.go b/mcp_student.go index 3deac57..d5e32b1 100644 --- a/mcp_student.go +++ b/mcp_student.go @@ -199,7 +199,7 @@ func studentTools() []pact.MCPTool { { Name: "pin_material", Title: "Pin a material", - Description: "Pins a material the signed-in student may see, for this student only (nobody else sees the pin): bm_materials without q then lists it first, newest pin first, and the material answers carry pinned true. Pinning again keeps the first pin time. Answers with no content; a material the student cannot see is not found." + needsScopeWrite, + Description: "Pins a material the signed-in student may see, for this student only (nobody else sees the pin): bm_materials without q then lists it first, newest pin first, and the material answers carry pinned true. Pinning again keeps the first pin time. Answers with no content; a material the student cannot see is not found. " + MCPMaterialPrivacy + needsScopeWrite, Guard: "user", Method: http.MethodPut, Path: TokenPrefix + "/materials/{id}/pin", @@ -208,7 +208,7 @@ func studentTools() []pact.MCPTool { { Name: "unpin_material", Title: "Unpin a material", - Description: "Removes the signed-in student's own pin from a material (it can be pinned again); unpinning a material that is not pinned is not an error. Answers with no content." + needsScopeWrite, + Description: "Removes the signed-in student's own pin from a material (it can be pinned again); unpinning a material that is not pinned is not an error. Answers with no content. " + MCPMaterialPrivacy + needsScopeWrite, Guard: "user", Method: http.MethodDelete, Path: TokenPrefix + "/materials/{id}/pin",