Skip to main content
Glama

List API keys

list_api_keys
Read-only

The Settings → API keys list: name, prefix, scopes, website restriction, last use and revocation of every key on the account (never the secrets). Marks the key this connection uses.

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful context on top: secrets are never returned, revocation state is surfaced, and the key used by the current connection is marked, which helps an agent reason about its own credentials. It could go slightly further on ordering or limits, hence 4 rather than 5.

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?

A single dense sentence with no filler, and the most decision-relevant facts (what fields, never secrets, which key is mine) come early. The 'Settings → API keys list' UI framing is slightly wasted preamble for an agent that will never navigate a menu, but the rest is efficient.

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?

With no output schema, the description carries the burden of describing return values and does so field by field, including the security-relevant 'never the secrets'. It omits any note on result size, ordering, or whether all keys always fit in one response, which is a minor gap for a zero-argument listing tool.

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 no parameters, so the baseline is 4. The description correctly consumes its space explaining the returned fields rather than inventing argument semantics, and there is nothing about inputs that needs disambiguation.

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 (API keys on the account) and frames it as the Settings → API keys list, enumerating what each entry contains (name, prefix, scopes, website restriction, last use, revocation). It is clear enough to distinguish from the mutating siblings (create/delete/revoke/rotate), though the elliptical noun-phrase opening means the verb ('lists') is 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 Guidelines3/5

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

Usage is only implied: an agent can infer this is the read path for auditing existing keys, since the sibling names cover creation, deletion, revocation and rotation. There is no explicit 'use this when…' statement and no mention of when to prefer a different tool such as get_account, so the guidance rests on inference from the name and field list.

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