Skip to main content
Glama

update_api_key

Stop new requests by deactivating an API key, or rename it for organization.

Instructions

Rename or deactivate an API key.

Renaming is cosmetic and does not require confirmation in itself, but the tool still respects the global confirm flag. Setting status='inactive' immediately stops the key from authenticating new requests — any running workloads using it will start failing. This server cannot reactivate keys; that must be done in the Console.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_key_idYes
nameNoNew display name (cosmetic)
statusNoNew status. 'inactive' deactivates the key; reactivation requires Console access.
confirmNoMust be true when changing status.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Despite no annotations, description discloses key behavioral traits: renaming is cosmetic, deactivation is immediate and one-way, global confirm flag is respected, and reactivation is impossible via this tool. This fully carries the transparency burden.

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 efficient sentences front-loaded with purpose. Every sentence adds value with no redundancy. Structure logically progresses from purpose to details to limitations.

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?

Covers side effects, limitations, and intended actions. Has output schema, so return format not required. Missing error scenarios or prerequisites, but for a mutation with moderate complexity, this is nearly complete.

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 description coverage is 75% (missing api_key_id). Description adds context beyond schema: explains renaming doesn't require confirmation but respects global flag, and that status='inactive' deactivates. Compensates well for schema gaps.

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?

Description clearly states 'Rename or deactivate an API key,' providing a specific verb and resource. It distinguishes from sibling tools (all workspace/member operations) as the only API key mutation tool.

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?

States when to use (rename or deactivate) and notes that reactivation must be done in the Console. Lacks explicit when-not conditions, but the context is clear given no alternative API key update tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Trushtonfactory/anthropic-admin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server