Skip to main content
Glama

Singularity Dot Com

Rotate my API key

rotate_key

Replace your API key. The new key is shown once; the old one stops working immediately. 3 an hour.

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

Input Schema

NameRequiredDescriptionDefault
api_keyNoYour Singularity API key (sgl_…). Optional if the MCP connection already sends Authorization: Bearer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden well: it discloses the one-time display of the new key, immediate revocation of the old key, and a rate limit of 3 per hour. It omits who is authorized to call it and whether other credentials, sessions, or agents are also invalidated.

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, each carrying a distinct fact: replacement, one-time disclosure, immediate invalidation, plus the rate cap. The most consequential detail, the old key dying immediately, is front-loaded, and there is no filler.

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-parameter, no-output-schema operation, the definition covers the operational essentials: idempotency-free replacement, one-time visibility, immediate revocation, and throttling. What remains missing is where the new key appears in the response and whether re-issuing is possible after loss.

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?

The single api_key parameter is fully documented in the schema, including its sgl_ prefix and its optionality when a Bearer header is present. The description adds nothing about that parameter, so the baseline 3 applies when the schema already does the work.

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?

"Replace your API key" states a specific verb and resource, leaving no ambiguity about what is being acted on. No sibling in this catalog performs anything similar, so the lack of explicit differentiation is harmless rather than a gap.

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 by the consequence: agents can infer that the old key stops working immediately, which is a real decision input for whether to rotate. However, there is no explicit when-to-use, no when-not, and no mention of safer alternatives or of how to recover if the new key is lost.

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