Skip to main content
Glama

Get one tax document

get_billing_document
Read-onlyIdempotent

Read one of this account's own tax documents for a credit top-up by id, from list_billing_documents. Returns amounts, VAT rate, whether EU reverse charge applied, and pdfUrl - fetching the PDF itself is REST-only (GET /v1/billing/documents/{id}/pdf), MCP has no binary channel. Same data as GET /v1/billing/documents/{id} (response schema in /openapi.json).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "get_billing_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId of the tax document to read, from list_billing_documents. Looks like inv_9f3a2b7c4d1e.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish a safe, idempotent read. The description adds useful behavior beyond them: it lists the returned fields, notes EU reverse charge and pdfUrl, and explicitly discloses that MCP cannot fetch the binary PDF. Permissions and error behavior are not covered, but the key limitation is clear.

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 purpose and source are front-loaded, and every sentence carries useful information. The second sentence is dense with parenthetical REST and OpenAPI details, but it remains readable and avoids unnecessary repetition.

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 simple one-parameter read tool with no output schema, the description explains the return fields, the source of the id, and the important PDF limitation. An agent has enough information to call it correctly without opening the schema.

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 coverage is 100%, and the single id parameter is already documented as coming from list_billing_documents and having an example format. The description repeats that source and adds the "credit top-up" context, but adds little parameter meaning beyond the schema.

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 uses a precise verb and resource: "Read one of this account's own tax documents for a credit top-up by id." It clearly distinguishes this tool from list_billing_documents and identifies the exact document type and scope.

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

Usage Guidelines4/5

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

It tells the agent to obtain the id from list_billing_documents and clarifies that PDF fetching is REST-only rather than an MCP alternative. It does not explicitly state when not to use this tool, but the source and limitation guidance is clear.

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.