Skip to main content
Glama

Rotate an event-signing credential

rotate_event_credential

Performance ads. Replaces the secret and the postback token of a credential and returns the new ones, shown once. The old ones keep working for grace_hours (24 unless given, 0 to 168).

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": {
      "credential_id": "<credential_id>"
    },
    "name": "rotate_event_credential"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoThe API key of the account (can_live_...). Optional when this MCP connection sends it as the Authorization: Bearer header.
grace_hoursNo
credential_idYesThe id of an event-signing credential (crd_...), from create_event_credential or list_event_credentials.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Adds real context beyond the annotations: the new secret and postback token are returned once, and the old ones remain valid for a grace period of 24 hours by default (0–168). This is exactly the kind of irreversible-visibility detail annotations cannot convey. It does not say what happens after grace expires or what permissions are required, keeping it below 5.

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?

Three compact sentences with the core mutation and its consequence front-loaded. The leading fragment 'Performance ads.' is ambiguous and adds no operational value, which is the only wasted text.

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 3-parameter mutation with no output schema, the description covers what is returned (new secret and token, shown once) and the old-credential validity window. Only permission requirements and post-grace behavior are absent, which are minor for a callable-now definition.

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 coverage is 67%; credential_id and api_key are documented in the schema, but grace_hours has no schema description. The description compensates by giving its default (24) and range (0–168), which is the key missing meaning. Baseline 3 applies since most parameter meaning is already structured.

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?

States a specific verb and resource: 'Replaces the secret and the postback token of a credential and returns the new ones.' An agent can distinguish this from create/revoke/list siblings by the rotation semantics. It never explicitly names those siblings, so it stops short of a 5.

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?

Usage is implied rather than stated: rotation of an existing credential (crd_... from create_event_credential or list_event_credentials). There is no explicit guidance on when to rotate versus revoke-and-recreate, and no stated preconditions or exclusions. The grace-window detail helps an agent reason about timing but is behavioral, not routing guidance.

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