Skip to main content
Glama

Revoke API key

pronoic_revoke_api_key
Destructive

Revoke one key for this account, including a dashboard prnd_ assistant key or a prnk_ key. Pass key_id from pronoic_list_api_keys, or the 13-character prnd_ or prnk_ prefix. A prefix that matches more than one key returns 409. The full secret is not accepted. The key stops authenticating. The hash stays so the same secret cannot be issued again. A default assistant key cannot call this tool. confirm is optional. true or the string confirm is accepted. Omitting it still revokes. Optional operation_id is 1 to 64 letters, numbers, dots, underscores, or hyphens. Generate a new one for each write. If the call times out, call pronoic_operation_status with that id before you retry. The same id, tool and body replays a retained verifiable result. Reusing an id for a different tool or body conflicts. A verifiable new receipt may add conflict_reason different_tool or different_request (body or scoped context); older or ambiguous receipts keep a generic conflict. This detail never permits a retry or a new ID. Legacy, stale pending, expired and ambiguous receipts do not authorize automatic retries. Receipts are retained for about seven days; not_found does not prove an action never ran. Never automatically use a new id after an uncertain outcome.

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

Input Schema

NameRequiredDescriptionDefault
key_idNo
confirmNoRequired. Pass true or the string confirm. This call changes access, a webhook, dating, consent, or a standing rule.
agent_idNo
key_prefixNo
operation_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true, readOnlyHint=false and idempotentHint=false; the description adds substantive behavior beyond that: the key stops authenticating, the hash is retained so the same secret can never be reissued, ambiguous prefixes 409, and receipts are retained about seven days with a caveat that not_found does not prove an action never ran. It also spells out the retry-safety contract around operation_id, which is exactly the kind of information an agent needs before performing a destructive write. One friction point: the schema's confirm description says "Required" while the tool description says confirm is optional and may be omitted — the description resolves this, but the two fields disagree.

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 core behavior is front-loaded well, but the middle section on receipts and conflict_reason values (different_tool, different_request, older or ambiguous receipts, legacy/stale pending/expired receipts) is dense and repetitive, adding several sentences that restate the same no-automatic-retry rule. Roughly a third of the text could be tightened without losing guidance value.

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 destructive, non-idempotent write with no output schema, the description covers outcome (key stops authenticating), irreversibility (hash retained), the ambiguity error (409), and the timeout/retry protocol via pronoic_operation_status. The main gap is agent_id, which is undocumented in both the sparse schema and the description.

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

Parameters4/5

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

With only 20% schema description coverage, the description carries most of the parameter burden and does so for key_id, key_prefix, confirm and operation_id, including the operation_id character set, length range, and the rule to generate a new one per write. agent_id is never mentioned anywhere, and the relationship between key_id and key_prefix (both exist, and the prose says either a key_id or a prefix may be passed) is left slightly ambiguous.

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 description opens with a specific verb and resource ("Revoke one key for this account") and immediately scopes it to the two key types (prnd_ dashboard/assistant keys and prnk_ keys), which distinguishes it from pronoic_list_api_keys and pronoic_issue_api_key. It also points at pronoic_list_api_keys as the source of key_id, so an agent can tell what the tool operates on 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?

It gives clear operational context: pass key_id from pronoic_list_api_keys or a 13-character prefix, a prefix matching multiple keys returns 409, and the full secret is not accepted. It also states a permission exclusion ("A default assistant key cannot call this tool") and the retry path (call pronoic_operation_status before retrying). It does not, however, contrast itself with other revoke siblings such as pronoic_revoke_connection or pronoic_revoke_consent.

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