Skip to main content
Glama

Demand Analysis Facts

get_demand_analysis_facts
Read-only

Compute the tenant's demand-analysis FACTS snapshot, fresh and deterministic: catalog + history span, tenant and cohort seasonality shapes (largest tags/categories), velocity-ranked top sellers with revenue shares and pattern labels, revenue concentration, demand-curve coverage, active demand signals, composite stock health, dead stock, readiness capabilities, deterministically matched candidate external data sources (with ingestion recipes), forecast trust grade distribution, and an improvement plan (readiness meter + ranked action queue with concrete impact sentences and deep-link codes). Persists nothing and uses no server-side AI — narrate it yourself. Numbers you present should come from this snapshot (see factIndex). Operator (unpinned) credentials 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_analysis_facts"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
okNo
factsNo
computedAtUtcNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false. The description adds meaningful behavioral context beyond those annotations: it persists nothing, uses no server-side AI, is fresh and deterministic, and requires operator (unpinned) credentials only.

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 purpose and credential constraint are front-loaded, but the first sentence is a dense run-on that enumerates many return artifacts already covered by the output schema. That enumeration makes the description longer than necessary for its job, even though the trailing behavioral notes are useful.

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?

Because an output schema exists, the description does not need to explain return values, yet it still adds critical context about credentials, determinism, no persistence, and self-narration. It is nearly complete for correct invocation, with the main gap being explicit routing guidance against the report sibling.

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?

The tool takes zero parameters, so there are no parameter semantics for the description to clarify. The baseline for a no-parameter tool is 4, and nothing in the description introduces confusion about inputs.

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 description uses a specific verb, "Compute," and a specific resource, the "demand-analysis FACTS snapshot," then enumerates the artifacts included. It clearly identifies this as the facts-snapshot tool, but it never explicitly contrasts it with the sibling get_demand_analysis_report, so an agent must infer which one to use.

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?

It provides directive usage guidance ("Numbers you present should come from this snapshot" and "narrate it yourself"), which helps an agent use the results correctly. However, it gives no explicit when-to-use versus when-not-to-use guidance relative to siblings such as get_demand_analysis_report or run_demand_analysis.

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