Skip to main content
Glama

ordercloud.promotions.get

Retrieve a single OrderCloud promotion by its ID to inspect its configured discounts and eligibility rules for admin review.

Instructions

Get a single OrderCloud promotion by ID

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

Input Schema

NameRequiredDescriptionDefault
promotionIdYesThe promotion ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.3/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. 'Get' implies a read operation, but the definition does not disclose permissions, error behavior, response shape, or whether the promotion must exist; it adds little beyond a generic retrieval statement.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is a single front-loaded sentence with no wasted wording. It immediately states the action, resource, and lookup key.

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?

For a simple one-parameter read tool, the description gives enough to call it correctly: a promotion ID is required. However, with no output schema and no annotations, it leaves return values and behavioral expectations unexplained, so it is only minimally 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?

There is one required parameter and schema description coverage is 100%, so the schema already defines promotionId clearly. The description restates 'by ID' but adds no format, validation, or sourcing details beyond the schema.

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 and resource ('Get a single OrderCloud promotion') and adds the ID-based scoping constraint. This clearly distinguishes retrieval from sibling mutations like create/delete/patch and list-style tools like search, though it does not name an alternative explicitly.

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?

Usage is implied by 'Get a single ... by ID' — an agent can infer this is for fetching one known promotion. There is no explicit when-to-use guidance, no comparison to ordercloud.promotions.search, and no stated exclusions or prerequisites.

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