Skip to main content
Glama

Revoke a coin key

revoke_coin_key
DestructiveIdempotent

Ends one of your coin keys now, as the coin page's Developers dialog does: { ok }. It is refused from then on and its webhook stops; it can't be made live again. id is the key's id, as create_coin_key answered it (GET /api/v2/me/coinkeys lists your keys with their ids). Works whatever the coin API's switch, so a leaked key can always be ended. 404 for an id that is not one of your live keys. Takes the token from sign_in, as token or as the request's Authorization: Bearer header.

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": {
      "id": "<id>"
    },
    "name": "revoke_coin_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe key's id (create_coin_key's id).
tokenNoThe token sign_in gave. Not needed when the request sends it as Authorization: Bearer <token>.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the destructiveHint/readOnlyHint annotations, it discloses the consequences the annotations cannot express: the key is refused from then on, its webhook stops, it cannot be made live again, and it bypasses the coin-API switch. It also documents the 404 failure mode for an id that is not a live key and the auth source, which is exactly the behavioral context needed for an irreversible operation.

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?

Front-loaded with the action and its irreversible consequence, then prerequisites, error case, and auth — a sensible ordering with little waste. The leading '{ ok }' fragment is cryptic and slightly interrupts the opening sentence.

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?

For a destructive, two-parameter mutation with no output schema, the description covers irreversibility, side effects (webhook stop), scope enforcement, the error case, and credential sourcing. An agent has everything it needs to call this correctly and safely.

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 100% and the schema already explains that id comes from create_coin_key and that token can be supplied via the Authorization: Bearer header, so the description mostly restates it. The one genuine addition is the GET /api/v2/me/coinkeys listing endpoint as a way to discover ids, which is marginal value over a fully documented schema.

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?

'Ends one of your coin keys now' gives a specific verb (ends) and resource (coin key) with scoping ('one of yours'), and the Developers-dialog analogy plus the create_coin_key cross-reference makes its role unambiguous against siblings like create_coin_key, sign_in, or get_coin.

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 implies the use case (ending a key) and supplies the prerequisite for obtaining the id, including a discovery path via GET /api/v2/me/coinkeys. It also states the key selling point — it works regardless of the coin API's switch, so a leaked key can always be terminated — but it does not explicitly name any alternative tool or a when-not-to-use condition.

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