Skip to main content
Glama

ordercloud.priceSchedules.addPriceBreak

Add a quantity-based price break to an existing price schedule by specifying a quantity threshold, price, and optional sale price.

Instructions

Add a price break to an existing price schedule

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": {
      "priceScheduleId": "<priceScheduleId>",
      "priceBreak": "<priceBreak>"
    },
    "name": "ordercloud.priceSchedules.addPriceBreak"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceBreakYesPrice break to add
priceScheduleIdYesThe price schedule 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 provided, so the description carries the full burden. It does not disclose whether the break is appended or overwrites, whether existing breaks are reordered or affected, what permissions/authentication are needed, or what errors occur for duplicate quantity thresholds — all material for a mutation on nested pricing data.

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?

One short, front-loaded sentence with no filler. It is efficient, though its brevity reflects under-specification rather than deliberate density.

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 nested-object mutation with zero annotations and no output schema, the description should say more about the effect on the parent schedule and the return value. As written, an agent knows what it creates but not the consequences or response.

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%: the schema already documents priceScheduleId, and the nested priceBreak with Quantity, Price and SalePrice each have descriptions. The description adds no meaning beyond that, so the baseline of 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?

The description states a specific verb and resource ("add a price break to an existing price schedule"), which is clearly distinct from siblings like create, get, list and patch on priceSchedules. It doesn't name which sibling to use when, but the operation itself is unambiguous.

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 patching the price schedule or recreating it, and no prerequisites stated (e.g., that the target price schedule must already exist and the break is appended). The agent must infer all context from the name.

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