Skip to main content
Glama

list_api_keys

Retrieve and manage API keys in your Portkey organization with pagination and workspace filtering options.

Instructions

List all API keys in your Portkey organization with optional pagination and workspace filtering

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_sizeNoNumber of results per page (max 100)
current_pageNoPage number for pagination
workspace_idNoFilter by workspace ID
Behavior2/5

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

With no annotations provided, the description carries full burden but offers minimal behavioral insight. It mentions pagination and filtering capabilities but doesn't disclose critical traits like whether this is a read-only operation (implied by 'List'), authentication requirements, rate limits, error conditions, or response format. For a tool with zero annotation coverage, this leaves significant gaps in understanding its behavior.

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?

The description is a single, efficient sentence that front-loads the core purpose ('List all API keys') and immediately follows with key capabilities. Every word earns its place with no redundancy or unnecessary elaboration, making it optimally concise for quick comprehension.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (listing resources with filtering/pagination), no annotations, and no output schema, the description is insufficiently complete. It doesn't explain what the output contains (e.g., key metadata, format), how pagination works in practice, or any prerequisites. For a tool that agents will need to use effectively, this leaves too many operational questions unanswered.

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 description coverage is 100%, so the schema fully documents all three parameters. The description adds marginal value by mentioning 'optional pagination and workspace filtering,' which aligns with the parameters but doesn't provide additional semantic context beyond what the schema already specifies. This meets the baseline for high schema coverage.

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 clearly states the verb ('List') and resource ('all API keys in your Portkey organization'), making the purpose immediately understandable. It distinguishes itself from sibling tools like 'get_api_key' (singular retrieval) by emphasizing comprehensive listing. However, it doesn't explicitly differentiate from other list tools like 'list_virtual_keys' beyond the resource type.

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 description implies usage context through 'optional pagination and workspace filtering,' suggesting when to use these parameters. However, it provides no explicit guidance on when to choose this tool over alternatives like 'get_api_key' for single-key retrieval or 'list_virtual_keys' for different resource types. The guidance is functional but lacks strategic direction.

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/s-b-e-n-s-o-n/portkey-admin-mcp'

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