Skip to main content
Glama

Demand Calendar

get_demand_calendar
Read-only

The Demand Calendar: every known event that moves demand (campaigns, email & SMS sends, discounts, price changes, product launches, wholesale orders, market and history notes) overlapping a date range, with each event's status (suggested, waitingForYou, draft, inForecast, live, resultsReady, ended), source, dates, product count, expected effect (percent or units, with a low-high range), the extra units it adds, a stock check (ok / risk / notAssessed, with each short product's on hand, units needed, run-out date, order-by date and order quantity), results (expected against actual lift) for ended events and pace for live ones; plus counts needing attention and the stock-outs of the events' products, and the upcoming US retail dates in the range (retailDates: Black Friday, Mother's Day and the like, from the public calendar). Dates are the tenant's local calendar days; the range defaults to a month back through a quarter ahead (at most 400 days). Read-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_demand_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day, YYYY-MM-DD (default: a quarter after today).
fromNoFirst day, YYYY-MM-DD (default: a month before today).
typesNoComma-separated event types to include: campaign, emailSms, discount, priceChange, productLaunch, wholesaleOrder, marketNote, historyNote, stockout. Default: all.

Output Schema

NameRequiredDescriptionDefault
toNo
fromNo
todayNo
eventsNo
limitsNo
attentionNo
stockoutsNo
retailDatesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description does add real behavior beyond that: dates are the tenant's local calendar days, the range defaults to one month back through one quarter ahead, and it is capped at 400 days. The remainder re-enumerates return fields that the output schema already carries.

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

Conciseness2/5

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

The definition is a single sprawling sentence that piles on every returned field, status enum value, stock-check sub-field and results detail, all of which the output schema already supplies. The purpose is front-loaded, but most of the length is redundant enumeration rather than decision-relevant information.

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?

Coverage is essentially complete for a read-only three-parameter query: caller knows the window semantics, the cap, the defaults, the tenant-local date convention and the event types. Output shape is documented by the output schema, so leaving return values to it would still have been sufficient; nothing an agent needs in order to call it correctly is missing.

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 all three parameters are already documented with formats and defaults, establishing a baseline of 3. The description only restates the default window that the schema's from/to descriptions already give, and adds nothing about how 'types' values interact with the returned events.

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?

States a specific resource (the Demand Calendar of events moving demand) and a scope (events overlapping a date range), plus the categories covered (campaigns, sends, discounts, launches, wholesale orders, notes). It never names a sibling tool, so an agent cannot tell from the text alone why it would pick this over get_demand_forecast or get_demand_analysis_facts.

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 explicit when-to-use or when-not-to-use guidance and no named alternative. 'Read-only' plus the default range describe the mechanics of a call, not the decision to make one, so the agent must infer that this is the calendar/roll-up view among the demand-analysis siblings.

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