Skip to main content
Glama

Search purchase orders

search_purchase_orders
Read-onlyIdempotent

Search for purchase orders by PO number, supplier name, or status. Returns matching purchase orders with summary details. Use this to find recent POs or look up specific ones.

Input Schema

NameRequiredDescriptionDefault
queryNoSearch query - PO number, supplier name, or keyword. Leave empty to list recent POs.
statusNoOptional status filter. Matched against the PO status column it belongs to — order: draft, open, closed; approval: not_requested, pending_approval, approved, rejected; submission: unsubmitted, submitted, change_buyer, change_supplier, finalized, canceled, voided, queued; receipt: unreceived, received, partially_received, received_for_less, dropship; shipment: unshipped, planned, partially_shipped, shipped_to_warehouse, shipped_to_customer, picked_up_at_supplier; or "archived".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds the fact that results are 'summary details' rather than full records, but says nothing about result limits, pagination, or empty-result behavior beyond what the schema notes.

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 short sentences that lead with the action and searchable fields, then the return shape and usage. Efficient overall, though the second sentence is mildly redundant with the first.

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?

For a zero-required-parameter read tool with no output schema, the description conveys the return contents, the searchable dimensions, and the empty-query default (via schema), while annotations carry the safety profile. Only the absence of any reference to sibling alternatives leaves a small gap.

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 description coverage is 100%, with the query parameter spelling out the searchable fields and the empty-case listing behavior, and status enumerating every accepted value. The description's mention of 'PO number, supplier name, or status' merely echoes the schema, adding no syntax or matching semantics.

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 (search) and resource (purchase orders) and identifies the searchable fields plus the return shape ('summary details'). Implies it differs from get_purchase_order_details by returning only summaries, but never names that sibling, so the differentiation is inferred rather than explicit.

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?

'Use this to find recent POs or look up specific ones' gives a use context, but there is no explicit when-not guidance and no routing to the obvious alternative get_purchase_order_details for full PO data. Usage is implied, not delineated.

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.