Skip to main content
Glama

revoke_unused_agent_api_keys

Destructive

Revoke all unused API keys

Revokes every live lasoak_ API key on the account that no agent has used yet: never exchanged at agentAuth and never used to connect, the keys the dashboard lists as "Has not signed in yet". The same action as Revoke all on the dashboard. Keys any agent has used are left alone. A key you just issued and have not used yet counts as unused, so do not call this while a new agent is still setting up.

Free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "revoke_unused_agent_api_keys"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is supplied. The description still adds real value by stating exactly what is destroyed (only never-used keys) and warning about the freshly-issued-key trap, plus a cost note. It stops short of stating irreversibility or whether revocation can be undone, which keeps it at an add-on level rather than fully rich.

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?

The scope lands in the first clause and the caution arrives before the call is made; the dashboard equivalence and 'Free' note are short and each carry actionable information. No sentence is filler.

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?

With a 0-parameter schema, an output schema, and full destructive annotations, the only missing piece an agent would need is what 'unused' means and when not to fire — both are covered. Nothing required to call it safely is absent.

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?

There are zero parameters, so the baseline is 4. The description's 'on the account' framing confirms the implicit account-wide scope, which is the only semantic question a parameterless destructive call raises.

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?

The description names a specific verb (revoke) and a precisely scoped resource (every live `lasoak_` key never exchanged at `agentAuth` and never used to connect). It defines the key qualifier 'unused' operationally and states 'Keys any agent has used are left alone,' which cleanly separates it from the singular key-revocation sibling.

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 gives an explicit exclusion condition: 'do not call this while a new agent is still setting up,' anchored to the fact that a freshly issued key counts as unused. It also maps the action to the dashboard's 'Revoke all' button, but it never names a sibling tool (e.g. the single-key revoke) as the alternative for narrower scope.

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