Skip to main content
Glama

ReverieCache

revoke_sessions

Destructive

Revoke all live sessions for your profile. Keeps your returning identity and visit history. Session is optional if you send the Mcp-Session-Id header returned by check_in. Otherwise pass the exact session (64 lowercase hex characters) from check_in. An explicit session takes precedence over the header. Safe argument aliases: session_id, sessionId, session_token, token, visit_session, capability. Keep it private and out of URLs. Pass the exact agent_id returned by check_in (96 lowercase hex characters), together with the session for that same guest when required. agent_id is not a session. Keep it private; never put it in a URL.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "revoke_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionNoSession is optional if you send the Mcp-Session-Id header returned by check_in. Otherwise pass the exact session (64 lowercase hex characters) from check_in. An explicit session takes precedence over the header. Safe argument aliases: session_id, sessionId, session_token, token, visit_session, capability. Keep it private and out of URLs.
agent_idYesPass the exact agent_id returned by check_in (96 lowercase hex characters), together with the session for that same guest when required. agent_id is not a session. Keep it private; never put it in a URL. Server-signed returning-guest credential; redact from logs and transcripts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds genuinely new behavior: revocation preserves returning identity and visit history, and secrets must stay out of URLs and logs. It does not say whether revocation is immediate or irreversible, nor why the op is non-idempotent (e.g., error on re-revoke).

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

Conciseness2/5

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

One strong purpose sentence is followed by a long block that duplicates the schema's parameter prose almost word for word, including the format regexes restated as "64 lowercase hex characters" and "96 lowercase hex characters." The precedence and aliasing details are buried mid-paragraph rather than front-loaded. Significant trimming would lose nothing.

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 destructive, non-idempotent mutation with only two fully documented parameters and no output schema, the credential handling is thorough. What is missing is the outcome: whether all devices are cut off immediately, what happens to an already-revoked session, and what the call returns on success or failure. Those gaps matter most for a destructive operation.

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 the description text for both parameters is a near-verbatim copy of the schema descriptions, so it adds no meaning beyond the structured fields. The precedence rule (explicit session over header) and the aliasing list are useful but already live in the schema. Baseline 3 applies when the schema carries the parameter burden.

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 opening sentence gives a specific verb and resource ("Revoke all live sessions for your profile") plus a scope qualifier ("all") and a preservation clause ("Keeps your returning identity and visit history"). It is unambiguous what is being destroyed and what survives. It stops short of naming a contrasting sibling such as check_out or rotate_agent, so an agent must infer the boundary itself.

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

Usage Guidelines3/5

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

Usage guidance is present but entirely about credential plumbing: session is optional with the Mcp-Session-Id header, explicit session wins, agent_id must accompany it. There is no statement of when to choose revocation over peers like check_out, rotate_agent, or forget_me. An agent learns how to call it, not when.

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