Skip to main content
Glama

get_key_info

Checks an API key's email, tier, rate limits, remaining quota, and subscription status to verify access and monitor usage limits.

Instructions

Check your API key: email, tier, rate limits (per minute/hour/day), remaining quota, and subscription status.

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": "get_key_info"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the returned fields, including rate-limit windows and remaining quota, which signals a read-only, self-scoped lookup. However, it says nothing about authentication requirements, what happens with an invalid or expired key, or whether quota is shared across endpoints.

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?

A single sentence, front-loaded with the action and followed by a compact enumeration of return fields. No redundant or filler wording; every element adds information.

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 introspection tool with no output schema, enumerating the returned fields is the essential content and it is present. The only gap is behavioral context around failures (invalid or revoked key) and whether the values reflect real-time consumption.

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 per the baseline there is nothing for the description to disambiguate; the schema is empty and the description correctly implies the key is derived from the caller's credentials rather than an argument.

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?

States a specific verb and resource ('Check your API key') and enumerates exactly what is reported: email, tier, per-minute/hour/day rate limits, remaining quota, and subscription status. None of the sibling tools (get_api_docs, get_pricing, get_stream_stats) plausibly cover this, so an agent can select it without ambiguity.

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?

Usage is implied by the content: call it to inspect your own key's status or remaining quota. There is no explicit when-to-use or when-not guidance, and no routing to alternatives such as get_pricing for subscription plan details, so the agent must infer the boundary.

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