Skip to main content
Glama

List API keys

list_api_keys
Read-onlyIdempotent

List this account's API keys (id is the first 12 characters of the key's hash, not the key itself - the full key is shown only once, at creation, in the portal). Creating a key isn't available via REST/MCP on purpose (a key that mints keys turns one leaked key into permanent access) - create one in Access & API on the AI assistant page (https://volai.cz/en/api-and-mcp#pro-vyvojare). Revoking is also portal-only for another key on the account; a key can only revoke ITSELF over the REST API (DELETE /v1/api-keys/{id} with its own id) as an emergency kill switch - there is no MCP tool for revoking, because a compromised key revoking itself is a REST-speed emergency action, not a conversational one. Same data as GET /v1/api-keys (response schema in /openapi.json).

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

A4.4/5.0
Behavior5/5

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

Annotations already mark this read-only, idempotent and non-destructive, but the description adds substantive behavior the annotations cannot: the full key is shown only once at creation, ids are truncated hashes, and mutation paths are deliberately absent along with the security rationale. This is exactly the extra context an agent needs to avoid promising key creation or revocation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and id-semantics are front-loaded, but the description sprawls into design-rationale asides ('a key that mints keys turns one leaked key into permanent access'), a documentation URL, and REST endpoint details that an agent listing keys rarely needs. Roughly half the text could be cut without losing callable guidance.

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 zero-parameter read tool with no output schema, the description tells the agent where the response schema lives (/openapi.json) and warns that key material is never returned. That covers what's needed to call and interpret it, though the response pointer is prose rather than structured.

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 the baseline is 4; the description adds no parameter meaning because there is none to add. Its explanation of the id semantics pertains to returned data rather than inputs.

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

Purpose5/5

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

Opens with a specific verb+resource ('List this account's API keys') and immediately disambiguates the returned identifier: the id is the first 12 characters of the key's hash, not the key itself. An agent can tell exactly what this returns and what the id field means without opening the schema.

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?

Clearly delimits scope by stating that creation and revocation are not available via REST/MCP and pointing to the portal page and the one self-revoke REST endpoint. It doesn't name any sibling tool as an alternative, but no sibling covers API keys, so the routing guidance is effectively complete.

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.