Skip to main content
Glama

ordercloud.categories.search

Search categories within a specified OrderCloud catalog using keywords, filters, sorting, and pagination to find relevant categories for catalog management.

Instructions

Search categories within an OrderCloud catalog

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": {
      "catalogId": "<catalogId>"
    },
    "name": "ordercloud.categories.search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-based)
searchNoKeyword search
sortByNoSort field, prefix with ! for descending
filtersNoField-level filters
pageSizeNoItems per page (max 100)
catalogIdYesThe catalog ID

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 burden of behavioral disclosure. It implies a read/search operation but does not state that it is read-only, describe pagination defaults or limits, explain return format, or mention any permissions or rate limits; only the schema hints at paging bounds.

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?

The description is a single front-loaded sentence with no wasted words. It is arguably under-sized for a six-parameter search tool, but it is structurally clean and concise.

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 search tool with six parameters, a nested filters object, and no annotations or output schema, the description is too thin. It does not explain the filter format, sorting syntax, paging behavior, or what search results look like, leaving important context to the schema and inference.

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 all six parameters, including catalogId, page, pageSize, search, sortBy, and the nested filters object, are already documented in the input schema. The description adds no meaning beyond what the schema provides, which matches the baseline of 3 when schema coverage is high.

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 states a specific verb (Search) and resource (categories) scoped to an OrderCloud catalog, which distinguishes it from siblings like ordercloud.categories.get and ordercloud.categories.create. It does not explicitly call out how it differs from ordercloud.categories.list or other search tools, but the purpose is clear.

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 guidance on when to use this search tool versus ordercloud.categories.get or ordercloud.categories.list, nor any stated conditions, prerequisites, or exclusions. The intended usage can only be inferred from the verb 'Search'.

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