Skip to main content
Glama

meterproof

rotate_token

Destructive

Issue a new account token and revoke the one on this request. Show the new token to the human; it is not shown again. Needs the bearer token.

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": "rotate_token"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only flag destructiveHint=true; the description adds the specifics that matter: the token on the current request is revoked (a side effect on existing credentials), the new token is displayed exactly once and "not shown again," and bearer-token auth is required. That goes well beyond what the annotations declare and directly prevents the agent from mishandling an unrecoverable secret.

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 with no filler: the action first, the one-time-display warning second, the auth requirement last. Every clause carries information an agent needs before invoking.

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 zero-parameter, no-output-schema destructive tool, the description covers the essentials: what is created, what is destroyed, that the output is single-shot, and the auth requirement. It omits whether other active tokens or sessions are affected and what a failure looks like, which would be nice but is not blocking.

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?

With zero input parameters the baseline is 4, and the description is consistent with an empty schema. Its mention of "the bearer token" usefully signals that credentials come from the request header rather than a tool argument, avoiding a search for a nonexistent parameter.

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?

"Issue a new account token and revoke the one on this request" gives a specific verb pair (issue/revoke) and an unambiguous resource (account token). It is clearly distinct from read-only siblings such as get_account or generate_config without needing to name them.

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 description implies usage by describing the rotate-and-revoke outcome, and adds the prerequisite "Needs the bearer token," which tells the agent the call must be authenticated. It does not state when to prefer this over alternatives or what happens if the caller lacks a current token, leaving usage largely implicit.

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.