Skip to main content
Glama

ordercloud.promotions.search

Search and list OrderCloud promotions with keyword filtering, pagination, and sorting. Find specific promotions by field values or page through results to locate the ones you need.

Instructions

Search and list OrderCloud promotions with filtering, pagination, and sorting

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": "ordercloud.promotions.search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-based)
searchNoKeyword search across promotion fields
sortByNoSort field, prefix with ! for descending
filtersNoField-level filters, e.g. {"Active": "true"}
pageSizeNoItems per page (max 100)

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?

No annotations are supplied, so the description carries the full disclosure burden and does little with it. It never states that the operation is read-only, whether authentication or a buyer/marketplace scope is required, what the response contains, or how pagination totals behave.

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 no filler; the verb and resource come first. It is efficient but so terse that brevity shades into under-specification rather than tightness.

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?

Five optional parameters, no annotations, and no output schema mean the description is the only place to explain return shape and scoping, and it is silent on both. The fully documented input schema compensates for parameter-level gaps, making it minimally adequate rather than complete.

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 each parameter (page, search, sortBy, filters, pageSize) documented including the max-100 cap and the '!' descending prefix. The description only restates those three capability categories, adding no syntax or format detail beyond the schema, 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 uses a specific verb pair ('Search and list') plus the exact resource ('OrderCloud promotions'), which cleanly separates it from the mutation siblings like create, patch, and delete. It does not explicitly name the get or sibling search tools, so differentiation is by implication rather than statement.

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 guidance: nothing says to prefer this over ordercloud.promotions.get for a known ID, or over other search tools. The capabilities listed (filtering, pagination, sorting) describe what it does, not when an agent should choose it.

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