Skip to main content
Glama

get_usage

Usage and audit log for a tai_ key: recent charges (model, tokens, cost), top-ups, last-24h totals, balance and limits.

Input Schema

NameRequiredDescriptionDefault
limitNo
api_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/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 burden, and it does disclose the response payload contents (charges with model/tokens/cost, top-ups, last-24h totals, balance, limits), which is the most useful behavioral fact. It omits whether the call is read-only (only implied by the 'get' prefix), any rate limits, and how much history is returned or paginated.

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?

A single dense sentence with the resource stated first and the payload contents following; nothing is wasted. It reads as a compact list dump rather than prioritized information, which keeps it just short of top marks.

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

Completeness3/5

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

For a two-parameter read tool with no output schema, the payload enumeration does most of the work of describing the return value. But the limit parameter's behavior (record count vs. time window) and key-selection semantics are left unexplained, leaving real gaps for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description explains neither parameter. 'For a tai_ key' weakly gestures at api_key (and does not say whether it defaults to an ambient key), and `limit` (default 50) is never explained as the number of records returned.

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?

Names a specific resource (usage/audit log for a tai_ key) and enumerates what it returns (recent charges, top-ups, 24h totals, balance, limits), so an agent can tell it is a reporting tool. However, it does not distinguish itself from siblings get_balance and get_stats, which clearly overlap with 'balance' and 'totals'.

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

Usage Guidelines2/5

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

There is no when-to-use / when-not-to-use guidance and no reference to the obvious alternatives (get_balance, get_stats, list_models). The agent must infer from sibling names which reporting tool to pick.

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.

Resources