Skip to main content
Glama

Sign out chat session

stack_revoke_mcp_session
Destructive

Sign one chat session out (family_id from stack_list_mcp_sessions). The client's tokens stop working on its next call. Revoking the session this chat uses ends this chat's access.

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": {
      "family_id": "<family_id>"
    },
    "name": "stack_revoke_mcp_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
family_idYesSession family id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered; the description still adds real behavior the annotations cannot convey — that tokens fail on the *next* call rather than instantly, and that self-revocation terminates the current chat's access. That delayed-effect timing and self-harm warning are exactly the context an agent needs before invoking a destructive call.

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

Conciseness5/5

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

Three short sentences: identity of the action, its effect, and the dangerous case, ordered front-to-back with zero filler. Nothing is repeated from the title or the schema.

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 one-parameter destructive mutation with no output schema, the description covers what it does, what the effect is, where the ID comes from, and the main hazard, which is close to sufficient. It is silent on irreversibility (whether a revoked session can be restored) and on permission requirements for revoking another party's session.

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 only one parameter, so baseline would be 3-4; the description adds provenance by tying family_id to stack_list_mcp_sessions, which tells the agent how to obtain a valid value rather than just its type. It adds no format or edge-case detail beyond that, so not a 5.

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 ('Sign ... out') and an explicitly scoped resource ('one chat session'), which separates it from the many stack_revoke_* siblings. It also names stack_list_mcp_sessions as the source of the identifier, so an agent knows exactly what to sign out and where the ID comes from.

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?

Gives a clear selection signal (fetch family_id via stack_list_mcp_sessions) and a strong when-not-style caveat: revoking the session this chat uses ends this chat's access. It does not explicitly contrast with the sibling stack_revoke_session for non-chat session types, which keeps it short of a 5.

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.