Skip to main content
Glama

usage-api

Usage API JSON lookup for current credit balance (used, purchased, remaining). Uses no API credits.

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": "usage-api"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

The description adds one genuinely useful behavioral fact not present in the annotations: the call consumes no API credits. But it labels the operation a "lookup" on a current balance, while the annotations declare readOnlyHint=false, which signals a potentially state-changing operation — a mismatch the description does not resolve. No information about authentication or what happens to the request itself is given.

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?

Two short sentences, front-loaded with what is returned and followed by the cost-relevant fact; nothing is buried. "JSON" in "Usage API JSON lookup" is low-value filler, and "Usage API" largely restates the tool name, but the sentence is not padded.

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?

With no parameters and no output schema, the description does the right work by enumerating the returned fields (used, purchased, remaining) and stating the credit cost. The remaining gap — auth requirements and the readOnlyHint discrepancy — is minor for a zero-argument read of one's own balance, though the annotation inconsistency should be cleared up.

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 the baseline is 4; there is nothing for the description to disambiguate beyond the schema's empty properties object. It correctly implies no arguments are needed by never mentioning any.

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?

"Usage API JSON lookup for current credit balance" states a specific resource (credit balance) and names the exact fields returned (used, purchased, remaining), so an agent knows precisely what it will get. It does not, however, distinguish itself from the many sibling *-api tools beyond the word "usage".

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?

"Uses no API credits" implies this is the cheap/free call to make before committing to credit-consuming operations, which is implicit guidance for an agent watching cost. There is no explicit when-to-use/when-not statement and no named alternative (e.g., which sibling to call if you need something other than balance), so the guidance is implied rather than stated.

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.