Skip to main content
Glama

Revoke key and delete data

revoke_key
Destructive

Revoke the key and permanently delete all data stored under it. Requires confirm=true.

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": {
      "confirm": "<confirm>"
    },
    "name": "revoke_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoScoring key; omit when sent as x-kyde-key header.
confirmYes

Output Schema

NameRequiredDescriptionDefault
revokedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "revoked": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "revoked"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known; the description adds real value by scoping the destruction ('all data stored under it') and stating the confirmation gate the agent must satisfy before invoking. It does not cover whether revocation is reversible, whether in-flight operations fail, or auth requirements, but with output schema present and annotations covering safety, that is a modest gap.

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?

Two short sentences, zero filler, with the irreversible effect front-loaded ahead of the prerequisite. Nothing could be removed without losing decision-relevant information.

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 two-parameter destructive tool, the definition covers the action, its blast radius, and the confirmation requirement, and the output schema handles return values. It stops short of stating whether the key can be recreated afterward or what error surfaces when confirm is false, but nothing essential to calling it correctly is missing.

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?

Schema coverage is only 50%: the key parameter is documented in-schema (including the x-kyde-key header alternative) but confirm is a bare boolean. The description compensates precisely where the schema is silent, stating that confirm must be true rather than merely present, which is the non-obvious semantic an agent needs to avoid a wasted call.

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 ('Revoke the key') plus the material consequence ('permanently delete all data stored under it'), which is far more informative than the title alone. It never names or distinguishes itself from siblings like create_key or claim_key, so an agent must infer the lifecycle relationship.

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 only implied: the description makes clear this is the terminal, destructive step for a key but gives no explicit when-to-use/when-not guidance or pointer to create_key/claim_key as the alternatives for the non-destructive paths. The 'Requires confirm=true' prerequisite is the only procedural guidance offered.

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