Skip to main content
Glama

Xero Purchase Orders

xero_purchase_orders

Lists Xero purchase orders by page and status so you can review DRAFT, SUBMITTED, AUTHORISED, BILLED, or DELETED orders.

Instructions

List purchase orders.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number
statusNoFilter: DRAFT, SUBMITTED, AUTHORISED, BILLED, DELETED

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, and it discloses almost nothing: 'list' implies a read, but there is no word on pagination limits, default result volume, ordering, or auth requirements. For an unannotated tool this is a significant behavioral gap.

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?

A single front-loaded sentence with zero waste and nothing misleading. However, the brevity is under-specification rather than disciplined concision, so it does not reach a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, but with no annotations and no usage context the description leaves the agent guessing about scope and result volume. For a list endpoint with pagination, that is thin.

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 (page, status) are documented in the schema, including the status value list, so the schema does the work. The description adds no extra meaning such as default page size or whether status filtering is exclusive, which meets the baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"List purchase orders" gives a specific verb (list) and resource (purchase orders), so an agent knows exactly what the tool returns. It does not explicitly contrast with the sibling xero_create_purchase_order or other order-adjacent tools, which keeps it short of a 5.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus xero_create_purchase_order or the broader xero_bills/xero_bill family, and no mention of prerequisites such as tenant/connection scoping. The only implied usage is 'read-only retrieval', left entirely to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.