Skip to main content
Glama

ordercloud.bulk.products.patch

Apply field-level patches to multiple OrderCloud products in a single batch, using product IDs and configurable concurrent batch sizes.

Instructions

Patch multiple products in batch. Each item: productId + patch object.

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": {
      "items": "<items>"
    },
    "name": "ordercloud.bulk.products.patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesProduct IDs and patches
batchSizeNoConcurrent batch size

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and does not state whether the operation is atomic (what happens if one item fails), what permissions are required, or whether the patch merges or replaces fields. Beyond the word 'Patch' implying mutation, an agent learns nothing about side effects or failure behavior.

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 with the operation front-loaded and no filler. The second sentence largely duplicates the item schema, which is mild redundancy but costs little.

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 bulk mutation with no annotations and no output schema, the description omits partial-failure semantics, per-item error reporting, and the meaning of batchSize beyond its schema default. An agent can construct the call but cannot predict its result or failure mode.

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 coverage is 100%, so the schema already documents items, productId, patch, and batchSize with constraints. The description's 'productId + patch object' only restates the schema, so 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?

States a specific verb and resource ('Patch multiple products in batch') and clarifies the item shape, which implicitly separates it from the single-record ordercloud.products.patch. It stops short of naming that sibling explicitly, so the differentiation is inferred rather than stated.

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?

The phrase 'in batch' implies when this tool is preferable to a single-product patch, but there is no explicit guidance on when to use it versus ordercloud.products.patch or the bulk create/delete/activate variants, and no mention of the 100-item cap as a selection criterion.

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