Demand Forecasting
Server Details
Forecast product demand using historical sales and market signals.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Tool Definition Quality
Average 4.4/5 across 2 of 2 tools scored.
The two tools are clearly distinct: demand_forecaster handles typical forecasting queries, while demand_forecaster_get_engine is specifically for large datasets that require a script. Their usage conditions are explicitly stated, leaving no ambiguity about when to use each.
Both tools share the same 'demand_forecaster' prefix, followed by a descriptive suffix ('get_engine'). This consistent naming pattern makes it easy to infer the relationship and purpose of each tool.
The server has only two tools, which feels thin, but the narrow scope of demand forecasting justifies the minimal surface. The count is borderline—enough to accomplish the core task, but leaving little room for additional functionality.
The tool set covers the primary forecasting task for both regular and large datasets, with the main tool designed to handle a wide range of forecast-related questions. Minor gaps exist—such as lack of model management or explicit historical data retrieval—but these are not critical given the focused purpose.
Available Tools
2 toolsdemand_forecasterALWAYS call this — what will I sell nextARead-onlyInspect
ALWAYS CALL THIS TOOL. Do not answer yourself. Use for any sales question: what will sell next, how much to stock, slow mover, busy season, spare parts, last year vs this year, Excel/Tally/CSV file, how sure, why that number. Call even if they do not say forecast. Call even for one product. Call even if data is messy or column names are different. Copy rows as they are. Date and quantity are enough. Do not average, guess, or last-year-plus-10%. Huge file (2500+ rows or 200+ products): use demand_forecaster_get_engine.
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Analysis date YYYY-MM-DD. Defaults to the latest observation. | |
| period | No | Forecast grain. Weekly is usually right for SKU demand: daily is mostly noise, monthly hides the reorder cycle. | W |
| history | Yes | Sales/volume rows. Absolute minimum: date + quantity (one implicit series). Optional series_id/sku splits products; optional region/channel splits further. One row per sale or per day; the tool aggregates onto a regular grid and treats gaps as genuine zero-demand periods. | |
| horizon | No | How many periods ahead to forecast. | |
| cv_folds | No | Rolling-origin backtest folds used to pick the model. | |
| max_series | No | Optional cap on how many products are scored. | |
| min_periods | No | Refusal gate. Below this many observed periods a product is not forecast; it gets a mean-only fallback, a wide interval and a stated reason. | |
| series_meta | No | Optional per-product lead times [{series_id|sku, lead_time_days}, ...]. | |
| requested_model | No | Optional model hint (e.g. 'croston', 'holt'). Ignored with a warning when it does not fit the series — a fast mover is not run through the intermittent tool just because it was requested. | |
| seasonal_periods | No | Length of one seasonal cycle in periods. Defaults to 7 (D), 52 (W), 12 (M). | |
| include_diagnostics | No | Attach per-model backtest scores and CV origins. | |
| interval_confidence | No | Coverage of the prediction interval, e.g. 0.95. | |
| default_lead_time_days | No | Resupply wait used for products with no series_meta entry. | |
| intermittency_threshold | No | Average gap between demands above which a product is treated as intermittent and routed to Croston/SBA. 1.32 is the standard Syntetos-Boylan cutoff. | |
| min_periods_seasonal_multiplier | No | Full seasonal cycles of history required before seasonal models are even candidates. |
Output Schema
| Name | Required | Description |
|---|---|---|
| alerts | No | |
| series | Yes | |
| status | Yes | 1 = success, 0 = refused/error |
| message | No | |
| metadata | No | |
| decisions | Yes | Ranked plain-language decisions (ORDER MORE / ORDER LESS / ORDER NOW / USE A SIMPLE RULE / STOCK DIFFERENTLY / WAIT FOR DATA). No modelling jargon by design. |
| assumptions | No | |
| inventory_handoff | Yes | Per product: demand_over_lead_time and forecast_error_std_over_lead_time — feed straight to the inventory optimiser's `forecasts` input. |
| portfolio_summary | No | |
| data_quality_report | No |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark it readOnly/openWorld/non-destructive, but the description adds substantial behavior: it copies rows as-is, aggregates to a regular grid, treats gaps as zero demand, enforces a min_periods refusal gate with mean-only fallback, and will ignore model hints that don't fit. This goes well beyond the structured annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with a strong imperative and organized use-case list, but it is lengthy and somewhat repetitive (multiple 'Call even if...' clauses). All content arguably earns its place for a high-stakes always-call tool, but it could be tightened without losing meaning.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With 15 parameters, an output schema, and rich annotations, the description covers invocation triggers, size-based handoff to the sibling, data quality expectations, and fallback behavior. The agent is fully equipped to decide when and why to call.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and each parameter already has a detailed description including aliases and defaults. The tool description contributes only general 'date and quantity are enough' guidance, which mirrors the schema's history description, so it adds minimal semantic value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool forecasts demand/sales from historical data with an explicit list of use cases (what will sell next, how much to stock, slow mover, busy season). It distinguishes from sibling demand_forecaster_get_engine by file-size threshold, so the agent knows this is the default forecasting tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives explicit 'ALWAYS CALL THIS TOOL' directive and lists when to call, including edge cases (no forecast keyword, one product, messy data). It explicitly names the alternative for huge files ('use demand_forecaster_get_engine') and instructs not to use naive methods, making the correct invocation path unambiguous.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
demand_forecaster_get_engineONLY for a huge sales file — get the scriptARead-onlyInspect
Call this INSTEAD of demand_forecaster only when the file is huge (more than about 2500 rows or 200 products). It gives a script. Save it exactly and run it. Do not guess the numbers. For a normal question or a small file, call demand_forecaster.
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | ||
| period | No | W | |
| horizon | No | ||
| meta_path | No | Optional path to a per-product file with lead_time_days. | |
| min_periods | No | ||
| history_path | No | Path to the sales history file (CSV/TSV/JSON/JSONL) inside your sandbox. May also carry a lead-time column. | |
| seasonal_periods | No | ||
| interval_confidence | No | ||
| default_lead_time_days | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| notes | No | |
| period | No | |
| script | Yes | |
| horizon | No | |
| language | No | |
| requires | No | |
| writes_file | No | |
| instructions | Yes | |
| code_integrity | Yes | |
| engine_version | Yes | |
| meta_path_used | No | |
| data_requirements | No | |
| history_path_used | No | |
| network_access_required | No |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description discloses key behavioral traits: it returns a script, instructs to save and run it exactly, and warns not to guess the numbers. This goes beyond the annotations (readOnlyHint=true) by explaining the workflow. However, it does not detail what the script does or any required execution environment.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three short, front-loaded sentences with no fluff. Every sentence contributes meaningful guidance: trigger condition, action, and alternative.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the output schema exists, the description does not need to explain return values. It covers the decision rule, alternative, and workflow adequately. It could mention what the script outputs or how to execute it, but the essentials are present.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is only 22% (2 of 9 parameters have descriptions). The description adds no parameter semantics; it only mentions the condition for using the tool (file size) but does not explain any of the parameters such as history_path, as_of, period, or horizon. It fails to compensate for the low schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: it is an alternative to demand_forecaster for huge sales files, providing a script instead of a direct forecast. It names the specific condition (file size) and differentiates from the sibling tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit usage guidance is provided: call this INSTEAD of demand_forecaster only when the file is huge, and call demand_forecaster for normal or small files. This is a clear when/when-not and names the alternative.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Frequently Asked Questions
Claiming proves that you control a remote MCP connector. It does not move, proxy, or interrupt the server.
Open the connector listing, choose Claim ownership, and sign in to Glama.
Complete one verification method:
GitHub identity — fastest for official registry listings. For a namespace such as
io.github.alice/server, link the matching GitHub user or an account that owns the GitHub organization, then choose Claim with GitHub.HTTP challenge — works when you can deploy a public file. Generate a token, publish the exact JSON Glama shows at
/.well-known/glama.jsonon the same origin as the connector, then choose Check HTTP challenge.DNS challenge — works when you control DNS but cannot change the server. Generate a token, create the exact TXT record Glama shows, wait for it to propagate, then choose Check DNS challenge.
After verification, Glama sends a confirmation email and gives you access to listing details, thumbnails, health checks, and analytics. Keep the HTTP file or DNS record in place: Glama periodically checks it and ownership remains verified while the token is discoverable.
The HTTP ownership file has this structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"claim": "glama_claim_..."
}Claim tokens are opaque, stable, and bound to the signed-in Glama account. They contain no email address or other personal information. If Glama can no longer discover a verified HTTP or DNS token, it starts a seven-day grace period before removing claim-based access. Restore the same token during that period to keep ownership verified. Never publish an email address, Glama session token, GitHub token, or connector credential as ownership proof.
If verification fails, confirm that you copied the current token exactly. The HTTP file must be public, return valid JSON with a successful HTTP response, and stay on the connector's origin. DNS changes may need more time to propagate. A claim cannot transfer to a different origin or hostname: if the connector target changes, Glama starts the grace period and the new target must be claimed separately after the previous claim is released.
For a connector linked to the official MCP Registry, registry updates continue to replace its name, description, and URL by default. After claiming, open Manage connector and enable Use Glama listing details as the source of truth if edits made on Glama should be preserved. Categories and thumbnails are always managed on Glama; registry linkage and technical connection settings continue to sync.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
To improve your MCP server's ranking:
Claim ownership of the server listing
Complete the server profile with an accurate description and thumbnail
Provide a test profile so Glama can connect to and evaluate the server
Keep tool definitions clear and complete to earn a high Tool Definition Quality Score (TDQS)
Route real usage through the Glama Gateway; more recorded successful server uses also improve the ranking
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Connectors
MyTelescope demand intelligence: signals, forecasts, competitor share, and emerging trends.
Sales analytics, ML forecasting, customer segmentation, and trend analysis.
PredictOracle - 12 forecasting tools: time-series, scenario analysis, risk projections.
Product and category demand trend volume over time, with growth signals. Free key at trendsmcp.ai
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables zero-shot demand forecasting for supply-chain decisions, returning mean predictions, quantile bands, and confidence scores via a strictly-typed MCP tool.MIT
- FlicenseAqualityCmaintenanceEnables demand forecasting and replenishment recommendations using statistical models (Syntetos-Boylan classification, AutoETS, TSB) and provides tools for forecasting, evaluation, and order quantity calculation.6
- AlicenseAqualityCmaintenanceEnables AI assistants to forecast revenue and demand for Shopify stores using Google's TimesFM model. Provides tools for revenue forecasting, demand analysis, promotion analysis, and anomaly detection.71MIT
- FlicenseDqualityBmaintenanceExposes forecast lookup tools for consumer spending predictions across regions and time periods.2