Skip to main content
Glama

独行录 / opcmenu

移出联盟成员(用户确认后执行)

remove_alliance_staff

【需要登录】须联盟管理能力;移出管理员要盟主,盟主不可移出,全部由联盟服务校验。先 get_alliance_workbench 核实人和角色,确认移出联盟及撤销全部联盟进驻访问后执行;当事人会收到通知。userId 是人的 id,不是成员关系 id。本人退出可用 leave_organization,organizationId 从 list_my_spaces 的联盟项拿。

Input Schema

NameRequiredDescriptionDefault
userIdYes
allianceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does well: login required, alliance-management capability required, role constraints (leader required for admin removal, leader immutable), server-side validation by the alliance service, access revocation as a side effect, and a notification sent to the affected person. What is left implicit is irreversibility/undo and what happens when validation fails, so it falls short of the 5 it would otherwise earn.

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?

The login/permission gate is front-loaded and the body is dense but purposeful: preconditions, role rules, consequences, parameter caveat, and alternative tool. It runs long as one block and the trailing leave_organization sentence could be trimmed or moved, but no sentence is redundant filler.

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

Completeness5/5

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

For a two-parameter destructive mutation with no annotations and no output schema, the description supplies permissions, verification steps, role constraints, side effects, notification, and the sibling alternative — everything needed to decide and safely invoke it. Return-value detail is not required since no output schema exists and the tool is a confirm-then-execute action.

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% and the userId property is a bare $ref to the allianceId string shape, so the description's clarification that userId is the person's id rather than the membership-relation id is genuinely load-bearing. allianceId itself gets no explanation of format or where to obtain it, leaving half the parameters unilluminated in both schema and prose.

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 and resource (remove an alliance member, i.e. revoke all alliance access) and disambiguates by role: removing an admin requires the alliance leader (盟主) and the leader themself cannot be removed. It is clearly distinguishable from leave_organization, though the closing sentence mixes in organizationId/list_my_spaces guidance that belongs to a different (organization-scoped) flow and slightly muddies the resource boundary.

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?

Gives an explicit precondition sequence: call get_alliance_workbench first to verify the person and role, then confirm removal plus revocation of all alliance access before executing. It also names the alternative for the self-exit case (leave_organization) with the source for organizationId, which is exactly the when/when-not routing an agent needs.

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