Skip to main content
Glama

Get usage

get_usage
Read-onlyIdempotent

What's left in every meter and when each window resets, so the agent can pace a run. Each pair is [used, limit]. Free to call.

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-open-world behavior, so the safety profile is covered. The description adds two things annotations cannot: the return shape ([used, limit] per meter) and the fact that windows reset, plus that the call itself is free. It stops short of describing error behavior or whether results are cached/eventually consistent.

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?

Three short fragments, front-loaded with the return value, then the purpose, then the cost guarantee. Nothing is wasted and the agent can decide to call it from the first clause alone.

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 output schema, the description correctly carries the burden of explaining the return format and does so briefly. It does not say how meters are keyed (names, per-window granularity) or what an exhausted meter looks like, which a fully self-sufficient definition would include.

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?

Zero parameters, so the baseline is 4; there is nothing for the description to disambiguate. Its sentence about [used, limit] pairs describes the response rather than inputs, which is a bonus for an agent but not parameter semantics.

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 precisely what the tool returns: remaining quota for every meter plus each window's reset time. That is a specific resource with a specific payload, clearly distinct from the sibling enrichment/scraping tools, none of which report quota state.

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

Usage Guidelines4/5

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

"So the agent can pace a run" gives a concrete reason to call it, and "Free to call" removes cost hesitation about calling it often. There is no explicit when-not guidance or named alternative, but no sibling plausibly substitutes for a quota read, so the practical gap is small.

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