Skip to main content
Glama

Revoke invitation

revoke_invitation
DestructiveIdempotent

Delete an invitation from the current organization, pending or declined, so its link stops working and its prepared profile grants go with it. Admin only (403). Irreversible: confirm with the user first; to invite them again use create_invitation. An unknown or already-revoked id returns 404. Returns {revoked: 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": {
      "id": "<id>"
    },
    "name": "revoke_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe invitation's id (UUID) from list_invitations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

The annotations already declare destructiveHint=true and idempotentHint=true; the description goes further by spelling out the blast radius (invite link invalidated, prepared profile grants removed), the authorization failure mode (403 admin only), the irreversibility warning, and the 404 on unknown or already-revoked ids — consistent with idempotency. This is 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.

Conciseness5/5

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

Four short sentences, front-loaded with the action and effect, then the admin constraint, then the safety warning and alternative, then error/return behavior. Every sentence supplies information an agent needs; nothing is padded.

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 one-parameter destructive mutation with no output schema, the definition covers authorization, reversibility, side effects, error responses, and the return shape `{revoked: id}`. Nothing material is missing for correct invocation.

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?

There is a single parameter with 100% schema description coverage that already says it is the invitation's UUID from list_invitations. The description adds no syntax, sourcing, or format detail beyond the schema, so the high-coverage baseline of 3 applies.

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 (delete/revoke) and resource (invitation), plus the exact scope: invitations that are pending or declined in the current organization. It also names the concrete effect (link stops working, prepared profile grants removed), which lets an agent distinguish it from invite-management siblings like create_invitation at a glance.

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?

Explicitly conditions use: admin only, irreversible so confirm with the user first, and route to create_invitation if the intent is to re-invite. The pending/declined scoping also implicitly excludes accepted invitations, so the agent knows when not to call it.

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