Skip to main content
Glama

New secret for an AI app sign-in

rotate_sign_in_client_secret
Destructive

Replaces a sign-in's secret and answers the new one once (give it to the person straight away, to paste into the app). For about a minute the app can still use the old one and the new one may not work yet. People already signed in stay signed in. Owners and admins only.

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": {
      "client_id": "<client_id>"
    },
    "name": "rotate_sign_in_client_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
client_idYesThe sign-in's Client ID (list_sign_in_clients gives them).
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, and the description goes well beyond that: the secret is returned exactly once, there is roughly a one-minute overlap where both old and new secrets may work, and existing user sessions are unaffected. Those are precisely the propagation and irreversibility facts an agent cannot infer from structured fields.

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, no filler, and the highest-stakes fact (copy the new secret immediately) is front-loaded. Each sentence delivers a distinct operational fact: return value, timing window, session impact, permissions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description correctly tells the agent what comes back (the new secret, once) and when it becomes usable, plus the permission gate and session behavior. Nothing an agent needs in order to call this safely is missing.

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?

All parameters have schema descriptions at 100% coverage, including where client_id comes from (list_sign_in_clients) and when to omit workspace_id, so the schema carries the load. The description adds nothing about parameter meaning or format, making the baseline 3 appropriate.

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 ('replaces') plus resource ('a sign-in's secret') and adds the distinctive return behavior ('answers the new one once'), which separates it from the sibling rotate_webhook_secret by resource alone. An agent can identify the operation without opening the schema.

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

Usage Guidelines4/5

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

Gives operational guidance the caller needs: hand the new secret over immediately for pasting into the app, and only Owners/Admins may invoke it. It stops short of naming an explicit alternative or when-not condition (e.g. prefer rotate_webhook_secret for webhooks), so it is clear context rather than full routing.

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.

Resources