Skip to main content
Glama

List agent keys

list_management_keys
Read-onlyIdempotent

List agent keys

The account's agent keys (kl_rs_…, management keys) for agents and backends, newest first, without their secrets. Active keys only unless includeRevoked=true.

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_management_keys"
  }
}

Input Schema

NameRequiredDescriptionDefault
includeRevokedNoAlso list revoked keys.

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, idempotentHint, and destructiveHint=false, so safety is covered. The description still adds meaningful behavior beyond them: results are ordered newest first, secrets are omitted from the output, and revoked keys are excluded by default. Return shape details remain unstated, but ordering and redaction are the non-obvious traits.

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 short sentences, front-loaded with the identity of the resource and followed by the scoping/ordering behavior. No redundant or filler wording, and the parameter default is placed at the end where the agent will look for it.

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 one-parameter read tool with full annotation coverage and no output schema, the description supplies the essentials: what is listed, the prefix, ordering, redaction, and the default filter. The only minor gap is that it does not bound the result size or mention how large accounts are handled.

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?

Schema coverage is 100% and the single parameter already carries a description, so the baseline is 3. The description restates the same semantics in context ('Active keys only unless `includeRevoked=true`'), which is helpful framing but not new information beyond the schema.

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 agent keys') and pinpoints the family precisely with the key prefix 'kl_rs_…' plus the gloss 'management keys' for 'agents and backends'. That prefix disambiguates it from key-listing siblings such as list_customer_keys or list_keys without naming them, though an explicit contrast would be stronger.

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?

The only guidance is the filter rule: 'Active keys only unless includeRevoked=true.' There is no statement of when an agent should reach for this tool versus a customer-key or supply-credential listing, so usage is implied by the resource description rather than stated.

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