Skip to main content
Glama

List a project's API keys

list_api_keys
Read-onlyIdempotent

Lists the runtime API keys bound to a project. Only the key prefix is returned — the full key is shown once, at creation. Requires the apikeys:read scope.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
uuidYesProject UUID

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, and the description still adds two non-obvious facts: only the key prefix is returned because the full key is shown once at creation, and the call requires the 'apikeys:read' scope. That prevents a futile attempt to recover a secret, which is exactly the kind of context annotations cannot carry.

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 short sentences, front-loaded with what is listed, then the return limitation, then the auth requirement. Every sentence carries distinct information and none restates the title or schema.

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?

Low-complexity read tool with one documented parameter, full annotation coverage, and an output schema that need not be explained. The one thing an agent could get wrong — expecting full key values — is explicitly pre-empted.

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?

There is a single parameter and schema description coverage is 100% ('Project UUID'), so the schema already does the work. The description adds no format, sourcing, or lookup guidance for the UUID, leaving it at the baseline for high-coverage schemas.

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?

States a specific verb and resource with scope: 'Lists the runtime API keys bound to a project.' The 'bound to a project' qualifier implicitly separates it from 'list_organization_personal_keys', so an agent can pick between them without inspecting schemas.

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

Usage Guidelines3/5

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

Usage is implied by the resource (auditing/listing a project's keys) and the required 'apikeys:read' scope is a useful precondition, but the description never states when to prefer this over alternatives like 'list_organization_personal_keys' or 'get_project', nor any exclusions.

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