Skip to main content
Glama

Read monthly usage

get_usage
Read-onlyIdempotent

Read the bound organization's finished jobs, billed units, and paid cost in micros for a billing month (America/Sao_Paulo), broken down by day. Costs are in the currency that get_account returns.

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
monthNoBilling month as YYYY-MM in America/Sao_Paulo. Defaults to the current month.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so credit goes to what the text adds: the billing month is interpreted in America/Sao_Paulo, scope is limited to the bound organization, costs are reported in micros, and the currency must come from get_account. That is meaningful operational context beyond the annotations, with only return formatting/pagination left unspecified.

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?

A single front-loaded sentence with no filler; the core purpose and the output fields appear first and the currency caveat follows. It is dense but every clause carries information, so it is efficient rather than padded.

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, the description carries the burden of describing results and does so: which metrics are returned, their units (micros), the daily breakdown, and the currency source. Combined with the single optional parameter and full annotation coverage, an agent has everything needed to call it correctly.

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?

Schema coverage is 100%, and the schema already documents the YYYY-MM pattern and the current-month default. The description only repeats the month's timezone basis, adding little semantic detail beyond what the parameter schema provides, so the baseline of 3 applies.

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?

Uses a specific verb and resource ('Read the bound organization's ... usage') and enumerates exactly what is returned: finished jobs, billed units, and paid cost in micros, broken down by day. That content profile clearly separates it from siblings like list_jobs or get_account, though the description never names an alternative 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 implied rather than stated: the tool is for a monthly billing view of the bound organization. The one genuinely useful routing detail is the note that costs are in the currency get_account returns, which signals a prerequisite/cross-call relationship. There is no explicit when-not or comparison against list_jobs.

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