Skip to main content
Glama

List API keys

list_api_keys
Read-onlyIdempotent

Retrieve details of the API key used by the current request—scope, limits, allowed IPs, expiry, and rate limit—so you can verify permissions without exposing other account keys.

Instructions

Show the API key this request authenticated with: scope (read/full/ai), granular scopes, paid_scopes, paid_operations_enabled, daily_spend_limit_eur, monthly_spend_limit_eur, allowed IPs, expiry and rate_limit (a stored value the limiter does not read: every key may make 300 requests per 60 seconds by default, fewer on some operations), plus permission_options listing every scope the panel can grant. The backend scopes this endpoint to the calling key itself (apiKeyScopedToSelf), so other keys on the account are never listed here. By design an API key can never create, change or revoke API keys (403 apiKeyForbidden, reason api_keys_cannot_manage_api_keys): that is done in the VPSnet panel while signed in. Read-only.

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 observedv2.3.16

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the self-scoping behavior, the exact failure mode and reason code for mutation attempts, and the default rate limit of 300 requests per 60 seconds with a note that the stored rate_limit value is not actually enforced by the limiter. The caveat that rate_limit is stored but unread is precisely the kind of non-obvious behavior an agent cannot get from structured fields.

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 core identity and scope come first, followed by supporting caveats, so it is well front-loaded. The long inline enumeration of returned fields is dense but each item is meaningful; a bulleted or grouped form would read more easily than the single run-on clause.

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 describing return values, and it does so field by field including scope, granular scopes, spend limits, IP allowlist, expiry, rate_limit, and permission_options. Combined with the error and rate-limit notes, an agent has everything needed to call this correctly and interpret the result.

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 there is nothing to disambiguate and the baseline applies. The description instead spends its space documenting the returned fields, which is appropriate for a zero-argument tool.

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?

"Show the API key this request authenticated with" names a specific verb and resource, and immediately narrows the scope to the calling key rather than all keys. That scope statement alone distinguishes it from a general key-listing or get_api_key style operation, so an agent can select it 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?

The description makes clear when this applies (introspecting the key behind the current request) and explicitly rules out using it to enumerate other keys, since the backend scopes it to the calling key itself. It also states that key management cannot be done via API at all (403 apiKeyForbidden) and belongs in the panel, which heads off a whole class of misuse. It stops short of naming a sibling tool as the alternative, so it is clear context rather than a full routing rule.

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

Deploy Server

Other Tools