Skip to main content
Glama

List your API key pool

list_byok_keys
Read-onlyIdempotent

Check BYOK API keys by provider to verify which are active, pending, validated, or rate-limited. View read-only legacy key metadata for pre-pool credentials.

Instructions

List the project's BYOK API keys grouped by provider (anthropic | openai | firecrawl | browserbase | cursor). Returns pooled { keys: [{ id, provider_slug, label, priority, status, cooldown_until, test_status, key_hint, base_url, last_tested_at, last_used_at }] } plus read-only { legacyKeys } metadata for credentials saved before the pooled lifecycle — never the raw secret. Read-only. Use to see which keys are validated, active, pending, legacy, or rate-limited; use add_byok_key to add one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYesProject id
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses that it returns pooled keys plus read-only legacyKeys metadata and 'never the raw secret.' This adds meaningful behavioral context about data safety and return composition, exceeding what annotations alone communicate.

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?

The description is information-dense but not overly long. It front-loads the action, then details the return structure and gives usage guidance. The redundant 'Read-only.' sentence is minor but acceptable, leading to a slight deduction.

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 no output schema, the description carries the burden of explaining return shape and semantics. It thoroughly covers pooled keys, legacyKeys, provider grouping, and key statuses, making it fully useful for an agent deciding to invoke this tool.

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% for the only parameter (projectId, described as 'Project id'). The description adds no additional parameter meaning, so the baseline of 3 applies.

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?

The description clearly states the tool lists BYOK API keys grouped by provider, with a specific verb ('List') and resource ('project's BYOK API keys'). It distinguishes itself from sibling tools like add_byok_key and remove_byok_key by focusing on listing/inspection.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

The description explicitly says 'Use to see which keys are validated, active, pending, legacy, or rate-limited' and provides an alternative: 'use add_byok_key to add one.' This gives clear when-to-use context and directs to a sibling tool for a different operation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kensaurus/mushi-mushi'

If you have feedback or need assistance with the MCP directory API, please join our Discord server