Skip to main content
Glama

ordercloud.promotions.patch

Partially update an OrderCloud promotion by ID, changing only the provided fields and leaving the rest unchanged.

Instructions

Update an OrderCloud promotion (partial update)

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": {
      "promotionId": "<promotionId>",
      "promotion": "<promotion>"
    },
    "name": "ordercloud.promotions.patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
promotionYesPartial promotion object with fields to update
promotionIdYesThe promotion ID to update

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, the description carries the full behavioral burden, and "partial update" is its only substantive disclosure — it implies unspecified fields are preserved, which is useful. It says nothing about whether the update is destructive, what permissions are required, whether omitted fields are cleared, or what a successful response looks like.

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 short sentence with the key operation front-loaded and zero filler. It is efficient, though the terseness borders on under-specification rather than genuine concision.

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 mutation tool with a nested patch payload and no annotations or output schema, the description should state that only supplied fields change, note any required permissions, and indicate what is returned. None of that is present, leaving the agent to infer mutation semantics from the schema alone.

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%, including per-field descriptions inside the nested promotion object and the promotionId description, so the schema already does the heavy lifting. The description adds only the "partial" framing, which clarifies that the promotion object is a sparse patch payload rather than a full replacement — a marginal but real addition.

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 and resource ("Update an OrderCloud promotion") and adds the qualifier "partial update", so the operation type is unambiguous. It does not differentiate itself from sibling promotions operations (create, delete, get, assign) by name, but the verb+resource is clear enough to select it.

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 versus ordercloud.promotions.create or a full-replace alternative, and no mention of prerequisites such as needing an existing promotionId or required permissions. The only implicit cue is "partial update", which the agent must interpret on its own.

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