Skip to main content
Glama

Get usage report

get_usage_report
Read-onlyIdempotent

Verification usage for a calendar period with status and reason breakdowns (GET /v1/reports/usage). Free.

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

Input Schema

NameRequiredDescriptionDefault
periodNoCalendar period (UTC). this_week = current Sun–Sat; this_month = current calendar month; this_year = current calendar year; lifetime = all-time total (total only — no breakdown). Default this_month.
connection_idNoScope to one connection id. Not valid with `lifetime`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds two useful facts beyond that: the report is free (no billing impact) and it breaks down by status and reason. It says nothing about auth needs, rate limits, or pagination.

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?

A single front-loaded sentence with the core resource first, the report contents second, and the endpoint and cost as compact trailing qualifiers. Nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 at least signals that the response contains status and reason breakdowns, which is valuable. However, for a read-only reporting tool it leaves the return shape, totals format, and behavior for the lifetime period (total only) to the schema alone.

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 description coverage is 100%, with the period enum values and the connection_id/lifetime incompatibility already spelled out in the schema. The description adds no syntax, default, or constraint detail beyond that, 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?

States a specific resource (verification usage) with scope (a calendar period) and adds the report's shape (status and reason breakdowns), plus the underlying endpoint. It is clearly distinct from siblings like get_account, list_jobs, or get_batch_results, though it differentiates only implicitly by resource rather than naming an alternative.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no alternative is named. The reader must infer from the tool name and 'Free.' that this is the reporting entry point rather than a job or connection lookup.

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