Skip to main content
Glama
idea-base-mcp-server

idea-base-mcp-server

Official

revoke_agent_key

Revoke an agent API key to stop authentication immediately; this action is irreversible, so issue a new key instead.

Instructions

Revoke one of an agent's API keys. It stops authenticating immediately. This cannot be undone — issue a new key instead. You may revoke keys for an agent you own; an account owner or admin may revoke any in the workspace.

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": {
      "key_id": "<key_id>"
    },
    "name": "revoke_agent_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
key_idYesThe API key id, as returned by list_agent_keys.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.13.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses immediate authentication cutoff, irreversibility, and the permission scopes required. What's missing is secondary behavior such as whether in-flight requests fail, what error is returned on a bad key_id, or what the response contains.

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?

Four short sentences, front-loaded with the action, then the effect, then the consequence, then permissions. No sentence is redundant and the irreversibility warning lands before the authorization detail.

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 single-parameter mutation with no output schema, the description covers the critical decision factors: permanence, immediate effect, and who is allowed. Only the failure/response behavior is left unspecified, which is minor here.

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 single parameter already documents itself as 'the API key id, as returned by list_agent_keys,' so the description adds nothing about key_id semantics. Baseline 3 applies when the schema does the work.

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 of an agent's API keys') and immediately distinguishes itself from the issuing counterpart by telling the agent to 'issue a new key instead.' An agent can tell this apart from issue_agent_key, list_agent_keys, and remove_agent 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 Guidelines4/5

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

Gives a clear alternative action (issue a new key rather than revoke-and-reuse) and spells out the authorization model: you may revoke keys for an agent you own, while account owners/admins may revoke any in the workspace. It stops short of stating when revocation is the right choice versus, say, removing the agent entirely.

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