Skip to main content
Glama
Winthor Análises MCP

Winthor Análises MCP

avaria_parada

Read-onlyIdempotent

Identifies merchandise stuck in avaria and separates items sent there for supplier rebate from real avaria, showing what to return to stock, days idle, and blocked value.

Instructions

Alerta de mercadoria parada na avaria, separando o que foi para lá por causa de verba da avaria real.

Para aplicar verba em só parte do estoque, a mercadoria que não recebe verba é movida para a avaria; depois ela fica esquecida lá, sem vender. Esta ferramenta mostra, por produto, quanto devolver ao estoque disponível (o que foi para a avaria junto com uma rebaixa de custo da 1806 do mesmo fornecedor), quanto é avaria real e deve ficar, há quantos dias está parado e o valor parado. "esquecido na avaria" = ligado a verba e parado há dias_parado dias ou mais.

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": "avaria_parada"
  }
}

Input Schema

NameRequiredDescriptionDefault
limiteNo
fornecedorNo
dias_paradoNo
historico_diasNo
janela_verba_diasNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior: the cabinet logic of how items arrive in avaria, the split between recoverable stock and real damage, and the rule that 'esquecido' means tied to verba and stalled at least dias_parado days. It does not mention result ordering, pagination behavior that limite implies, or performance characteristics.

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 core purpose only appears in the middle of the second sentence, after a long setup about how goods end up in avaria. The vocabulary is dense and the sentences are long and clause-heavy, with the formal definition of 'esquecido na avaria' tacked on at the end. Nothing reads as pure filler, but the front-loading is weak and the structure could be tightened considerably.

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

Completeness3/5

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

There is no output schema, so the description must carry the return value — and it does reasonably well, enumerating the per-product figures the tool reports. However, with five undocumented parameters at 0% schema coverage, notably the verba and history windows that determine what gets classified, an agent cannot infer how to tune the analysis. The domain narrative is thorough but the operational completeness is partial.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% — every parameter carries only a title and a default, with no description. The description explains only dias_parado, and only implicitly, by defining the 'esquecido na avaria' threshold in terms of it. The two temporal windows, historico_dias (default 180) and janela_verba_dias (default 7), plus limite and fornecedor, are left entirely undefined, which is a large gap since the meaning of the output depends heavily on those windows.

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 names a concrete resource and output: 'mostra, por produto, quanto devolver ao estoque disponível', 'quanto é avaria real', 'há quantos dias está parado' and 'o valor parado'. The business distinction between avaria linked to verba versus real damage is spelled out, so an agent knows what this tool produces even though the name 'avaria_parada' alone is opaque. It never names a sibling or explicitly contrasts itself with verbas_fornecedor or status, so it stops short of a 5.

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 opening paragraph describes the situation that motivates use — goods moved to avaria because verba was applied only to part of stock, then left forgotten. That implies when to call it, and the definition of 'esquecido na avaria' gives a threshold for interpretation. There is no explicit 'use this instead of X' guidance, no prerequisites, and no statement of what this tool should not be used for.

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