Skip to main content
Glama

revoke_invitation

Withdraw a pending invitation. Caller must be owner or admin in the org. Terminal and seatless, since a revoked invitation never created a membership. The emailed token stops resolving immediately. Mirrors DELETE /v1/orgs/{id}/invitations/{invitation_id}.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "org_id": "<org_id>",
      "invitation_id": "<invitation_id>"
    },
    "name": "revoke_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
org_idYes
invitation_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/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: it discloses the required role, that the operation is terminal, that no seat is consumed, and that the emailed token stops resolving immediately. It does not state what happens if the invitation was already accepted or already revoked, which is the main remaining behavioral gap.

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?

Four short sentences, front-loaded with the action, then authorization, then semantics, then API mapping. Every sentence adds distinct information with no repetition of the name.

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 two-parameter mutation with an output schema present, the description covers action, permission requirements, terminality, and side effect on the emailed token. Only the error/duplicate-revocation behavior is left undisclosed.

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 description coverage is 0% and both parameters are bare UUID strings, so the description must compensate. The endpoint mapping and the 'owner or admin in the org' clause loosely tie org_id to the organization and invitation_id to the invitation, but neither parameter's format, sourcing, or failure mode is explained.

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 ('Withdraw a pending invitation') and pins the object to an org invitation via the 'DELETE /v1/orgs/{id}/invitations/{invitation_id}' mapping, which implicitly separates it from revoke_board_invitation. It never names the sibling it is easily confused with, so the differentiation is inferred rather than stated.

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?

'Pending invitation' plus 'never created a membership' makes clear when the tool applies: only invitations that have not yet been accepted. Authorization context ('Caller must be owner or admin in the org') is given, but no alternative is named for accepted invitations or for board-level invitations.

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