Skip to main content
Glama

Revoke an invitation

revoke_invitation
Destructive

Revoke an open invitation by its id (orginv_...). It acts only with the human's agreement: called without confirm it returns confirmation_required and a summary of what it would do, and called with confirm: true it acts.

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": {
      "invitationId": "<invitationId>"
    },
    "name": "revoke_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
invitationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, it discloses the two-phase confirmation protocol and the exact sentinel return ('confirmation_required' plus a summary of the intended effect), which an agent cannot infer from structured fields. That is the critical behavior for invoking a destructive tool safely.

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?

Two sentences, front-loaded with the verb, resource, and id format, followed by the confirmation contract. Every clause carries operational meaning with 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?

For a destructive, single-entity mutation with no output schema, the definition covers identity, safety protocol, and the preview return value. It could add whether revocation is reversible or what happens to the invitee's existing access, but nothing essential to calling it correctly is missing.

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 description coverage is 0%, so the description must carry the load: it explains that invitationId is an 'orginv_...' identifier and, more importantly, that confirm: true is the gate that actually performs the revocation while omission yields a summary preview. The expected-id prefix is largely redundant with the schema pattern, keeping this just under a 5.

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?

The description gives a specific verb and resource ('Revoke an open invitation') plus the identifier namespace ('orginv_...'), which clearly separates it from revoke_api_key and revoke_setup_link. It stops short of naming an alternative or stating scope boundaries explicitly, so sibling differentiation is implicit 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?

It clearly frames the operating condition: the action requires the human's agreement and proceeds only on a second call with confirm: true. There is no explicit when-not guidance (e.g. revoked vs expired invitations, or what to do if the id is stale), so it lacks exclusions but supplies real usage context.

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