Skip to main content
Glama

Get usage statements

get_usage_statements
Read-onlyIdempotent

Retrieve itemized usage-billing statements for your account to review metered charges by service family and billing period, separate from invoices. Supports pagination.

Instructions

Get itemized usage-billing statements for the account (per-period totals by family, e.g. Firecracker Functions usage, VDS snapshots, AI premium). This is where metered/usage-based charges show up, separate from invoices. Paginated.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number for pagination (default 1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds scope detail (per-family breakdown, distinct from invoices) and notes pagination, but does not cover return shape, page size, or rate limits. Useful additions, not rich behavioral context.

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?

Two sentences, front-loaded with the core purpose before the clarifying scope note, and every clause contributes. The standalone 'Paginated.' sentence is redundant with the schema's page parameter, a minor waste.

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?

For a read-only, single-optional-parameter listing tool with no output schema, the description gives enough to call it correctly and to know what class of billing data comes back. Missing only page-size/return-format detail, which is modest given the tool's simplicity.

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?

There is a single parameter and schema description coverage is 100%, so the schema already documents 'page' with its default and bounds. The description's only nod to it is the trailing 'Paginated.', which adds no syntax or semantics beyond the schema. Baseline 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?

The description uses a specific verb+resource ('Get itemized usage-billing statements for the account') and elaborates the payload with concrete examples ('Firecracker Functions usage, VDS snapshots, AI premium'). It also implicitly separates this from invoice retrieval. It stops short of naming or contrasting a sibling tool, which keeps it from a 5.

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?

The line 'This is where metered/usage-based charges show up, separate from invoices' implies when to reach for this tool over an invoice-related one, but the guidance is implicit and no alternative tool is named. There are no explicit when-not conditions or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools