Skip to main content
Glama

Check the read allowance

get_usage
Read-onlyIdempotent

Remaining reads for the connected account: plan, period, monthly and daily allowance, and the UTC reset time. Free — call it before reading a batch, but do not call it before every read.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
planYes
dailyYes
periodYes
monthlyYes
resetAtYes
planNameYes
schemaVersionYes
dataPolicyVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / schemaVersion / const
      Previous value: -"1.4.6"New value: +"1.4.7"
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and non-destructive, so the description's main added value is the cost note ("Free") and the disclosure that the reset time is in UTC. It stops short of saying whether the counters are cached or how quickly they update after a batch, which would have completed the picture.

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?

Two sentences: the return contents first, then the cost plus the call-frequency rule. Every clause carries information the agent needs, and the usage directive is placed at the end where it is most actionable.

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 an output schema present, return values need not be documented, yet the description still names the key fields. For a zero-param, side-effect-free quota check, the description covers scope, cost, and calling cadence — nothing an agent needs is missing.

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 no per-parameter meaning to convey and the schema is trivially complete. A 4 is the appropriate baseline here; nothing in the description is needed to call it correctly.

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 resource (remaining reads for the connected account) and enumerates exactly what comes back: plan, period, monthly and daily allowance, and the UTC reset time. Nothing in the sibling list overlaps with an allowance/quota check, so the agent can distinguish 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 Guidelines5/5

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

Gives explicit when-to-use guidance ("call it before reading a batch") and an explicit when-not-to ("do not call it before every read"), which is precisely the anti-pattern for a zero-arg status tool that could otherwise be polled constantly.

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.