Skip to main content
Glama

ordercloud.orders.search

Search OrderCloud orders by direction, status, date range, keywords, and field filters, with sorting and pagination to locate specific orders.

Instructions

Search OrderCloud orders with direction, status, date range, filtering, and pagination

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "direction": "<direction>"
    },
    "name": "ordercloud.orders.search"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd date filter (ISO 8601)
fromNoStart date filter (ISO 8601)
pageNoPage number (1-based)
searchNoKeyword search
sortByNoSort field, prefix with ! for descending
statusNoFilter by order status, e.g. Open, AwaitingApproval, Completed
filtersNoAdditional field-level filters
pageSizeNoItems per page (max 100)
directionYesOrder direction: Incoming (seller view) or Outgoing (buyer view)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden, and 'Search' only weakly signals a non-destructive read. It says nothing about result ordering defaults, whether direction scoping is required (which it is), the max page size or pagination limits, or what the response contains — noteworthy given there is no output schema.

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?

One front-loaded sentence with no filler or repetition. It is efficient, though the terseness leaves no room for the routing or behavioral detail an agent would benefit from.

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?

For a 9-parameter tool with a nested filters object, a required enum, no annotations and no output schema, the description is thin. It omits what is returned, how the nested filters behave, and how to page through large result sets — the agent must rely entirely on 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 description coverage is 100%, so every parameter (including the direction enum and the filters map) is already documented in the schema. The description only restates those dimensions in prose without adding syntax, interplay rules (e.g., filters vs. status), or default behavior, so the baseline 3 applies.

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 description gives a specific verb ('Search') and resource ('OrderCloud orders') plus the dimensions it exposes, which cleanly separates it from mutating siblings like ordercloud.orders.create or ordercloud.orders.patch and from the single-record ordercloud.orders.get. It does not explicitly name or contrast those siblings, so it stops 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 when-to-use / when-not-to-use guidance: nothing tells the agent to prefer ordercloud.orders.get when a single order ID is known, or that direction is a mandatory partitioning choice rather than an optional filter. The reader has to infer the search-vs-fetch distinction from the names alone.

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

Deploy Server

Other Tools