Skip to main content
Glama
Winthor Análises MCP

Winthor Análises MCP

sazonalidade

Read-onlyIdempotent

Compare holiday sales from prior years with current inventory to forecast top products, stock coverage, and items at risk of stockout, so purchasing can prioritize replenishment.

Instructions

Vendas em uma data comemorativa nos anos anteriores comparadas com o estoque atual.

data_comemorativa: carnaval, pascoa, maes, namorados, sao_joao, pais, criancas, black_friday, natal, ano_novo, ou uma data fixa 'MM-DD' (ex.: '09-07'). Olha os dias_antes dias antes da data, em cada um dos últimos anos anos, pega os produtos mais vendidos e mostra previsão, estoque atual, cobertura e o que falta comprar. Itens em risco de ruptura aparecem primeiro. fornecedor (código) filtra por fornecedor.

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": {
      "data_comemorativa": "<data_comemorativa>"
    },
    "name": "sazonalidade"
  }
}

Input Schema

NameRequiredDescriptionDefault
anosNo
limiteNo
dias_antesNo
fornecedorNo
data_comemorativaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral context beyond that: the lookback algorithm, the returned fields (forecast, current stock, coverage, purchase needs) and the ordering rule that rupture-risk items appear first. It stops short of noting cost, latency or result-size behavior, which is a minor gap for a multi-year aggregation.

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

Conciseness4/5

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

The purpose is front-loaded in one sentence, followed by parameter detail and then the return behavior, with no filler. The enumerations are long but necessary because the schema supplies no enum, though the parenthetical style and backtick-heavy formatting make it slightly denser than needed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description takes on return-value responsibility and delivers it: forecast, current stock, coverage, purchase gaps and result ordering. Combined with the parameter semantics, the only omission is the meaning of `limite`, which is minor for a read-only analytical tool.

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?

Schema description coverage is 0%, so the description carries the burden and does so for four of five parameters: it enumerates the accepted `data_comemorativa` values plus the 'MM-DD' fallback format, and clarifies `dias_antes`, `anos` and `fornecedor`. Only `limite` (default 20) is left undefined, presumably a cap on returned products.

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 first line states a specific analysis: sales on a commemorative date in prior years compared against current stock. The body then specifies the computation (top sellers in the `dias_antes` days before the date across the last `anos` years) and the outputs, so an agent can distinguish it from period-comparison or status siblings without opening the schema.

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?

The description makes the use case clear (pre-holiday stock planning) and explains how `fornecedor` narrows the scope, but it never explicitly says when to prefer this over siblings such as comparar_periodo, nor does it state any exclusions or prerequisites.

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