Skip to main content
Glama

Usage and limits

usage
Read-only

How many checks have been used and are left today and this hour: the API key's own quota, or without a key the limit shared by every call from the same app or address.

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

Input Schema

NameRequiredDescriptionDefault
languageNoLanguage of the human-readable texts in the answer (summaries, findings, messages): one of en. Ids, codes and field names stay English. Default en.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / language
      Added value: +{
      +  "description": "Language of the human-readable texts in the answer (summaries, findings, messages): one of en. Ids, codes and field names stay English. Default en.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false and a closed-world scope, so the safety profile is covered. The description adds genuinely non-obvious context: the quota reported depends on authentication — the API key's own quota when keyed, otherwise a limit shared by all calls from the same app or address. It does not mention reset timing or caching, which keeps it below a 5.

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?

One sentence, no filler, with the core answer (used vs remaining, today vs this hour) front-loaded. The trailing key/no-key clause is dense but informative; it could be split for readability.

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-required-argument read tool with no output schema, the description covers what is measured (used and remaining), the two time windows (today, this hour), and the quota-scoping rule. Only minor details such as whether counts are broken down per check type and when windows reset are absent.

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?

There is a single optional parameter with 100% schema description coverage, so the schema already fully documents 'language' including its default and the en-only enum. The description adds nothing about the parameter, which is acceptable at the baseline for one fully documented param.

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?

Despite the bare name 'usage', the description states the resource precisely: counts of checks used and remaining for today and for the current hour. It is clearly a quota/consumption report rather than a check-listing or check-running tool, so it is distinguishable from siblings like list_checks and run_checks, though it never names them explicitly.

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 only implied: an agent can infer this should be called to check remaining quota before or after running checks, but the description never says when to call it, when not to, or what to do with the numbers. No alternatives or prerequisites are mentioned.

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.