Skip to main content
Glama

Submit Demand Signal

submit_demand_signal

Submit an expert demand signal: a bounded, expiring nudge to forecasted demand for one item (by SKU), a tag cohort, or a category. Use it to feed outside knowledge the sales history can't see yet — an upcoming promotion, a trend or search spike, a market event, weather-driven demand. The multiplier (e.g. 1.25 = +25%) is clamped to the allowed band and the duration to the allowed window; the nudge decays linearly back to neutral by expiry, so a signal can inform a forecast but never own it. The owning client is derived from the target (item's client, or the credential's pin for cohorts) — never supplied. Signals can't be deleted over MCP; they self-neutralize at expiry, and early retirement (expire) is an in-app action. The preview carries an advisory estimate calibration: how far this workspace's completed signals (yours by submittedBy, and those backed by the same evidence source) have run from what sold, with your multiplier calibrated. It never changes your multiplier unless you set adoptCalibration.

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": {
      "signalScope": "<signalScope>",
      "multiplier": "<multiplier>",
      "durationDays": "<durationDays>"
    },
    "name": "submit_demand_signal"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoThe targeted tag, matched against items' tags (required for Tag scope).
noteNoFree-text rationale / provenance — what outside knowledge this encodes and where it came from (e.g. "holiday gift-guide feature confirmed for November").
itemSkuNoThe targeted item's SKU (required for Item scope).
previewNoStep 1 of the required two-step write: set true to validate and receive a structured preview (resolved target + effective clamped values) plus a single-use previewReceipt. Nothing is created until the commit call.
decayModeNoDecay behavior: Decaying (default, linear fade to neutral) or Sustained (full strength through the window, hard stop at expiry).
categoryIdNoThe targeted category id (GUID; required for Category scope).
evidenceIdNoOptional evidence id (GUID) linking this signal to a demand evidence record for provenance.
multiplierYesThe nudge multiplier, e.g. 1.25 = +25%, 0.8 = -20%. Clamped to the allowed band (the preview reports the effective value).
signalScopeYesSignal scope: Item, Tag, or Category.
submittedByNoOptional label for the submitting specialist/assistant.
durationDaysYesHow many days the signal stays in force (clamped to the allowed window; the preview reports the effective value).
idempotencyKeyNoCaller-generated idempotency key; required with previewReceipt to commit.
previewReceiptNoStep 2 of the required two-step write: the receipt returned by the preview call. Supply together with a fresh idempotencyKey to commit; calls without it are refused.
adoptCalibrationNoExplicitly adopt the estimate calibration shown in the preview: the multiplier you send stays your stated value and is recorded as such, and the signal stores it calibrated. Refused when no calibration is available yet. Default false.

Output Schema

NameRequiredDescriptionDefault
okNo
signalNo
previewNo
expiresAtNo
actionItemIdNo
confirmationNo
correlationIdNo
approvalResultNo
idempotencyKeyNo
previewReceiptNo
idempotentReplayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which only establish non-read-only, non-destructive, non-idempotent), it discloses the mechanics that actually govern behavior: multiplier clamping to an allowed band, duration clamping to an allowed window, linear decay to neutral by expiry, ownership derived from the target 'never supplied', and no MCP-visible deletion. It also warns that adoptCalibration is 'Refused when no calibration is available yet,' which is a real failure mode an agent must anticipate.

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?

It is front-loaded and dense with substance — definition first, then use cases, then mechanics, then the preview/calibration caveat. Every sentence carries information, though the calibration paragraph is long and slightly recursive ('the multiplier you send stays your stated value and is recorded as such'), which costs a little readability.

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

Completeness5/5

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

For a 14-parameter write tool with an output schema and full annotation coverage, the description supplies exactly the missing pieces: the two-step preview→commit contract, the immutability/expiry model, derived ownership, and the calibration refusal condition. An agent could execute the correct call sequence from this description alone, and return-value shape is correctly left to the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description adds meaning on top by explaining that multiplier values are clamped to a band and duration to a window with 'the preview reports the effective value,' so the agent knows its input may not survive verbatim. It also frames the preview/previewReceipt pair as a required two-step sequence rather than two independent flags, which is more than the per-parameter schema text conveys.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a precise verb+resource and an explicit definition of the thing being created: 'a bounded, expiring nudge to forecasted demand for one item (by SKU), a tag cohort, or a category.' It names all three targeting scopes and mentions the 'evidence record' linkage, which is enough for an agent to distinguish this from submit_demand_evidence without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear positive guidance with concrete examples of when to reach for it: 'outside knowledge the sales history can't see yet — an upcoming promotion, a trend or search spike, a market event, weather-driven demand.' It also rules out one workflow explicitly ('Signals can't be deleted over MCP ... early retirement (expire) is an in-app action'). What it lacks is a named alternative — it never says when to submit evidence instead of a signal, even though submit_demand_evidence is a sibling.

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