Skip to main content
Glama

Create an API key on your account

create_key

Makes a new key on your own account, for example a narrower one for a helper. scopes defaults to the calling key's scopes and may never be wider. Works in trial (up to 5 live keys); while the owner has not verified, every key is still cut to trial scopes. The secret is returned once: store it. space "team" makes a team key (teams only): it is revoked if you leave the team.

Input Schema

NameRequiredDescriptionDefault
labelYes
spaceNo"personal" (the default): yours, and it goes where you go. "team": made in your team's space; it stays with the team if you leave, and a team key is revoked when you do.
scopesNo

Output Schema

NameRequiredDescriptionDefault
idYes
labelYes
prefixYesThe first characters of the key, to tell keys apart. The secret is never shown again.
scopesYes
api_keyYesStore it now. It is never shown again.
created_atYes
revoked_atYes
is_this_keyYes
last_used_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare that this is a non-read-only, non-destructive write, so the description carries the real burden and does: scopes default to the caller's and may never be wider, a 5-key trial ceiling, trial-scope clamping while the owner is unverified, one-time secret return ("store it"), and team-key revocation on leaving the team. These are non-obvious consequences an agent must know before invoking.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the action, then constraints, then the one-time-secret warning — every sentence carries information. The semicolon-chained space/team clause reads slightly run-on and could be split, but nothing is wasted.

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?

Given an output schema exists, return shape needn't be explained, yet the description still flags the one-time secret return, which is critical. Trial limits, scope inheritance, and team semantics cover the tool's complexity; only the label parameter goes unaddressed.

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 only 33%, and the description compensates for the two undocumented parameters: it explains the scopes default and the never-wider constraint, and elaborates the "team" value of space beyond the schema's own text. label remains undescribed, though its meaning is self-evident.

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?

"Makes a new key on your own account" states a specific verb and resource with scope (own account), and the narrowing example clarifies the typical intent. It is clearly distinguishable from siblings such as list_keys, revoke_key, and create_nod 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 an explicit use case ("a narrower one for a helper") and conditions: trial accounts capped at 5 live keys, unverified owners cut to trial scopes, and team keys only where teams exist. It stops short of naming alternatives like revoke_key or use_key, but the when-to-use context is clear.

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