Skip to main content
Glama

List API keys

list_api_keys
Read-onlyIdempotent

Keys with name, prefix, scopes, last used.

Input Schema

NameRequiredDescriptionDefault
organizationIdNoApproved workspace id only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description's only added context is the returned field list, which is thin; it says nothing about whether secret key material is omitted, whether results are paginated, or how the optional organizationId scope affects the result set.

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

Conciseness3/5

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

It is short with no wasted words, but it is an under-specified fragment rather than a front-loaded statement of purpose. The brevity reflects missing information (no verb, no scope) rather than disciplined concision.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read tool with full schema coverage and clear annotations, the bar is lower, but the description still omits what an agent needs: that it lists API keys (vs. other resources), whose keys are returned by default when organizationId is omitted, and that secret values are not exposed. Those are meaningful gaps for a credential-listing tool.

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 single organizationId parameter is documented in the schema as 'Approved workspace id only.' With full schema coverage and one parameter, the baseline of 3 applies; the description adds no additional meaning about the parameter's behavior.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a noun-phrase fragment ('Keys with name, prefix, scopes, last used') that restates the title rather than stating a verb+resource action. It adds a field list but never says 'lists API keys for the caller/workspace', so the agent must infer the operation from the tool name alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus create_api_key, revoke_api_key, rotate_api_key, or list_user_apis, all of which appear as siblings. No prerequisites, no exclusions, no mention of whether it returns keys for the whole org or just the caller.

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.