Skip to main content
Glama

Ferrite

Confirm a token rotation

confirm_token
DestructiveIdempotent

Confirm a prepared rotation: present the NEW token from rotate_token as your bearer -- the Authorization header, or the token argument on a connection that sends no header (beside a header still carrying the old token it is refused as a conflict). It becomes live and the token it replaces stops working. Safe to repeat.

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

Input Schema

NameRequiredDescriptionDefault
tokenNofallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint and idempotentHint, but they do not say what is destroyed; the description supplies exactly that ("the token it replaces stops working") plus the bearer-auth requirement and the header/token conflict rejection. "Safe to repeat" restates idempotentHint but the surrounding disclosure of effect and refusal mode goes well beyond the annotation set.

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 and keeps to three short sentences with no filler. The middle sentence stacks a nested parenthetical about the conflict case, which is dense on first read but carries real 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-optional-parameter mutation with no output schema, the description covers the prerequisite, the auth mechanics, the destructive effect, and repeat safety. It does not mention whether a prepared rotation can expire or how to recover from a failed confirm, which are the remaining gaps for this complexity level.

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%, so the baseline is 3, but the description adds which value to supply (the NEW token from rotate_token, not the old one) and frames the argument as a fallback path relative to the Authorization header. The conflict condition largely mirrors the schema text, keeping it below 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 and resource ("Confirm a prepared rotation") and anchors it to the sibling step that precedes it ("the NEW token from rotate_token"). An agent can tell this apart from rotate_token purely from the description: one prepares, this one activates.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives the precondition (a rotation must have been prepared), the exact selection rule for the two auth paths (header vs token argument), and a when-not case (omit token when a header is present, since a second differing token is refused as a conflict). The alternative, rotate_token, is named as the source of the input.

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.