Skip to main content
Glama

Get usage

account_usage_get
Read-onlyIdempotent

Return token usage for the authenticated user. date_range is this_week, this_month, or all_time. Defaults to this_month. Includes a total and recent log rows.

Input Schema

NameRequiredDescriptionDefault
pageNoOne-based page number for recent usage rows; defaults to 1.
limitNoMaximum usage rows per page; defaults to 20.
date_rangeNoUsage period to aggregate; defaults to this_month.

Output Schema

NameRequiredDescriptionDefault
logsYes
pageYes
limitYes
totalYes
summaryYes
date_rangeYes
total_pagesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful output context ('Includes a total and recent log rows') and default date behavior, but does not go much further.

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?

Four short sentences, front-loaded with the purpose and followed by the date_range values, default, and output shape. Every sentence earns its place and there is no filler.

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?

The tool has an output schema, so return values do not need full explanation, and all parameters are fully documented in the schema. The description is adequate for a simple read-only usage tool, though it lacks explicit when-not guidance.

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%, so the schema already documents all three parameters in detail. The description repeats the date_range enum and default but adds no extra semantics for page or limit beyond what the schema provides.

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 verb and resource: returns token usage for the authenticated user. It is distinguishable from siblings like account_credits_get and account_invoices_get, though it does not explicitly call out those distinctions.

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 by 'returns token usage for the authenticated user', but there is no explicit guidance on when to choose this tool over account_credits_get or account_invoices_get, nor any conditions or exclusions.

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