Skip to main content
Glama

独行录 / opcmenu

联盟设定或提议组织分成

set_alliance_organization_share
Destructive

【需要登录】仅盟主 managePolicy。先读下属组织 share 与 relation;确认联盟/组织、旧值、新值及生效方式。allianceShareBps=0..10000 是获客/管理分成池中联盟份额(10000=100%),不是整单收入比例。自有直接生效;加盟通知组织待接受,覆盖当前任一方未决提议。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allianceIdYes
organizationIdYes
allianceShareBpsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: login and managePolicy permission requirements, the two execution modes, and the key destructive trait that a new proposal overrides any current pending proposal from either side. This meaningfully enriches the destructiveHint/openWorldHint annotations.

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?

Dense but front-loaded: permission gate first, then read-before-write guidance, then parameter semantics, then mode behavior. Every clause carries information; only the identity parameters are left unaddressed.

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, it covers permissions, prerequisite reads, the ambiguous unit parameter, and override behavior. It is nearly complete, missing only explicit identity-parameter semantics and rollback/reversibility detail.

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

Parameters3/5

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

Schema coverage is 0%, so the description must compensate. It explains allianceShareBps thoroughly (0..10000, alliance's share of the acquisition/management pool, 10000=100%, explicitly not whole-order revenue), but allianceId and organizationId get no clarification beyond 'confirm alliance/organization'.

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?

States a specific verb+resource: setting/proposing an organization's revenue share within an alliance, and clarifies the two modes (self-owned direct effect vs franchise pending acceptance). It does not explicitly name the sibling propose_organization_alliance_share to differentiate, but the dual-mode framing makes the operation's scope unambiguous.

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 precondition: login required, alliance leader with managePolicy only, and instructs the agent to first read the subordinate organization's share and relation. It stops short of naming alternatives or exclusions, so it is context-rich but not fully 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