Skip to main content
Glama

FlexYield — blockchain RPC gateway

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as FlexYield — blockchain RPC gateway. If you published it, claim ownership there.

revoke_api_key

DestructiveIdempotent

Revoke one API key of your account by id; calls with that key stop working and the key cannot be restored. Use it when a key leaked or a service is retired; ids come from list_api_keys. Not for pausing a key (set its budget to a small cap with configure_key instead) and not for the key you are calling with unless you hold another. Returns JSON: id, name, revoked_at. Idempotent. Needs your API key.

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": {
      "api_key_id": "<api_key_id>"
    },
    "name": "revoke_api_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_key_idYesThe id of the API key to revoke

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is known. The description adds real value beyond them: the consequence (calls with that key stop working"), irreversibility ("cannot be restored"), and the auth requirement ("Needs your API key"). It stops short of describing side effects on resources bound to the key or any audit/latency behavior, so it sits at solid-but-not-rich against an already-strong annotation set.

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 core action and consequence, and every clause carries information (usage, exclusions, return fields, idempotency). The semicolon-chained packing makes it denser than ideal, but nothing is wasted.

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 one-parameter destructive mutation with no output schema, the description covers return fields (id, name, revoked_at), idempotency, auth needs, and alternatives. An agent has everything required to select and invoke it correctly.

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 100% for the single api_key_id parameter, so the baseline would be 3. The description goes beyond the schema by specifying provenance — "ids come from list_api_keys" — telling the agent where to obtain a valid value before calling.

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?

States a specific verb and resource ("Revoke one API key of your account by id") plus the exact scope (single key, by id). It is clearly distinguishable from list_api_keys and configure_key, which are named in the same paragraph.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use conditions ("when a key leaked or a service is retired") and explicit when-not conditions, routing pausing to configure_key with the budget-cap workaround. It also flags the edge case of revoking the key currently in use unless another is held.

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