Skip to main content
Glama

Minha CNH

get_usage

Read-only

Report-API usage in the current per-minute and per-day windows against the organization's configured rate limits, plus the price per report in centavos. Use it to pace request_report calls; when any tool returns a 429 error, wait the retryAfter seconds it carries before retrying. With a cnh_test_ key it counts sandbox reports only, at price 0.

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

A5/5.0
Behavior5/5

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

Annotations declare only readOnlyHint=true; the description adds substantial behavior beyond that: two reporting windows, comparison against configured org limits, price units (centavos), sandbox-key semantics (cnh_test_ counts sandbox reports only at price 0), and the 429/retryAfter convention. No contradiction with the read-only annotation.

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 compact sentences: what is returned first, then how to use it for pacing and 429 handling, then the key-type caveat. Every clause carries information and nothing is repeated from the schema or annotations.

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 no output schema and no parameters, the description must carry the return semantics itself, and it does — enumerating the windows, the limit comparison, and the price unit. The sandbox-key edge case closes the remaining ambiguity about what the numbers mean.

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

Parameters5/5

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

With zero parameters the baseline is 4, and the description goes further by clarifying that the data is scoped to the organization and that key type (cnh_test_) changes the counting and pricing, which is effectively the only implicit input. Nothing about invocation is left ambiguous.

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?

The description names a specific resource and scope: report-API usage in the per-minute and per-day windows, compared against the organization's configured rate limits, plus per-report price in centavos. That is clearly distinct from siblings like get_credit_balance or request_report, so an agent can select it without opening a 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?

It states the operative use case directly — "Use it to pace request_report calls" — naming the sibling it supports, and adds the decision rule for 429 responses (wait retryAfter seconds before retrying). This is explicit when-to-use guidance tied to a named alternative.

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