Skip to main content
Glama

独行录 / opcmenu

修改加盟组织开放授权

update_organization_alliance_grants

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of disclosure and covers it well: it requires login, requires the caller to be an actual organization manager in an alliance, and replaces (not merges) the full grants list. It also flags side effects ('staffEntry 改动会增撤员工进驻') and two hard constraints ('必选项不能关闭,自有关系不可修改'), which the agent could not infer from the schema. It does not say what happens on partial failure or which grants are mandatory, but this is still far above the baseline expected when annotations are absent.

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?

One tightly packed block, front-loaded with the login and permission precondition, then the workflow, then the constraints, in the order the agent needs them. Every clause carries information, though the semicolon-chained Chinese makes it dense enough that a reader could miss the ordering requirement on the first pass.

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 two-parameter mutation tool with no annotations and no output schema, the description supplies the permission model, the read-confirm-replace workflow, the side effects, and the immutability rules. The only real gap is that mandatory grants are not named and the return/error behavior is unstated, but nothing essential to invoking it correctly is missing.

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%: the grants array is documented, but organizationId is undocumented. The description fills that gap in part by explaining that grants is a complete replacement list, that staffEntry has a downstream staffing effect, and that non-mandatory items can be dropped while mandatory or own-relationship items cannot. It never enumerates which values are mandatory, so the agent still has to guess which items it may remove.

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 phrase '替换完整 grants' names the verb (replace) and the resource (the full grants list), so the agent knows this overwrites the share/management permission set rather than adding to it. It does not distinguish itself from sibling tools such as set_alliance_organization_share or propose_organization_alliance_share, so an agent cannot easily tell them apart from the description alone.

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?

It states a clear pre-call workflow: read the current grants and mandatory items first, list each added or removed permission to the user, and confirm the complete grants before replacing. Preconditions are explicit ('须组织实际管理者且为加盟关系'). It never mentions alternative tools for partial permission edits or which sibling sends a share proposal instead.

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