Skip to main content
Glama

Revoke workspace invitation

revoke_workspace_invitation
Destructive

Revoke a pending invitation after explicit user confirmation. Administrator only. An accepted invitation belongs to an existing member and requires a member-removal action instead.

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": {
      "invitation_id": "<invitation_id>"
    },
    "name": "revoke_workspace_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmedNoExplicit approval of this exact preview or member action. False never authorizes application.
invitation_idYesPending invitation ID returned by workspace member tools.

Output Schema

NameRequiredDescriptionDefault
revokedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the destructive nature is known; the description adds the non-obvious operational context that an administrator role is required and that user confirmation must precede the call. It stops short of saying whether a revoked invitation can be re-issued or what the response reports, which keeps it below a 5.

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?

Three short sentences, front-loaded with the action and its confirmation gate, followed by permission scope and the disambiguation rule. No sentence is redundant or padding.

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?

The tool is a simple two-parameter destructive mutation with full schema coverage, annotations carrying the safety profile, and an output schema handling return values. The description covers the remaining unknowns an agent needs: role requirement, confirmation gating, and the pending-versus-accepted distinction.

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 100%, and invitation_id and confirmed are both documented in the schema, so the baseline is 3. The description reinforces that the confirmation must be explicit but adds no format, sourcing, or validation detail beyond what the schema already states.

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?

The description states a specific verb and resource ("Revoke a pending invitation") and immediately scopes it to the pending state, which separates it from member-removal behavior. It even explains that an accepted invitation is a different object requiring a different action, so an agent can distinguish this from remove_workspace_member without reading either schema.

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?

It gives an explicit precondition (explicit user confirmation), a permission gate (administrator only), and a when-not rule with the alternative direction (accepted invitations require a member-removal action instead). That covers when to use, when not to use, and where to go instead.

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.