Skip to main content
Glama

Revoke Own Session

revoke_own_session
DestructiveIdempotent

Widerruft eine eigene Login-Session anhand ihrer 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": {
      "session_id": "<session_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "revoke_own_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_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

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, readOnlyHint=false and openWorldHint=false, so the safety profile is covered structurally. The description adds nothing beyond them: it does not say whether the session is invalidated immediately, whether revoking the current session logs the agent out, or that the action is irreversible. It does not contradict the annotations, but it carries no extra behavioral weight.

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?

A single efficient sentence with no filler, but it is under-specified rather than tight – the brevity comes at the cost of the behavioral and usage context an agent would need.

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

Completeness2/5

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

For a destructive, idempotent mutation the description should explain effects and preconditions, but it stops at restating the operation. An output schema exists so return values need not be described, yet the missing information about session invalidation and the self-revocation case leaves the definition incomplete.

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 only 50%: idempotency_key is fully documented in the schema, while session_id has no description. The phrase 'anhand ihrer ID' partially compensates by confirming that the identifier selects the session, but it gives no format, source, or constraint details for session_id.

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 Login-Session anhand ihrer ID' (revokes one's own login session by its ID). The qualifier 'eigene' scopes it to the caller's own sessions, distinguishing it from admin-style revocation, but it never names or contrasts the sibling revoke_mcp_connection, so an agent must infer which revoke tool applies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides no when-to-use guidance, no prerequisites, and no mention of alternatives such as revoke_mcp_connection. The agent is left to infer that this is for ending one's own login session, with no exclusions stated.

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.