Skip to main content
Glama

List API keys

list_api_keys
Read-onlyIdempotent

Keys with name, prefix, mode (live or test), scopes, last used.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_api_keys"
  }
}

Input Schema

NameRequiredDescriptionDefault
organizationIdNoApproved workspace id only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and closed-world scope, so safety is covered. The description adds the return-field list (name, prefix, mode, scopes, last used), which usefully implies secret key material is not returned — but it never says whether results are limited to the caller's organization, whether keys from other workspaces appear, or whether listing has any side effects.

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 very short and wastes no words, but it is not even a complete sentence and it omits the verb entirely, so brevity here reflects under-specification rather than disciplined concision. Only one idea is conveyed, and it is not front-loaded with what the tool actually does.

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

Completeness3/5

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

For a low-complexity, single-optional-parameter read tool with rich annotations and full schema coverage, the most important missing piece is the return-value description (there is no output schema), and the field enumeration partially fills that gap. Still missing is any statement about organizational scoping, pagination, or whether revoked keys are included.

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?

The single organizationId parameter has 100% schema description coverage ('Approved workspace id only.'), so the schema carries the semantics. The description adds nothing about the parameter — not what happens when it is omitted, nor what scope of keys is returned by default — so it sits at the baseline for a fully documented schema.

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

Purpose3/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, mode...') with no verb, so it never explicitly says it lists API keys — that is inferred from the tool name. It does add value by enumerating the fields returned, which partly distinguishes it from write siblings like create_api_key/revoke_api_key, but the purpose is only implied, not stated.

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 tool, no mention of the optional organizationId scoping, and no reference to alternatives such as list_user_apis or list_granted_scopes that an agent might confuse it with. The only usage signal is the tool name itself.

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.