Skip to main content
Glama

Multi Books

Read an invoice

invoices_get
Read-only

Read one invoice of a company whole - its contact, dates, status, values and items - live from FreeAgent, Xero, QuickBooks or Zoho Books. A Xero invoice carries Xero's own fields and the files attached to it under attachments, each with the id attachments_get reads it by. A QuickBooks invoice carries QuickBooks' own fields, its Id answered as id, and the files attached to it under attachments, each with the id attachments_get reads it by. A Zoho Books invoice carries Zoho's own fields, its invoice_id answered as id, and the files attached to it under documents, each with the id attachments_get reads it by. A company that could not be read stands under unread with why, as bank_accounts_list answers it.

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": {
      "company": "<company>",
      "invoice": "<invoice>"
    },
    "name": "invoices_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyYesThe id companies_list gives the company.
invoiceYesThe invoice's id, as invoices_list answers it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely useful behavior: per-provider field normalization, id remapping (QuickBooks Id and Zoho invoice_id both surface as id), attachment keys differing by provider (attachments vs documents), and failures appearing under 'unread' with a reason. That is solid added value at the upper-mid range.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded, but the same attachment clause and the same id-mapping sentence are repeated three times for Xero, QuickBooks and Zoho, which a single generalized sentence could cover. The provider-specific detail is useful, yet the restatement costs density.

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?

With no output schema, the description does real work describing the returned shape and provider-specific variations, plus an error path via 'unread'. What remains thin is failure/not-found handling for a single invoice and confirmation that attached files are only referenced by id for attachments_get.

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 both parameters (company, invoice) already document their source and format, so the schema carries the load. The description's id-mapping notes concern the return shape rather than the inputs, so it adds little meaning beyond the schema. Baseline 3 is correct.

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 opens with a specific verb and resource ('Read one invoice of a company whole') and enumerates the payload (contact, dates, status, values, items), which cleanly separates it from invoices_list and the mutation siblings like invoices_update. An agent can immediately tell this is the single-record read by id.

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?

The singular 'Read one invoice' implies use for a known invoice rather than browsing, but the description never states when to prefer invoices_list or how the invoice id is obtained. Any routing guidance is only implicit or carried by the schema text, which points at invoices_list for ids.

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.