Skip to main content
Glama

List API keys

list_api_keys
Read-only

List the team's active API keys: name, creation and last-used times. Tokens are never returned; a lost token means a new key.

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
afterNoCursor: id of the last item of the previous page. Must be an id this list returned; there is no sentinel value.
limitNoPage size, 1-100 (default 20)
beforeNoCursor: id of the first item of the next page (page backwards); same rule as after.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), and the description adds genuinely new context: that tokens are never returned and a lost token is unrecoverable, so the agent knows recreation is the only path. It does not mention pagination behavior, but the annotations carry the rest of the behavioral load.

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?

Two compact sentences: the first states the action and return fields, the second carries the one non-obvious operational fact. No filler, and the scoping detail is front-loaded.

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 read-only listing tool with no output schema, the description covers what the tool does, what fields come back, and the key caveat about tokens. Pagination semantics are only in the schema, but those are fully documented there, so nothing an agent needs to call it correctly is missing.

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?

All three parameters (after, limit, before) have full schema descriptions, including cursor rules and default page size, so the schema does the heavy lifting. The description says nothing about pagination at all, which is acceptable at 100% coverage but adds no extra meaning.

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 gives a specific verb and resource ('List the team's active API keys') plus the returned fields, which cleanly separates it from create_api_key and revoke_api_key. It stops short of explicitly routing the agent to those siblings or stating a scope boundary the way the highest-scoring examples do.

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 when-to-use statement, no prerequisites, and no named alternative (e.g., 'use create_api_key to mint one, revoke_api_key to remove one'). The 'lost token means a new key' line is a security caveat about irreversibility of tokens, not guidance on selecting this tool.

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.