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.7/5.0
Behavior5/5

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

Adds important behavior beyond annotations: login required, acceptance joins immediately without review and is visible to the inviter, explicit user confirmation is required, agreement conditions apply, and expired/revoked invites return organization_member_invite_unavailable. It does not contradict any annotation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads login requirement and action, then organizes combo-chain and pitfall details into labeled sections. Dense but every sentence provides actionable or cautionary information.

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?

No output schema exists, so the description need not explain return values. It covers prerequisites, required user confirmation, terms conditions, error case, and idempotency, making it complete for this mutation tool.

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, but the description adds conditional semantics: pass termsVersionId=currentTerms.id and acceptTerms=true only when the organization has an agreement, pass neither otherwise, and obtain currentTerms.id from list_my_organization_invites.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description states a specific verb and resource: respond as oneself to a pointed organization invitation, with accept meaning immediate joining and decline as the alternative. It distinguishes from other respond_* siblings by scoping to 组织点名邀请 and ties to list_my_organization_invites.

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?

Provides clear usage context: call after list_my_organization_invites to get inviteId and currentTerms.id, and confirm the organization/agreement with the user before calling. It also states conditional terms handling and expired/revoked errors, but does not explicitly contrast with sibling tools such as preview_organization_invitation.

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