Skip to main content
Glama

wariwari

Revoke an invitation

revoke_invitation
Destructive

Use this to cancel an invitation link, by its token from list_invitations. Admins only.

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

Input Schema

NameRequiredDescriptionDefault
groupTokenYesThe group's token, from `listGroups` or `listSearchResults`.
invitationTokenYesInvitation token.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / groupToken / description
      Added value: +"The group's token, from `listGroups` or `listSearchResults`."
    • addedInput schema / properties / invitationToken / description
      Added value: +"Invitation token."
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false and destructiveHint=true, so the irreversible character of the call is known. The description adds a useful, non-redundant fact — that admin privileges are required — but says nothing about what happens to pending vs. already-accepted invitations or what errors to expect, which matters for a destructive operation.

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 short sentence front-loads the action and appends the token source and the permission constraint. Nothing is redundant with the title or wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter, non-open-world mutation the description covers purpose, token source, and authorization, which is close to sufficient. It is thin on post-condition behavior for a destructive call — whether the link is invalidated immediately, and whether any member state is affected.

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 100%, so both parameters are already documented in the schema. The description adds the provenance of the invitation token (list_invitations) but never mentions groupToken, so it does not meaningfully extend parameter meaning beyond structured data.

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 states a specific verb and resource ('cancel an invitation link') and names the sibling that supplies the token, so an agent can tell it apart from list_invitations and create_invitation. It stops short of explicitly contrasting with other destructive membership operations, so it is clear but not maximally differentiated.

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?

'Use this to cancel an invitation link' gives a direct trigger, and 'Admins only' flags the prerequisite before the call is attempted. There is no guidance on when not to use it (for example, invitations already accepted by a member), which keeps it below a 5.

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