Skip to main content
Glama

Multi Books

List credit notes

credit_notes_list
Read-only

List a company's credit notes, newest first - all of them, or those of one status - 25 to a page, for one company or several and at most four at once, read live from FreeAgent, Xero, QuickBooks or Zoho Books; more marks a company holding further pages. A credit note whose words screen as a prompt attack keeps its place by its id, marked withheld; a company that could not be read stands under unread with why, as bank_accounts_list answers it. A Xero credit note carries Xero's own fields, its CreditNoteID answered as id. A Xero organisation lists its customers' credit notes and its suppliers', Type telling them apart, with open and open_or_overdue those approved with credit still to use, overdue those of them past a due date, and refunded those wholly used or refunded. A Zoho Books organisation lists its customers' credit notes and its suppliers' vendor credits, up to 12 of each to a page, more marking either holding more and page carrying both on, each carrying Zoho's own fields, its creditnote_id or vendor_credit_id answered as id, and party telling them apart: customer or supplier. There open and open_or_overdue are those with credit still to use, as balance says, draft the drafts and refunded those wholly used or refunded; a Zoho credit note has no due date, so overdue lists none there, saying so under none. Zoho lists each without its lines; credit_notes_get reads a customer's credit note whole with them. A QuickBooks company lists its customers' credit notes, then its suppliers' credits, each newest first, carrying QuickBooks' own fields, its Id answered as id, and type: customer or supplier; on QuickBooks open and open_or_overdue are those with credit still to use and refunded those wholly used, while draft and overdue list none, saying why under none.

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

Input Schema

NameRequiredDescriptionDefault
pageNoWhich page of each company's list; 1 where omitted.
statusNoOnly the credit notes of this status; all where omitted.
companiesNoThe ids companies_list gives the companies to read; every company where omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover readOnly/openWorld/destructive, yet the description adds substantial behavior: page size 25 (12 per party on Zoho), a cap of four companies per call, a 'more' marker indicating further pages, prompt-attack screening that withholds a note but keeps its id and place, and an 'unread' bucket with reasons for companies that failed. It also documents provider-specific field mapping (CreditNoteID/creditnote_id/vendor_credit_id/Id all answered as id) and the customer-vs-supplier distinction via Type/party.

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?

Almost every sentence carries substantive, non-redundant information, but the description is delivered as one long run-on paragraph of semicolon-chained clauses covering four providers. The core facts (list, newest first, 25/page, four companies max) are front-loaded, yet the provider edge cases should be split into structure rather than buried mid-sentence, which makes the definition slow to parse.

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 read-only, three-parameter list tool with no output schema, the description covers everything an agent needs: pagination, per-call company cap, status semantics across all four providers, partial-failure handling via 'unread', withheld-content handling, and how returned fields are normalized. Nothing material about invocation or interpretation is missing.

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 baseline is 3, but the description genuinely adds meaning the schema cannot: the same status enum means different things per provider (Xero 'open_or_overdue' = approved with credit left; Zoho keyed to balance; QuickBooks 'refunded' = wholly used), and it introduces a four-company cap that is not in the schema (no maxItems). The page parameter's effect ('more marks a company holding further pages') is also clarified.

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 ('List a company's credit notes, newest first') plus the exact scope: all statuses or one, one or several companies, 25 per page. It also distinguishes itself from the sibling read tool by noting 'credit_notes_get reads a customer's credit note whole with them', so an agent can choose between list and get without opening either schema.

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?

Provides clear routing guidance: use this for cross-company/status listing, and use credit_notes_get when the credit note lines are needed (Zoho lists omit lines). It also explains which status values yield results on which provider ('overdue lists none there', 'draft and overdue list none' on QuickBooks). What it lacks is an explicit when-not-to-use or a note about preferring a narrower tool for a single known id.

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.