Skip to main content
Glama

独行录 / opcmenu

修改加盟组织开放授权

update_organization_alliance_grants
Destructive

【需要登录】须组织实际管理者且为加盟关系。先读当前及必选项,向用户逐项列出增减的共享/管理权限并确认完整 grants 后替换;staffEntry 改动会增撤员工进驻。必选项不能关闭,自有关系不可修改。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
grantsYes完整授权清单:directory名录数据、moments组织动态、activities活动互通、match撮合、tasks派任务、staffEntry自动进驻、activityManage编辑/取消活动
organizationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, idempotentHint=false, and openWorldHint=true, but the description adds real value beyond them: the replacement (not merge) semantics, the side effect that staffEntry changes add/remove staff entry, the immutability of required grants, and the authorization requirement. These are exactly the behavioral traits annotations cannot express.

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?

Single dense paragraph that is front-loaded with the login requirement and authorization gate, then the workflow, then constraints. Every clause carries operational weight, though the run-on comma structure in Chinese packs multiple distinct rules together, slightly reducing scannability.

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 destructive, non-idempotent mutation with no output schema and only two parameters, the description covers authorization, the confirm-before-replace workflow, side effects, and constraints. It is close to complete; only the response/error behavior is unaddressed, which is minor given the absence of an output schema.

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 50% — grants has an inline description mapping enum values, but organizationId has none. The description compensates by clarifying that grants is a complete replacement list (not a delta) and that mandatory items must remain, adding semantics the schema does not capture. It does not explain organizationId, hence not a 5.

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

Purpose4/5

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

The description conveys the action ('确认完整 grants 后替换' — replace the complete grants list) and the resource context (加盟关系/组织授权), which lets an agent distinguish this from sibling grant tools like propose_organization_alliance_share or set_alliance_organization_share. However, it never states the purpose in a leading sentence; the verb is embedded mid-paragraph amid preconditions, so the agent must infer it.

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

Usage Guidelines5/5

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

It explicitly states the preconditions (login required, must be the organization's actual manager, must be in an alliance relationship), the required workflow (read current and required items, enumerate added/removed permissions to the user, confirm the full grants before replacing), and the exclusions (required items cannot be turned off, own-relationship cannot be modified). This is near-complete when-to-use and how-to-use 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