Skip to main content
Glama

get_usage_history

Read-onlyIdempotent

Retrieve your organization's monthly usage totals for the last 1-12 UTC calendar months, oldest first, to monitor counters and current plan limits.

Instructions

Get the calling org's monthly usage totals for the last 1-12 UTC calendar months (default 6), oldest first, ending with the current partial month. Each month lists every monthly counter (api_calls, events, webhook_deliveries, availability_queries, proposals, holds_created, holds_confirmed, holds_expired, cross_calendar_queries); limits are the current plan's (null = unlimited). Requires an Organization key (chr_sk_*); Agent keys cannot read org-wide usage.

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

Input Schema

NameRequiredDescriptionDefault
monthsNoNumber of UTC calendar months to return, 1-12 (default 6)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.6.2

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial context beyond them: result ordering, inclusion of the current partial month, the null-means-unlimited convention for limits, and the key-type authorization constraint. That is exactly the kind of behavioral detail annotations cannot convey.

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 action and scope, with no filler. The first sentence is dense with parenthetical detail but each clause carries information an agent needs.

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 compensates by enumerating the returned counters and explaining the limits field semantics, and it covers auth requirements and ordering. Nothing material is missing for correct invocation.

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% and the single 'months' parameter is fully documented in the schema, including range and default. The description restates the same 1-12/default-6 semantics without adding new meaning, so the 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 gives a specific verb and resource ('Get the calling org's monthly usage totals') plus scope (1-12 UTC calendar months, default 6), ordering (oldest first, ending with the current partial month), and the exact counters returned. It does not explicitly differentiate itself from the sibling get_usage, so it falls short of 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 Guidelines4/5

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

It states a clear prerequisite and exclusion: an Organization key (chr_sk_*) is required and Agent keys cannot read org-wide usage. It does not say when to prefer this over the sibling get_usage, so guidance is clear but incomplete.

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