Skip to main content
Glama

Item Seasonal Shape

get_item_seasonal_shape
Read-only

One item's statistical seasonal shape from its own sales history: 12 monthly factors (mean-normalized to average 1.0), how many months of data produced them, and a 0..1 pattern confidence. Use it to judge whether an item is seasonal at all (hasSeasonalData) and as the starting points for create_demand_curve when no existing curve fits.

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": {
      "itemId": "<itemId>"
    },
    "name": "get_item_seasonal_shape"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemIdYesThe item id (GUID).

Output Schema

NameRequiredDescriptionDefault
okNo
shapeNo
itemIdNo
itemSkuNo
itemNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/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 adds genuine context beyond that: the values come from the item's own sales history, are mean-normalized to average 1.0, and carry a confidence bounded 0..1 plus a data-volume indicator. It does not discuss behavior on items with little or no history beyond implying hasSeasonalData, which is why it is not a 5.

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, both front-loaded: the first defines the output precisely, the second tells the agent what to do with it. Every clause (normalization, month count, confidence range) carries information an agent would otherwise have to infer.

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?

With an output schema present and annotations covering safety, the description only needs to explain intent and edge framing, which it does. The one residual gap is behavior for items without sufficient history, which is only indirectly implied by the hasSeasonalData mention.

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?

There is a single parameter, itemId, and schema coverage is 100%, so the schema already documents it as a GUID. The description adds only the framing that results are scoped to 'one item'; it provides no extra semantics about the identifier. Baseline 3 applies.

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 names a specific resource and scope: one item's statistical seasonal shape derived from its own sales history. It concretely enumerates what is returned (12 mean-normalized monthly factors, months of data, 0..1 confidence), which lets an agent separate it from forecast-style siblings like get_demand_forecast or curve-writing tools like create_demand_curve.

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 two explicit use cases: judging whether an item is seasonal at all (via hasSeasonalData) and seeding create_demand_curve when no existing curve fits. The conditional 'when no existing curve fits' is real routing guidance. It stops short of stating when not to use it (e.g., preferring an existing curve or a forecast tool), so it is clear but not exhaustive.

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