Skip to main content
Glama
Firenook

Firenook

Official

auth_revoke_tokens

Destructive

Revoke refresh tokens for Auth emulator users by moving validSince to now, forcing existing sessions to sign in again.

Instructions

Revoke an Auth emulator user's refresh tokens (validSince moves to now), so its existing sessions must sign in again.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "auth_revoke_tokens"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidNoAccount id
uidsNoSeveral account ids (instead of uid)
tenantNoTenant id; omit for a project-level user

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, readOnlyHint=false, and idempotentHint=false, and the description usefully adds the actual effect: validSince is bumped to now and existing sessions must re-authenticate. It stops short of noting what remains valid (e.g. already-issued ID tokens) or whether the call is safe to repeat, which would have made it a 5.

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?

A single sentence with the effect front-loaded and a compact parenthetical explaining the mechanism; there is no redundant or filler text.

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 three-parameter, zero-required-parameter destructive tool with no output schema, the description explains the outcome well but leaves a real ambiguity: what happens when neither uid nor uids is supplied (revoke for everyone?). It also says nothing about the return value or partial-failure behavior, which matters for a destructive bulk 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%, so uid, uids, and tenant are already documented in the schema and the baseline of 3 applies. The description adds no meaning about the uid-vs-uids choice or what an omitted tenant means beyond what the schema states.

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 names a specific verb (Revoke), resource (refresh tokens), and target (an Auth emulator user), plus the mechanism (validSince moves to now). It is clearly distinguishable from siblings like auth_disable_user or auth_delete_user because it only invalidates sessions rather than the account, though it never names an alternative explicitly.

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?

The clause 'so its existing sessions must sign in again' implies the use case (force re-authentication) without stating when to prefer this over auth_disable_user or auth_mint_token. There are no explicit when/when-not rules or prerequisites, leaving the agent to infer the choice.

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