Skip to main content
Glama

Pricing Scenarios

get_pricing_scenarios
Read-only

How many weeks an item's available stock takes to clear under pricing moves, and which to pick: hold the price (the demand forecast), mark it down (default 15%; demand change from this workspace's own measured price response — a qualified markdown outcome on the item, else past price cuts — and status no_measured_response with no weeks when nothing was measured), and bundle it with the item most often bought on the same orders (an estimate: partner units a day × the share of the partner's orders that already include this item; status no_bundle_partner below 5 shared orders in 180 days). Each scenario has weeks to clear (">52" when it does not clear within 52 weeks), unit and gross margin, and its basis; recommendedKey is the fastest clearance that keeps a unit margin of at least zero. Quote the numbers and their basis; never invent a scenario or a number the response does not carry. deepLink opens the scenarios in Spark. Read-only.

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": {
      "itemSku": "<itemSku>"
    },
    "name": "get_pricing_scenarios"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemSkuYesItem SKU (exact match, case-insensitive).
warehouseIdNoOptional warehouse id (GUID) to read stock for; omit for every warehouse.
markdownPercentsNoOptional comma-separated markdown percentages to model, at most 3, each 1-90 (default 15).

Output Schema

NameRequiredDescriptionDefault
okNo
asOfNo
notesNo
itemIdNo
itemSkuNo
summaryNo
deepLinkNo
itemNameNo
maxWeeksNo
unitCostNo
scenariosNo
warehouseIdNo
currentPriceNo
stockToClearNo
recommendedKeyNo
forecastDailyUnitsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover the safety profile (readOnlyHint, destructiveHint=false, openWorldHint=false), yet the description adds substantive behavior: markdown demand is sourced from the workspace's own measured response, falling back to past price cuts, then to status no_measured_response with no weeks; bundling requires 5 shared orders in 180 days; '>52' is a sentinel for non-clearance. The closing 'Read-only' merely restates the annotations, but the fallback chains and thresholds are genuinely additive.

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

Conciseness3/5

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

The first clause is well front-loaded, but the body is a single dense run-on with stacked parentheses and semicolons that is hard to parse on first read. Every sentence carries information, so little is waste, yet the structure would benefit from being broken into discrete statements about each scenario type.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, yet the description still usefully explains the shape of each scenario (weeks to clear, unit and gross margin, basis) and the meaning of recommendedKey and deepLink, which supports correct reporting. Given the tool's analytical complexity, this is close to complete, with only the alternative-tool routing left unaddressed.

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 schema already documents itemSku, warehouseId and markdownPercents; baseline is 3. The description adds some interpretive meaning by explaining what a markdown percentage models and why markdowns appear at all, but it never mentions warehouse scoping or the at-most-3 / 1-90 markdown constraints, so it does not materially extend 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 opening clause names the resource and the computation concretely: weeks for an item's available stock to clear under pricing moves, with the three candidate moves enumerated (hold, markdown, bundle). It is far more specific than the title 'Pricing Scenarios', but it never names a sibling (e.g. get_item_pricing) to say how this differs from reading existing pricing settings, so differentiation is inferred rather than stated.

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?

There is real guidance on interpreting and reporting results ('Quote the numbers and their basis; never invent a scenario or a number the response does not carry') and on which scenario wins (recommendedKey = fastest clearance at non-negative unit margin). What is missing is when to call this versus alternatives such as the demand forecast or pricing-settings tools, and any explicit exclusion or prerequisite.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources