Skip to main content
Glama

独行录 / opcmenu

设置成员发活动权限

set_organization_member_activity_permission
Idempotent

【需要登录·OWNER/ADMIN】为指定成员开启或关闭发活动权限。list_organization_members 取 membershipId,确认成员与开关后调用;这只改管理员授权,不改成员自己的共享/隐藏设置。服务端复核管理员权限、成员状态与云用户限制。

Input Schema

NameRequiredDescriptionDefault
membershipIdYes成员关系 id(list_organization_members 的 membershipId,不是 userId)
organizationIdYes组织 id
canPublishActivitiesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare idempotentHint=true and destructiveHint=false, and the description adds genuinely new context: login required, OWNER/ADMIN authorization, server-side re-checks of admin rights, member status and cloud-user limits, plus a scope caveat about what it does NOT change. It doesn't describe the response, but that is a minor gap given the safety profile is covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the auth requirement, then the action, then the prerequisite call, then the scope caveat and server checks. Four compact clauses, each carrying distinct information with no repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-param mutation with no output schema, the description covers who may call it, how to obtain the identifier, what the toggle means, what it does not touch, and that the server validates again. Only the return/confirmation behavior is left implicit, which is acceptable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, with organizationId and canPublishActivities undocumented in the schema. The description compensates for the key gap by explaining that the boolean toggles activity-publishing permission on/off, and it repeats the important hint that membershipId (not userId) comes from list_organization_members.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: enable/disable a specified member's activity-publishing permission. It also delimits scope against neighboring concepts (admin authorization vs. the member's own sharing/hiding settings), so an agent can distinguish it from set_organization_member_role or remove_organization_member.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear prerequisite workflow (fetch membershipId via list_organization_members, confirm member and toggle before calling) and a negative boundary (does not change the member's own privacy settings). It does not explicitly name set_organization_member_role as the alternative for role changes, so it stops short of full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources