Skip to main content
Glama

Accept or decline an invite

respond_invite
Idempotent

Accept or decline an invitation that was addressed to you (see list_invites with direction received).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
invite_idYes
idempotency_keyYesAny unique string you make up for this action, 8-128 characters (a UUID works). Reuse the same key only to retry this exact call.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupNo
inboxNo
membershipNo
suggested_nextYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare the safety profile (mutation, idempotent, non-destructive, closed-world), so the bar is lower. The description adds the ownership scoping constraint ('addressed to you'), but says nothing about the side effects of accepting (e.g. joining a group) or failure modes. Adequate but not rich.

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?

A single sentence with the core verbs front-loaded and the navigation hint in a trailing clause. No filler.

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?

An output schema exists so return values need no explanation, and idempotency is documented in the schema. The main remaining gap is what accepting actually does downstream, but for a 3-parameter tool the definition is nearly sufficient.

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 33%, so the description must carry weight; it only implies the action enum values via 'accept or decline' and says nothing about invite_id format or idempotency_key reuse. The remaining semantics are left entirely to the schema.

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?

States a specific verb pair (accept/decline) and a specific resource (invitation addressed to you), which cleanly separates it from create_invite, revoke_invite, and list_invites. An agent can identify the operation without opening the schema.

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?

The parenthetical routes the agent to list_invites with direction received as the way to obtain the invite, giving a clear precondition. It stops short of stating when-not to use it (e.g. that revoke_invite handles invites you sent rather than received), so it is clear context rather than full exclusions.

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.