Skip to main content
Glama
Winthor Análises MCP

Winthor Análises MCP

verbas_fornecedor

Read-onlyIdempotent

Calculates supplier rebate and bonus balances by payment method, shows overdue amounts and how to settle them, and ranks suppliers by outstanding balance when no supplier is specified.

Instructions

Saldo de verbas e bonificações por fornecedor, no mesmo critério da rotina 1809.

Saldo = valor gerado da verba menos o já baixado em mercadoria (1301), dinheiro (1803), desconto financeiro (1804) ou rebaixa de custo (1806). Mostra o saldo separado por forma de recebimento, o que está vencido e como receber cada forma. Sem fornecedor: ranking dos fornecedores com mais saldo a receber. Com fornecedor (código ou parte do nome): também lista cada verba, com origem, vencimento, baixas por rotina e situação (em aberto, parcial, baixada).

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

Input Schema

NameRequiredDescriptionDefault
limiteNo
fornecedorNo
somente_com_saldoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description adds real domain behavior instead — the balance formula (generated minus written-off via routines 1301, 1803, 1804, 1806), the breakdown by payment form, overdue flagging, and the per-verba status vocabulary (em aberto, parcial, baixada). It says nothing about result volume limits or ordering beyond 'mais saldo a receber'.

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 definition is front-loaded with what the tool returns, follows with the formula, then splits the two modes — a logical order with no filler sentences. The density of ERP jargon is high but each line carries information.

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?

For a read-only query with no output schema and no required parameters, the description covers most of what the agent needs: result shape, balance math, and status values. It still leaves the default cap of 50 results and the effect of `somente_com_saldo` on ranking mode unexplained, which matters for interpreting a truncated result set.

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?

Schema coverage is 0%, so the description must carry parameter meaning. It does this well for `fornecedor` (accepted as a code or partial name, and absence switches to ranking mode), but `limite` and `somente_com_saldo` are never mentioned and must be inferred from their names and defaults, leaving partial compensation for the coverage gap.

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 specific resource and scope ('Saldo de verbas e bonificações por fornecedor') and resolves it into two distinct output modes depending on whether `fornecedor` is supplied. It does not name or differentiate itself from siblings, and it leans on an internal reference ('rotina 1809') whose meaning an outside agent cannot resolve, but the resource itself is unambiguous.

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 clearly states the two usage modes: without `fornecedor` you get a ranking of suppliers by balance, with `fornecedor` (code or partial name) you additionally get per-verba detail. There is no explicit when-not guidance or named alternative tool, so it stops short of a 5.

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