Skip to main content
Glama

revoke_auth_session

Destructive

Sign out one device (session) by ID. Over a signed-in session it cannot end the current one (that is logout). Over an API key it can end any of the account's sessions.

NOT AVAILABLE HERE: This tool is not available on the hosted Proof MCP server: it needs the auth:read or auth:write scope, which the hosted server never grants (an agent holding it could list and sign out the owner's devices). The account owner manages signed-in devices in the dashboard: Settings → Signed-in devices (https://proof.holdings/dev). A local (stdio) Proof MCP server run with an API key that holds the scope can call it.

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>"
    },
    "name": "revoke_auth_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYesSession ID to revoke

Output Schema

NameRequiredDescriptionDefault
messageNo
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "description": "Generic success response",
      +  "properties": {
      +    "message": {
      +      "type": "string"
      +    },
      +    "success": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "success"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the safety profile is covered; the description adds genuinely non-redundant context — the permission scope needed, that the hosted server never grants it, why (an agent could enumerate and sign out the owner's devices), and the dashboard alternative. It does not describe the result of revocation (e.g. token invalidation timing), but an output schema exists, so that gap is minor.

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?

The operative rule (session scope vs. API-key scope) is front-loaded in the first two sentences, and the availability block follows. The NOT AVAILABLE section is long relative to the rest, but each element (scope name, rationale, dashboard path, local stdio workaround) carries distinct information an agent would otherwise have to guess.

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?

For a one-parameter destructive tool with an output schema and destructive annotations, everything an agent needs is present: what it does, the authority difference between session and API-key callers, the permission prerequisite, and the fact that it will fail on the hosted server with a known alternative. Nothing material is left to inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single parameter is described as 'Session ID to revoke', so the baseline is 3. The description adds meaning beyond the schema by framing a session as 'one device' and clarifying the blast radius — that over an API key the ID may be any of the account's sessions, not just the caller's own.

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?

States a specific verb and resource ('Sign out one device (session) by ID') and immediately draws the boundary against the obvious confusion point: ending the current session is 'logout', not this tool. An agent can distinguish this from list_auth_sessions or other revoke_* siblings without opening a 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?

Explicitly states both operating modes: over a signed-in session it cannot end the current one, over an API key it can end any of the account's sessions. It goes further and declares the tool is unavailable on the hosted server, naming the required auth:read/auth:write scope and pointing to the dashboard fallback (Settings → Signed-in devices, with URL).

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.