Skip to main content
Glama
ProofHoldings

@proof-holdings/mcp-server

Official

revoke_auth_session

Destructive

Revoke a specific authentication session by ID to terminate access. API keys can revoke any session; JWTs cannot revoke the current one.

Instructions

Revoke a specific authentication session by ID. When called via JWT, cannot revoke the current session. When called via API key, any session can be revoked.

ACCESS: needs a Proof account. Set PROOF_API_KEY and restart this server, then call this tool again. start_login does NOT open this tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesSession ID to revoke

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, destructive operation, so the safety profile is covered. The description adds real context beyond that: the JWT vs API-key revocation constraint and the Proof account / PROOF_API_KEY access requirement. It stops short of stating whether revocation is reversible or what the response returns.

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?

Front-loads the core action, then the auth-method constraint, then access requirements. The ACCESS block is slightly boilerplate but every sentence carries actionable information.

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

Completeness4/5

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

For a single-parameter destructive tool with annotations covering the safety profile, the description supplies the missing behavioral and access context. No output schema exists, but the return value is not something an agent strictly needs here.

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% with a single self-explanatory parameter (session_id). The description only restates 'by ID' and adds no format or sourcing detail beyond the schema, so the baseline 3 is appropriate.

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: 'Revoke a specific authentication session by ID.' The resource (auth session) is distinct enough from siblings like revoke_proof, revoke_api_key, and revoke_delegation to be identifiable, though it never explicitly names a sibling to contrast with.

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?

Provides concrete operational guidance: JWT callers cannot revoke the current session, while API-key callers can revoke any session. This is meaningful when-to-use context, but it doesn't mention finding session IDs (e.g., via list_auth_sessions).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools