Skip to main content
Glama

List API keys

list_api_keys
Read-onlyIdempotent

The account's API keys: name, first characters, scopes, enabled, last use and monthly ceiling. Never the secret. Read-only.

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

No arguments

Output Schema

NameRequiredDescriptionDefault
keysYes

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 and destructiveHint=false, so the safety profile is covered. The description earns credit for adding context annotations cannot express: the secret is never returned, and the field-truncation behavior ('first characters') tells the agent it cannot recover a full key from this call.

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 clauses, front-loaded with the return-content list and closed by the two facts most likely to cause a wrong assumption (no secret, read-only). Nothing is padded or redundant.

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?

With an output schema present and zero input parameters, the remaining burden is only to set expectations about scope and sensitivity, which the description does. An agent has everything needed to call this correctly without a follow-up query.

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?

The tool takes zero parameters, so there is nothing to disambiguate and the baseline applies. The description correctly implies an unscoped account-wide listing rather than one requiring an identifier, which is the only semantic an agent could get wrong here.

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 identifies the specific resource (the account's API keys) and enumerates exactly what each entry contains: name, first characters, scopes, enabled, last use, monthly ceiling. It is unambiguous about what the tool returns, though the list verb itself comes from the title rather than the text and there is no explicit differentiation from list_granted_scopes.

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 only implied: 'Never the secret' hints that this is for inspecting key metadata rather than retrieving credentials, and 'Read-only' frames it as a safe inspection call. There is no explicit statement of when to call it or which sibling (e.g. list_granted_scopes) answers a related question instead.

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