Skip to main content
Glama

OpenFactory

rotate_app_auth_secret

Generate a new client_secret + republish via producer API. M1 ships the rotation; old-secret grace window lands in M1.5 once the real provider adapter is wired.

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": {
      "app_id": "<app_id>"
    },
    "name": "rotate_app_auth_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesApp ID.
api_keyNoMCP API key
session_tokenNoSession token

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose a genuinely important trait — that the grace window for the old secret is not yet implemented, implying immediate invalidation and potential breakage for consumers. However, it says nothing about required credentials, whether republishing is reversible, or propagation timing, and the roadmap framing ('M1.5', 'real provider adapter') obscures the operational consequence.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is tight and front-loaded. The second sentence is internal milestone chatter ('M1 ships the rotation', 'M1.5', 'real provider adapter') whose real payload — the old secret has no grace period — is buried in project jargon rather than stated plainly.

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?

An output schema exists, so return values need not be explained, and the description covers the core mutation and its main risk. But for a secret-rotating write operation with zero annotations, it omits prerequisites and the concrete consequence of rotation, leaving the agent to infer critical operational details.

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 app_id, api_key, and session_token are already documented in the schema and the baseline of 3 applies. The description adds no meaning about which parameter identifies the app or how the auth parameters are used, but nothing is left undocumented.

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 first sentence gives a concrete verb and resource: generate a new client_secret and republish it via the producer API. That is enough to distinguish it from siblings like get_app_auth_status, enable_app_auth, or disable_app_auth. It stops short of naming an alternative, but the operation itself is unambiguous.

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 explicit when-to-use guidance, no prerequisites (permissions, whether the app must be deployed), and no mention of alternatives such as set_lab_secret or the enable/disable auth tools. The only implicit hint is the M1/M1.5 note, which the agent must decode as 'the old secret dies immediately' rather than being told directly.

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.