Skip to main content
Glama

Rotate or revoke an app key

gate_manage_app_key
Destructive

Rotate one app key (new key shown once, old key stops immediately) or revoke the app permanently. Both operations keep other apps unchanged; revoke requires gate_create_app to restore access. Use gate_list_apps to find the app; use gate_configure_app to change its settings without replacing its key.

Input Schema

NameRequiredDescriptionDefault
appNoThe app id (app_...) from gate_list_apps
admin_keyNoThe project admin key (ga_...). Read it from the .env; never print it.
operationYesPerform exactly one operation: rotate, revoke.
project_idNoThe project id from gate_create_project, e.g. p1a2b3...

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare destructive/non-idempotent/non-readOnly; the description adds substantive behavior beyond that: the new key is shown only once, the old key stops immediately, other apps are unaffected, and a revoke is permanent with a named recovery path (gate_create_app). That is exactly the operational context an agent needs before a destructive call.

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 sentences, front-loaded with the core verb pair and its effects before the sibling routing hints. No filler or restatement of the name/title; every clause carries decision-relevant information.

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 destructive two-mode mutation tool with no output schema, the definition covers effects, irreversibility, key visibility, blast radius ('other apps unchanged'), and recovery. Nothing an agent needs in order to choose and invoke it safely is missing.

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%, so the baseline is 3. The description still adds real meaning to the 'operation' enum by defining what rotate and revoke each do semantically, and it ties the 'app' parameter to its source (gate_list_apps), though it adds nothing about project_id or admin_key beyond the schema.

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?

Names two specific operations (rotate/revoke) on a specific resource (app key) and immediately explains each in parentheses: 'new key shown once, old key stops immediately' vs 'revoke the app permanently.' It also distinguishes itself from siblings by contrasting with gate_configure_app ('change its settings without replacing its key').

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 routing: 'Use gate_list_apps to find the app' for the identifier, 'use gate_configure_app to change its settings without replacing its key' for the non-key-changing alternative, and 'revoke requires gate_create_app to restore access' as the post-condition caveat. When-to-use and when-to-use-something-else are both stated.

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