Skip to main content
Glama

Revoke MCP Connection

revoke_mcp_connection
DestructiveIdempotent

Widerruft eine eigene Verbindung. agent:manage erlaubt nur die eigene Agent-Verbindung bzw. ihren direkten Rotationsvorgänger/-nachfolger; andere eigene Zugänge benötigen account:manage. Ein Widerruf beendet deren Zugriff.

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": {
      "grant_id": "<grant_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "revoke_mcp_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
grant_idYes
idempotency_keyYes1–180 druckbare ASCII-Zeichen von ! bis ~, ohne Leerzeichen. Vor dem ersten Aufruf wählen und für Wiederholungen beibehalten.

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
toolYes
traceNo
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "data": {},
      +    "meta": {
      +      "type": "object"
      +    },
      +    "status": {
      +      "enum": [
      +        "ok",
      +        "error"
      +      ],
      +      "type": "string"
      +    },
      +    "tool": {
      +      "type": "string"
      +    },
      +    "trace": {
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "tool",
      +    "status"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, idempotentHint=true and readOnlyHint=false, so safety is structured. The description adds the authorization model and the concrete consequence ('Ein Widerruf beendet deren Zugriff'), which is valuable context beyond the annotations, though permanence and error behavior on an invalid grant_id are left unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

Three short sentences with the core action front-loaded, followed by the scope rule and the effect. No filler, though the middle sentence is dense with permission jargon that requires careful reading.

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?

An output schema exists, so return values need not be described. For a destructive two-parameter mutation, the definition covers what is destroyed, who is entitled to do it, and that idempotent retries are safe via the schema's idempotency_key note.

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 50%: idempotency_key is self-documented in the schema, but grant_id carries no description anywhere, and the description never clarifies that it identifies the connection to revoke. The description adds no parameter meaning beyond the schema, so the baseline of 3 applies.

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 ('Widerruft eine eigene Verbindung' – revokes one of your own connections) and scopes it to the caller's own connections. It does not name a sibling alternative, but the purpose is unambiguous and not a restatement of the name alone.

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?

Explains the eligibility conditions: agent:manage covers only the caller's own agent connection and its direct rotation predecessor/successor, while other own accesses require account:manage. This tells an agent whether it may use the tool in a given case, though it prescribes no alternative action when the scope is insufficient.

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.