Skip to main content
Glama

Revoke an approver key

gate_revoke_approver
DestructiveIdempotent

Invalidate one dedicated approver key immediately; use gate_list_approvers to find its id. Requires the project owner key or an admin member key. A missing or already revoked id returns an error. To restore access issue a new key with gate_create_approver; to revoke a team member use gate_manage_members.

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": {
      "project_id": "<project_id>",
      "admin_key": "<admin_key>",
      "approver": "<approver>"
    },
    "name": "gate_revoke_approver"
  }
}

Input Schema

NameRequiredDescriptionDefault
approverYesThe dedicated approver id from gate_list_approvers; not a member id or key.
admin_keyYesThe project owner key (ga_...) or an admin member key (gm_...). Never print it.
project_idYesThe project id from gate_create_project, e.g. p1a2b3...

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructive=true and idempotent=true; the description goes beyond them by stating the authorization requirement (owner key or admin member key) and the failure mode — a missing or already revoked id returns an error, which usefully warns against blind retries. The only gap is that it does not say what happens to in-flight uses of the key after revocation, a meaningful consequence for a destructive operation.

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?

Three tight sentences: action first, prerequisites second, error behavior third, alternatives last. Every clause carries decision-relevant information and nothing is padded.

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 three-parameter destructive tool with no output schema, the definition covers action, authorization, failure semantics, and alternative routes. An agent has everything needed to call it correctly and to recover when it fails.

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 all three parameters, including that the approver field takes an id from gate_list_approvers and is not a member id or key. The description reinforces that pointer but adds no syntax, format, or constraint detail beyond the schema, so the baseline 3 applies.

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 — 'Invalidate one dedicated approver key' — and immediately scopes it to 'dedicated approver key' as opposed to a member or app key. It also names the sibling for key creation and the sibling for member revocation, so an agent can route correctly without reading 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?

Explicit routing: use gate_list_approvers to obtain the id, use gate_create_approver to restore access, use gate_manage_members to revoke a team member. Prerequisites (owner key or admin member key) are stated up front, leaving nothing to inference.

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