Skip to main content
Glama

List tax documents

list_billing_documents
Read-onlyIdempotent

List this account's own tax documents (credit top-ups, monthly plan payments, done-for-you orders) and credit notes - not the customer's connected accounting system, see list_invoices for that - newest first. Optionally limit the count (limit, capped at 200) or paginate via before (unix time in milliseconds - returns only documents issued strictly before this time). The response carries hasMore and nextBefore (pass this as before to get the next page, null when hasMore is false). Same data as GET /v1/billing/documents (response schema in /openapi.json).

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": "list_billing_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many rows to return, newest first. Defaults to 12, capped at 200.
beforeNoUnix time in milliseconds; returns only documents issued strictly before this. Pass nextBefore from the previous response to get the next page. Omit for the newest page.

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?

The annotations already declare a safe, idempotent, closed read (readOnlyHint, idempotentHint, destructiveHint=false), and the description adds genuinely useful behavior: newest-first ordering, the 200 cap, a strict-before cursor boundary, and the hasMore/nextBefore response envelope with the rule that nextBefore is null when hasMore is false. It also anchors the data to GET /v1/billing/documents for schema verification.

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?

Purpose and sibling disambiguation are front-loaded, followed by pagination mechanics, so the important routing information comes first. It is a single dense block with nested parentheticals, which is efficient but slightly harder to scan than a split structure would be; nothing is redundant.

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?

For a two-parameter read-only list tool with no output schema, the description covers everything needed to call it correctly: ordering, cap, cursor semantics, the response envelope, and how to iterate. No output schema is needed because the key return fields are described inline.

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 both parameters are already documented, and the description largely mirrors them. It does add workflow-level meaning beyond the schema by explaining that nextBefore must be fed back as before to advance pages, which is a usage pattern not evident from the field descriptions alone. It does not add format or unit detail beyond what the schema states.

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?

The description names a specific verb and resource ('List this account's own tax documents') and enumerates what counts as a document (credit top-ups, monthly plan payments, done-for-you orders, credit notes). It explicitly scopes out the customer's connected accounting system and points to list_invoices, so the agent can distinguish it from a sibling 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?

It gives an explicit when-not: 'not the customer's connected accounting system, see list_invoices for that'. It also states the default ordering ('newest first') and the two usage modes — capping the count with limit or paginating with before — so the calling context is fully implied.

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.