Skip to main content
Glama
ProofHoldings

@proof-holdings/mcp-server

Official

revoke_api_key

Destructive

Revoke an API key by ID to permanently disable it. Requires Proof account authentication and 2FA verification before execution.

Instructions

Revoke an API key by ID. The key will immediately stop working. This action cannot be undone.

Agent usage: This operation requires 2FA. Before calling, complete the 2FA flow: (1) call start_2fa with action_type "api_key_revoke", (2) wait for user to verify the code, (3) poll get_2fa_status until "verified", (4) then call revoke_api_key.

ACCESS: needs a Proof account. Set PROOF_API_KEY and restart this server, or sign in with start_login — a session opens this tool — then call this tool again.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesAPI key ID to revoke

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description goes well beyond them: it states the effect is immediate, that it is irreversible, that 2FA is mandatory, and which account/session state is required. That is rich behavioral disclosure that changes how an agent plans the call.

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 purpose and irreversibility, then clearly labeled "Agent usage" and "ACCESS" blocks. The auth flow is worth its length, though the generic server-level ACCESS paragraph (env var setup, restart) reads as boilerplate that may be repeated across every tool in this server.

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 one-parameter destructive tool this covers purpose, irreversibility, and the full 2FA/auth prerequisite chain. The only omission is any indication of what a successful revoke returns, which is minor given the absence of an output schema.

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?

There is a single parameter (id) whose schema description coverage is 100% ("API key ID to revoke"). The description's "by ID" adds nothing beyond the schema, so the baseline 3 is appropriate.

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 (revoke), resource (API key), and lookup key (by ID), then immediately clarifies the effect: the key stops working at once. An agent can distinguish this from create_api_key, regenerate_api_key, and list_api_keys without opening any schema.

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?

Explicitly lays out the required precondition sequence — start_2fa with action_type "api_key_revoke", user verification, polling get_2fa_status until "verified", then this call — and adds an access precondition (Proof account / start_login session). This is exactly the when-and-how-to-use guidance an agent needs before invoking.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools