Skip to main content
Glama

Regenerate Caller Tokens (F1)

regenerate_caller_tokens
Destructive

Rotate F1 identity gate secrets to secure agent communication. Use for initial deployment, token leaks, or periodic rotation. Redistribute new tokens to all hosts to prevent rejection.

Instructions

v2.18.0 / F1 (caller capability tokens). Rotate the per-host secret tokens used by the F1 identity gate. OVERWRITES the existing host-tokens.json file (default location: /host-tokens.json; override via CROSS_REVIEW_TOKENS_FILE env var) with freshly generated 256-bit hex secrets — one per agent (codex, claude, gemini, deepseek, grok, perplexity). The MCP response returns only token fingerprints, never plaintext secrets; read the local host-tokens.json file directly when redistributing CROSS_REVIEW_CALLER_TOKEN values. AFTER calling this tool, every MCP host carrying a stale token will start being rejected with identity_forgery_blocked: token does not match any known agent. The operator MUST redistribute the secrets and reload the affected hosts. Use cases: (a) initial deployment after first-boot generation; (b) suspected token leak; (c) periodic rotation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
callerNooperator
response_formatNojson
Behavior5/5

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

Aligned with annotations (destructiveHint=true). Adds details: overwrites existing file, mentions file location and env var override, explains that only fingerprints are returned, and describes the impact of stale tokens. No contradiction.

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?

The description is thorough but each sentence serves a purpose: action, file details, output behavior, post-call effect, use cases. It is front-loaded and well-structured. Slightly verbose but justified given the destructive nature.

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?

Covers behavior, impact, prerequisites, and use cases comprehensively for a destructive credential tool without output schema. Missing parameter descriptions is the only significant gap.

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

Parameters1/5

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

Schema coverage is 0% and the description does not mention any parameters. Both parameters (caller, response_format) are enums with defaults, but their purpose and effect are undocumented. The description fails to add meaning beyond the schema.

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?

The description clearly states the tool's action ('Rotate the per-host secret tokens'), the resource (host-tokens.json), and the context (F1 identity gate). It distinguishes itself from sibling tools which are session/peer management, not credential rotation.

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?

Explicitly lists three use cases: initial deployment, suspected leak, periodic rotation. It also explains the consequence (hosts with stale tokens get rejected) and operator responsibility (must redistribute secrets). Provides clear when-to-use and post-conditions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LCV-Ideas-Software/cross-review'

If you have feedback or need assistance with the MCP directory API, please join our Discord server