Skip to main content
Glama
mcp-sienge

mcp-sienge

by Miranda-F

Resumo de contas a pagar

sienge_resumo_contas_pagar
Read-onlyIdempotent

Summarizes accounts payable totals for a period, including original, open, paid and overdue amounts grouped by creditor, company, month, project, financial plan, cost center or document.

Instructions

Totais de contas a pagar num período: valor original, saldo em aberto, pago e vencido, agrupados por credor, empresa, mês, obra, plano financeiro, centro de custo ou documento. Usa Bulk Data (/outcome) numa única chamada, então serve para volumes grandes. Use para perguntas como 'quanto temos a pagar em dezembro', 'maiores credores', 'quanto está vencido na obra X'.

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

Input Schema

NameRequiredDescriptionDefault
topNo
credorNoFiltra pelo nome do credor (contém, sem acento)
obra_idNo
data_fimNoPadrão: último dia do mês atual
tipo_dataNoQual data o período filtra: vencimento da parcela (padrão), emissão do título, pagamento ou competênciavencimento
empresa_idNo
agrupar_porNo
data_inicioNoPadrão: primeiro dia do mês atual
exportar_csvNo
centros_custoNo
somente_em_abertoNoConsiderar só parcelas com saldo > 0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds one genuinely useful behavioral fact — it uses Bulk Data (/outcome) in a single call and is therefore suited to high volume — but says nothing about output shape, pagination of the aggregated result, or why top/exportar_csv exist.

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?

Three sentences, front-loaded with the aggregation scope, then the performance characteristic, then use cases. Every sentence contributes and nothing is redundant.

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?

With 11 parameters, zero required fields, no output schema and no defaults spelled out in prose, the description leaves gaps: an agent cannot tell from it what the returned rows look like when agrupar_por is multi-valued, how top interacts with grouping, or what exportar_csv changes. It is adequate for shaping the call but not complete for a tool of this parameter surface.

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 only 45% across 11 parameters, so the description must carry more weight than it does. It reinforces the grouping vocabulary (credor, empresa, mês, obra, plano financeiro, centro de custo, documento) matching the agrupar_por enum and implies period filtering, but gives no meaning for top, exportar_csv, centros_custo, somente_em_aberto or the tipo_data choice beyond what the schema already states.

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?

Names a specific operation (aggregate totals for contas a pagar over a period) and enumerates the measures returned (valor original, saldo em aberto, pago, vencido) plus the grouping dimensions. This clearly separates it from per-title listing/detail siblings, though it never names sienge_titulos_pagar or sienge_titulo_pagar_detalhe explicitly as the non-aggregate alternative.

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?

Gives concrete question archetypes ('quanto temos a pagar em dezembro', 'maiores credores', 'quanto está vencido na obra X') that map directly onto grouping and filter parameters, and says it suits large volumes. It stops short of stating when NOT to use it or pointing to the detail/list tools for row-level data.

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