Skip to main content
Glama

独行录 / opcmenu

接受或拒绝组织邀请

respond_organization_invite
Idempotent

【需要登录】本人回应点名邀请;接受立即免审入会、邀请方可见,须先展示组织名/完整协议并明确确认。list_my_organization_invites取inviteId/currentTerms.id;有协议接受须termsVersionId=currentTerms.id且acceptTerms=true,无协议均省略。过期/撤回报organization_member_invite_unavailable;同决定幂等。

Input Schema

NameRequiredDescriptionDefault
acceptYestrue=接受入会,false=拒绝
inviteIdYes邀请 id
acceptTermsNo有协议时必传 true(用户明确同意协议)
termsVersionIdNo有协议时必传:currentTerms.id

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?

The annotations only give idempotentHint and destructiveHint. The description adds substantially more: login is required, accepting bypasses review and becomes visible to the inviter, the user must be shown the full agreement and confirm it, and expired or revoked invites return a specific error code. The '同决定幂等' wording partly repeats the idempotentHint annotation, but it also clarifies that idempotency applies per decision.

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?

It is a compact sequence of sentences that leads with the login gate, then the outcome, then the source of the parameters, and finally the edge cases. No sentence is unnecessary, but the telegraphic compression (semicolon-joined clauses and abbreviations) lowers readability a little.

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 four-parameter mutation with no output schema, it covers auth, prerequisite discovery, conditional parameter rules, and the error case. The one gap is that the decline path does not say whether the inviter is notified or whether other side effects occur, whereas the description does say accept is visible to the inviter.

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 100%, so the baseline is 3. The description still adds value by giving the cross-parameter logic that the schema only states at the level of '有协议时': it says termsVersionId must equal currentTerms.id, and that both optional terms parameters must be omitted when no agreement exists. This is meaning the schema does not convey.

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 clearly states the verb and the object ('本人回应点名邀请') and spells out the two outcomes of accepting: an immediate join without review, and the inviter being able to see the result. It is therefore distinguishable from the many sibling tools with similar names, such as respond_alliance_organization_invitation, respond_activity_invitation, and leave_organization. The one small weakness is that it does not explicitly name those alternative tools by name.

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 states the prerequisite ('需要登录'), shows where the parameters come from ('list_my_organization_invites取inviteId/currentTerms.id'), and gives conditional rules (with an agreement: termsVersionId=currentTerms.id and acceptTerms=true; without one: omit both). It also names the failure case (expired or revoked → organization_member_invite_unavailable). This leaves almost nothing to be inferred before calling the tool.

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