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

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations (idempotentHint, destructiveHint, openWorldHint) by disclosing that acceptance grants instant membership visible to the inviter, that the caller must be authenticated, that expired/withdrawn invites surface organization_member_invite_unavailable, and that repeated identical decisions are idempotent. This is exactly the extra context annotations cannot carry.

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?

Front-loads the login requirement and confirmation duty, then organizes the rest under clearly labeled buckets (chain, pitfalls). Dense but every line carries actionable information; the bracketed formatting is heavier than strictly necessary but not wasteful.

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 mutating tool with no output schema, it covers everything needed to invoke correctly: authentication, prerequisite chain, conditional parameters, failure mode, and idempotency, plus a safety requirement to confirm with the user first.

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 adds genuine conditional logic the schema only states per-field: with an agreement both termsVersionId=currentTerms.id and acceptTerms=true are mandatory, and without one neither may be passed. That coupling of parameters is real added value.

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: respond to a 'organization named invite' as oneself, with the outcome spelled out (accept = immediate membership, no review). This clearly separates it from generic invitation responders, though it never explicitly contrasts itself with close siblings like respond_alliance_organization_invitation or respond_collaboration_invite.

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 the full when-to-use context: login required, must read the organization name (and agreement, if any) to the user and obtain explicit confirmation before calling. It also names the precondition tool (list_my_organization_invites) and the exact upstream data needed (inviteId, currentTerms.id), leaving nothing to inference.

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