Skip to main content
Glama

Search orders and route stops

cxt_search_shipments
Read-only

Search orders and route stops by place, address, city, state, postal code, order template, or only by date range. tracking_type says which field search_criteria is matched against: Location (origin/destination or stop name), Address, City, State, Postal (zip or zip+4), Template (order template name), Tracking (references/barcodes) or DateOnly (no criteria: everything between begin_date and end_date). Returns shipment summaries, up to 1000 per page. An INET login sees the most detail; with an Operations App login this endpoint is called without credentials (CXT lists only internet users and anonymous callers for it), so the view is limited. Costs 1 API credit with the vendor. POST /v2/Shipments/Summaries.

Input Schema

NameRequiredDescriptionDefault
end_dateNoA date (2026-10-01) or an ISO 8601 date-time with a timezone, e.g. 2026-10-01T08:00:00Z.
page_numNoCXT's pageNum, documented as 'the offset for the records to return' (default 0). When has_more is true, ask for the next records and check the new page does not repeat the previous one (if it does, pageNum counts records: use a multiple of page_size).
page_sizeNoResults per page, 1-1000 (default 50).
begin_dateNoA date (2026-10-01) or an ISO 8601 date-time with a timezone, e.g. 2026-10-01T08:00:00Z.
tracking_typeYesWhich field search_criteria matches.
search_criteriaNoValues to match (omit for DateOnly).
include_partial_matchNoAlso return partial matches (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, it discloses result volume (up to 1000 per page), vendor cost (1 API credit), and a non-obvious auth caveat: an Operations App login calls this without credentials, limiting results to internet/anonymous-visible data. Those are exactly the operational details an agent cannot infer from structured fields.

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?

Content is front-loaded: the search capability and tracking_type contract come first, with pagination, auth, and cost notes trailing. It is dense but every sentence carries information; only the trailing endpoint/cost line is slightly tacked on.

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?

With no output schema, the description correctly states what is returned (shipment summaries, page cap) and the schema covers pagination mechanics. Auth limitations and cost are disclosed, leaving only minor gaps like the fields present in a summary record.

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 the baseline is 3, but the description adds real meaning by enumerating what each tracking_type value matches (Location = origin/destination or stop name, Postal = zip or zip+4, Tracking = references/barcodes) and clarifying that DateOnly takes no criteria. This goes beyond the terse schema enum descriptions.

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?

The first sentence states a specific verb (search) and resources (orders and route stops) plus the searchable dimensions, so an agent immediately knows this is a multi-field summary search. It doesn't explicitly name which sibling to prefer (e.g., cxt_track_shipments vs cxt_list_recent_orders), but the summary-search framing differentiates it adequately.

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?

The description clearly explains how tracking_type drives search_criteria, including the DateOnly case where criteria is omitted and the date range is used. That is strong context for correct invocation, but it offers no explicit exclusions or guidance on when to pick a sibling like cxt_track_shipments instead.

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.