Skip to main content
Glama

Get Account Usage

get_account_usage
Read-onlyIdempotent

Read this organization’s segment and audience totals, delivery count for the last 30 days, rated current-period spend in cents, billing projection freshness, and compute-ceiling usage percentage. Does not create a charge or change the account. Requires 'account-read' scope.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
guidanceNoInterpretation or recovery guidance for this result
count_unitNo
page_countNoNumber of objects on this page, not the organization total
count_stateNoUnknown means no count; available does not guarantee freshness. Recount for a current value.
next_actionsNoSuggested next calls using returned IDs and available scopes. Not executed and not user consent.
money_displayNoCurrency amounts formatted once from source paths ending in _cents. Use verbatim; do not divide again. Null/missing source amounts are omitted, not zero.
segment_countYes
audience_countYes
deliveries_30dYes
population_inputNoPopulation input used for the preview; IDs refer to their current saved definitions
compute_usage_pctYes
billing_projectionYes
current_period_spend_centsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so safety is covered. The description still adds genuinely new behavioral facts beyond them: it requires the 'account-read' scope and it explicitly reassures the agent that calling it will not create a charge or modify the account, which matters for a billing-adjacent tool.

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?

One dense sentence enumerating the payload, followed by a non-mutation guarantee and the scope requirement. No filler, and the key content is front-loaded.

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?

An output schema exists, so enumerating return fields in the description is partly redundant, but it usefully helps selection. Auth scope and non-mutation semantics are covered; only the relationship to sibling billing tools is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the baseline is 4 and there is nothing for the description to disambiguate. The description correctly implies the org context is implicit rather than passed in.

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 names a specific verb ('Read') and resource ('this organization's usage') and enumerates the exact metrics returned: segment/audience totals, 30-day delivery count, rated spend in cents, projection freshness, compute-ceiling percentage. That specificity makes it hard to confuse with the write/mutation siblings, though it never names the adjacent billing siblings (check_balance, check_topup_status) 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 only implied by the read-only framing and the scope requirement; there is no explicit 'use this when you need X instead of check_balance/check_topup_status' routing. An agent can infer it is the aggregate usage snapshot, but the choice among billing-related tools is left to inference.

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