Skip to main content
Glama

List API keys

list_api_keys
Read-onlyIdempotent

Your API keys (never the secret, only the prefix and when it was last used). view "org" (default): keys for this organization only, plus its members' keys if you are the owner. "account": your keys that span several organizations. "here": your keys that can act in this organization.

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
viewNo
organizationIdNoWhich organization to act in: an id from list_organizations. Leave out for this connection's default organization.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld, so safety is covered; the description adds genuinely new context by promising secrets are never returned and by explaining the permission-dependent scope of the 'org' view (owner sees members' keys). It does not mention pagination or result limits, a minor gap.

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?

It is compact and front-loads the most decision-relevant fact (only prefixes and last-used times are returned), then moves to the view options. The quoted enum values make it readable, though the sentence fragments are terse enough to feel slightly clipped.

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?

For a two-optional-parameter read-only list tool with full annotation coverage and no output schema, the description supplies enough: what is returned, what scopes exist, and the default. Only return-shape details like ordering or pagination are absent, which is acceptable here.

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 50% and the 'view' enum has no schema descriptions, so the description carries the weight here by defining all three enum values and marking 'org' as the default. The organizationId parameter is left to the schema, which already explains it in detail, so no critical gap remains.

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

Purpose4/5

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

The description names the resource ('Your API keys') and states the returned fields ('never the secret, only the prefix and when it was last used'), so an agent knows exactly what comes back. It is clearly a read/list tool and distinct from the destructive sibling revoke_api_key, though the verb itself is only implied rather than stated.

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?

The three view modes are each given a usage condition: 'org' (default, org keys plus members' keys if owner), 'account' (keys spanning organizations), 'here' (keys that can act in this organization). This lets an agent pick the right scope, but there is no explicit statement of when not to call it or a named alternative tool for other key-related needs.

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