Skip to main content
Glama

独行录 / opcmenu

设置成员发活动权限

set_organization_member_activity_permission
Idempotent

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false, but the description adds the auth requirement (login + OWNER/ADMIN), the server-side re-checks (admin permission, member status, cloud-user limits), and the scope limitation that member-level settings are untouched. This is meaningful behavioral context beyond the structured hints.

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

Conciseness4/5

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

Front-loads the permission bracket and purpose, then prerequisites, then scope boundary. Dense but each clause carries information; no filler sentences, though the packed single block is slightly harder to scan than cleanly separated sentences.

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 non-destructive idempotent mutation with annotations present and no output schema, the description covers auth, prerequisites, scope, and server-side validation, which is enough to call it correctly. Nothing critical is missing, though it does not describe the success/failure response shape (which the absent output schema would otherwise require).

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%: membershipId is well documented in the schema and reinforced here, organizationId is briefly documented, but canPublishActivities has no schema description. The description compensates by framing it as the on/off switch for publishing rights, adding meaning the bare boolean lacks.

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 pair (开启或关闭 = enable/disable) on a specific resource (a member's activity-publishing permission), and the title confirms it. It is clearly distinguishable from siblings like set_organization_member_role or remove_organization_member without opening any schema.

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 the prerequisite workflow explicitly (obtain membershipId from list_organization_members, confirm member and switch, then call) and draws a clear 'when-not' boundary (this only changes admin authorization, not the member's own share/hide settings). It stops short of naming the alternative tools the agent might confuse it with, so it is clear context rather than full when/alternatives routing.

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