Skip to main content
Glama

account

Read-onlyIdempotent

Read personal balance/access (summary) or paginated billing (usage), not spending authorization. Returns action plus summary or usage (items, page, pageSize, total, hasMore); increment page only while hasMore. Use spending_policy for automatic-spending limits and list_models for model prices.

Input Schema

NameRequiredDescriptionDefault
toNoUsage end, RFC3339 or YYYY-MM-DD.
fromNoInclusive usage start, RFC3339 or YYYY-MM-DD.
pageNoUsage page, starting at 1.
typeNoOptional credit-log type, e.g. mcp_call or ai_refund.
actionNoRead account summary or paginated billing; defaults to the permitted action.
pageSizeNoUsage rows per page; default 5, maximum 20.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / action / description
      Added value: +"Read account summary or paginated billing; defaults to the permitted action."
    • addedInput schema / properties / from / description
      Added value: +"Inclusive usage start, RFC3339 or YYYY-MM-DD."
    • addedInput schema / properties / page / description
      Added value: +"Usage page, starting at 1."
    • addedInput schema / properties / pageSize / description
      Added value: +"Usage rows per page; default 5, maximum 20."
    • addedInput schema / properties / to / description
      Added value: +"Usage end, RFC3339 or YYYY-MM-DD."
    • addedInput schema / properties / type / description
      Added value: +"Optional credit-log type, e.g. mcp_call or ai_refund."
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety is covered; the description adds genuinely new behavior beyond that—the return shape (action plus summary or usage fields) and the pagination rule 'increment page only while hasMore'. It stops short of disclosing auth/permission requirements or rate limits, but the pagination and return contract are meaningful additions.

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?

Three dense sentences with zero filler: purpose and scope first, then return/pagination contract, then alternative routing. Front-loaded and every 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?

No output schema exists, yet the description enumerates the return fields (items, page, pageSize, total, hasMore) and the iteration rule. All six parameters are schema-documented, and the alternatives are named, leaving nothing critical missing for correct invocation.

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%, so the baseline is 3; the description nevertheless adds semantics the schema lacks—the conditional pagination rule tied to hasMore and the notion of a default/permitted action value. This goes slightly past restating schema fields.

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 (read) and resource (personal balance/access or paginated billing) and immediately scopes it with 'not spending authorization', which separates it from the financially-adjacent sibling spending_policy. An agent can identify the tool's function without opening the schema.

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?

Explicitly routes the agent: 'Use spending_policy for automatic-spending limits and list_models for model prices,' and clarifies the tool is not for spending authorization. It also notes the action defaults to 'the permitted action', covering the no-arg case.

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