Skip to main content
Glama

ordercloud.promotions.create

Create a new OrderCloud promotion by defining its checkout code, discount value, date range, active status, and usage limits.

Instructions

Create a new OrderCloud promotion

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

Input Schema

NameRequiredDescriptionDefault
promotionYesPromotion object to create

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 provided, so the description carries the full behavioral burden, yet it says nothing about permissions required, whether the created promotion is immediately active (the schema defaults Active to false but the description never flags this), what happens on duplicate ID/Code, or what the response returns. For a mutating create with an unannotated safety profile, this is a significant gap.

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 no filler and purpose front-loaded. It is as concise as possible, though arguably too terse given what it omits.

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?

A create tool with a nested object parameter, no annotations, and no output schema needs the description to cover side effects, defaults (e.g., Active=false), and failure modes. The description supplies none of this, leaving the agent with only the schema to reason about creation behavior.

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 nested promotion field documented (ID, Code, Name, Value, ValueType, dates, limits), so the schema does the heavy lifting. The description adds nothing beyond that, which meets the baseline 3 but no more.

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 ('Create a new OrderCloud promotion'), which is unambiguous and distinguishes it from sibling read/patch/delete operations by the verb alone. It does not explicitly contrast with ordercloud.promotions.patch (partial update) or assign, but the create/update split is inferable from naming.

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 about when to use this tool versus ordercloud.promotions.assign, patch, or bulk create paths, and no mention of prerequisites such as required scopes or whether the promotion must be activated afterward. Usage is only implied by the verb.

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