Skip to main content
Glama

ordercloud.products.setDefaultPrice

Sets a product's default price by creating or updating its price schedule, with optional currency and sale price support.

Instructions

Set the default price for a product by creating or updating a 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": {
      "productId": "<productId>",
      "price": "<price>"
    },
    "name": "ordercloud.products.setDefaultPrice"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceYesDefault price to set
currencyNoCurrency code (default: USD)
productIdYesThe product ID
salePriceNoOptional sale price

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.2/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. It discloses that the operation creates or updates a price schedule, which is useful upsert context, but it omits permissions, idempotency, effects on existing price breaks or schedules, and what is returned.

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. The key operation and mechanism are both stated immediately.

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 no annotations and no output schema, the description is too thin about side effects and results. The parameter schema is strong, but the description does not complete the behavioral context an agent needs before calling a price-setting operation.

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%, so the input schema already explains productId, price, currency, and salePrice. The description adds no parameter meaning beyond the schema, making the baseline score appropriate.

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: setting a product's default price. It also clarifies the mechanism, creating or updating a price schedule, which distinguishes it from a plain product patch, though it does not explicitly name the priceSchedules siblings.

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 the purpose: use this to set a product's default price. However, it does not explicitly say when to use this instead of ordercloud.priceSchedules.create or patch, nor when not to use it.

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