Skip to main content
Glama

ohmyho.st

Revoke Native Auth sessions

native_auth_user_revoke_sessions
DestructiveIdempotent

Revoke the selected user's sessions.

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": {
      "project_id": "<project_id>",
      "environment_id": "<environment_id>",
      "user_id": "<user_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "native_auth_user_revoke_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYes
project_idYes
environment_idYes
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds nothing beyond that: it does not say whether every session/refresh token is invalidated, whether the effect is immediate for live clients, or what permissions are required for a destructive, project-scoped operation.

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?

It is a single front-loaded sentence with no filler or repetition, which is structurally clean. The terseness is a completeness problem rather than a conciseness one, but the sentence is arguably too thin to count as fully well-formed guidance.

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, idempotency-keyed mutation with four required parameters, no output schema, and zero schema descriptions, one sentence is far from sufficient. An agent cannot tell the blast radius of the revocation or how to handle the required idempotency key without digging into the raw schema.

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

Parameters2/5

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

Schema description coverage is 0% across four required parameters, so the description must compensate and largely fails. "The selected user" vaguely implies user_id, but project_id, environment_id, and especially idempotency_key are left entirely unexplained.

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 description pairs a specific verb ("Revoke") with a specific resource ("the selected user's sessions"), so an agent knows this is a session-invalidation operation rather than a user deletion. It does not, however, distinguish itself from siblings such as native_auth_user_suspend or native_auth_user_delete, which also affect a user's access.

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?

There is no when-to-use guidance at all: nothing says whether this is the right call for forcing a logout versus suspending or deleting the account. No prerequisites are stated, and no alternatives are named even though several revoke/suspend siblings exist.

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.