Skip to main content
Glama

Multi Books

List purchase orders

purchase_orders_list
Read-only

List a company's purchase orders, newest first, 25 to a page, for one company or several and at most four at once, read live from Xero, QuickBooks or Zoho Books; more marks a company holding further pages. A purchase order 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 purchase order carries Xero's own fields, its PurchaseOrderID answered as id. A Zoho Books purchase order carries Zoho's own fields, its purchaseorder_id answered as id. A QuickBooks purchase order carries QuickBooks' own fields, its Id answered as id. A FreeAgent company lists none, saying under none: FreeAgent keeps no purchase orders: what a supplier bills is kept as a bill, which bills_list lists.

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

Input Schema

NameRequiredDescriptionDefault
pageNoWhich page of each company's list; 1 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.1/5.0
Behavior4/5

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

Annotations already declare readOnly/non-destructive/closed-world, yet the description still adds substantial behavior the annotations don't cover: page size of 25, newest-first ordering, the four-company ceiling, a per-company "more" pagination marker, withheld records retained by id when screened as a prompt attack, and an "unread" bucket carrying a reason for failed companies. Provider-specific field naming is spelled out for all three APIs. Slight deduction because the error/withheld semantics are described in dense, indirectly worded prose.

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?

Purpose and paging are front-loaded, which is good, but the three near-identical provider sentences (Xero/Zoho/QuickBooks id mapping) repeat one pattern three times and the withheld/unread sentences are convoluted. Content earns its place, but the phrasing could be considerably tighter.

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?

With no output schema, the description carries the full burden of describing returns and does so: record ordering, page markers, withheld entries, per-company error reporting, provider-native fields with id aliasing, and the FreeAgent empty result. An agent knows what shape of response to expect.

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 adds real meaning beyond the schema: the "at most four" limit on companies (the schema has minItems but no maxItems) and the interpretation of the paging marker. The page parameter's semantics are largely left to the schema's own description.

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?

Opens with a specific verb+resource ("List a company's purchase orders") and immediately scopes it: newest first, 25 per page, one or several companies (max four), live from Xero/QuickBooks/Zoho Books. It also names the sibling it defers to for FreeAgent data (bills_list), so an agent can separate it from bills_list and the purchase_orders_get/create siblings.

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?

Useful conditional context is present (multi-company listing, the four-company cap, and the FreeAgent redirect to bills_list), but there is no explicit statement of when to prefer purchase_orders_get for a single order or when filtering is unavailable. Guidance is implied rather than stated.

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.