Skip to main content
Glama

Query account usages

query_account_usages
Read-only

Queries current account-wide package limits, usage and remaining capacity. Authenticated basic access; no business OAuth scope is required. Omit resources for all resources, including businesses whose operational APIs are not yet available. Use when asked about quota or before planning capacity-consuming changes. Results do not reserve capacity or guarantee a later write. NOT_APPLICABLE is not unlimited; UNAVAILABLE is not zero. Business lists do not include package quotas. Use KEYWORD_RANK_TRACKING_KEYWORDS for keyword rank tracking; active site/keyword pairs are deduplicated across account shops and parent ASINs. Paused records do not consume keyword capacity.

Input Schema

NameRequiredDescriptionDefault
resourcesNoOptional exact resource identifiers, up to 50 before deduplication. Omit to query all resources. Empty values and unknown identifiers are rejected. Resources describe account-wide usage and are unaffected by business store filters.

Output Schema

NameRequiredDescriptionDefault
itemsNoRequested account-wide resource usages, or all resources when omitted. No pagination.
queriedAtNoUTC ISO-8601 query completion time, not an atomic snapshot timestamp.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover read-only and non-destructive, and the description adds substantial context beyond them: basic auth needs no business OAuth scope, results do not reserve capacity or guarantee a later write, NOT_APPLICABLE is not unlimited and UNAVAILABLE is not zero, business lists exclude package quotas, and paused records don't consume capacity. This is exactly the interpretive context a consumption/quota tool needs.

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?

The core purpose and usage triggers are front-loaded and each sentence carries information. The trailing stream of caveats (NOT_APPLICABLE/UNAVAILABLE, business lists, dedup, paused records) is dense and slightly telegraphic, but none of it is wasted filler.

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?

Given an output schema exists, the description doesn't need to explain return shapes; instead it supplies the missing interpretation rules for sentinel values and capacity accounting. Nothing an agent needs to call and correctly read this tool is absent.

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?

Schema coverage is 100% with per-enum oneOf descriptions, so the baseline is 3; the description adds real meaning by explaining deduplication across account shops and parent ASINs, that paused records don't consume capacity, and that resources are unaffected by business store filters. It does repeat the omit-for-all and max-50 rules already present in the schema, which keeps it from a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Queries current account-wide package limits, usage and remaining capacity'), which immediately distinguishes it from the query_* analytics siblings that return business metrics. Scope (account-wide, not business-filtered) is explicit.

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

Usage Guidelines5/5

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

Gives explicit when-to-use triggers ('when asked about quota or before planning capacity-consuming changes'), explains how to widen scope ('Omit resources for all resources'), and routes keyword-specific questions via KEYWORD_RANK_TRACKING_KEYWORDS. An agent knows both when to call it and how to configure it.

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