Skip to main content
Glama

forecast_demand

Forecast demand by product, collection, or SKU with confidence bands. Uses TimesFM to project units, revenue, or orders over a chosen horizon.

Instructions

Forecast demand by product, collection, or SKU using TimesFM 2.5.

Returns a ranked markdown table showing projected demand per group
with confidence bands. When group_value is 'all', forecasts the top N
groups by historical volume.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations provided, so description carries full burden. It mentions using TimesFM 2.5 model and returning markdown table with confidence bands, but does not disclose if it is read-only, requires permissions, data freshness, or side effects. For a forecasting tool, behavioral traits like 'safe to call repeatedly' or 'requires historical data' are missing.

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?

Two sentences: first states overall purpose and output format, second clarifies a key parameter behavior. No wasted words, front-loaded with the core action.

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?

Despite having output schema (not shown), description only covers group_by, group_value, and confidence bands. Missing explanation for lead_time_days, safety_factor, store, top_n, horizon_days, and metric enumeration. For a tool with 8 parameters and multiple sibling tools, this is incomplete.

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 descriptions already cover all 8 parameters (group_by, group_value, metric, etc.) with defaults and ranges. Description adds value only for group_value='all' behavior. Baseline 3 due to high schema coverage.

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?

Description clearly states verb and resource: 'Forecast demand by product, collection, or SKU'. It distinguishes from sibling forecast_revenue by mentioning multiple metrics (units, revenue, orders) and the use of TimesFM 2.5. The 'all' case for top N groups is also specified.

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?

Provides some usage context: when group_value='all', forecasts top N groups by historical volume. However, no explicit guidance on when to use this tool vs siblings like forecast_revenue or analyze_promotion. No 'when not to use' or prerequisites stated.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mcostigliola321/shopify-forecast-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server