Skip to main content
Glama

List purchase orders

upkeep_list_purchase_orders
Read-only

List purchase orders with status (awaiting, approved, declined, fulfilled), vendor, dates, total cost and quantities. GET /purchase-orders.

Input Schema

NameRequiredDescriptionDefault
limitNoRecords per page, 1-100 (default 25).
titleNoOnly purchase orders with exactly this title.
offsetNoRecords to skip (default 0). Pass the previous reply's next_offset.
statusNoOnly purchase orders in this status.
vendorNoOnly records for this vendor id.
categoryNoOnly this purchase order category.
includesNoExpand referenced records inline instead of returning ids. Allowed: vendor, createdByUser, approvedByUser, fulfilledByUser, declinedByUser.
order_byNoSort: "<field> ASC|DESC" with field one of createdAt, updatedAt, dueDate, poDate, fulfilledAt, approvedAt, declinedAt (default "createdAt DESC").
due_afterNoDue at or after this time. ISO 8601.
due_beforeNoDue at or before this time. ISO 8601.
created_afterNoCreated at or after this time. ISO 8601.
updated_afterNoUpdated at or after this time. ISO 8601.
created_beforeNoCreated at or before this time. ISO 8601.
updated_beforeNoUpdated at or before this time. ISO 8601.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds real value by enumerating what comes back (status, vendor, dates, total cost, quantities) in the absence of an output schema, but says nothing about page size defaults, next_offset looping, or result caps beyond what the schema already states.

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?

Two tight sentences, front-loaded with the resource and return fields, with the endpoint as a trailing anchor. No filler, though the brevity borders on under-specification for a 14-parameter tool.

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

Completeness3/5

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

With 14 optional params, no output schema, and read-only annotations, the description is only minimally adequate: it tells the agent what a record looks like but not how to page, what defaults apply, or how filters combine. The filtering dimension is left entirely to 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%, so all 14 parameters are already documented with limits, enums, and patterns. The description only echoes a subset (status, vendor, dates), adding no semantics beyond the schema and omitting mention of order_by, includes, title, or category.

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?

States a specific verb ('List') and resource ('purchase orders'), plus a compact inventory of the fields each record carries (status, vendor, dates, cost, quantities) and the backing endpoint. It distinguishes itself from the singular sibling upkeep_get_purchase_order through the list semantics, though it never names that sibling explicitly.

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?

Usage is only implied: an agent can infer 'use this to enumerate/filter POs, use get_purchase_order for one'. There is no explicit when-to-use/when-not, no guidance on combining filters, and no pointer to the single-record sibling or to pagination strategy.

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.