Skip to main content
Glama
mcp-sienge

mcp-sienge

by Miranda-F

Resumo de contas a receber

sienge_resumo_contas_receber
Read-onlyIdempotent

Summarizes accounts receivable totals for a period by client, company, project, month, financial plan, cost center, or document, covering original, open, received, and overdue amounts.

Instructions

Totais de contas a receber num período: valor original, saldo em aberto, recebido e vencido, agrupados por cliente, empresa, empreendimento, mês, plano financeiro, centro de custo ou documento. Usa Bulk Data (/income) numa única chamada.

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_receber"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNo
clienteNoFiltra pelo nome do cliente (contém, sem acento)
data_fimNo
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_inicioNo
exportar_csvNo
centros_custoNo
somente_em_abertoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/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 non-obvious trait: it is served by the Bulk Data (/income) endpoint in a single call, implying no pagination loop. It says nothing about how the 'top' cap interacts with grouped results, whether CSV export changes the response shape, or expected volume/latency.

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?

Two sentences, front-loaded with the resource and the metrics list, with the backend note appended at the end where it belongs. The metric and grouping enumerations are dense but each item distinguishes what the tool returns, so little is wasted.

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 no output schema, the description does useful work by naming the four returned measures, so an agent can anticipate the result shape without one. However, for a 10-parameter read with only 20% schema coverage, the gaps around 'top' semantics, date-field selection (tipo_data) and CSV export leave the agent unable to predict what a call actually produces.

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 description coverage is only 20% across 10 parameters, so the description carries most of the burden, and it only covers the period (implied by 'num período') and the grouping values, which merely restate the agrupar_por enum. It gives no meaning for top, tipo_data, somente_em_aberto, exportar_csv, cliente, empresa_id or centros_custo, leaving most parameters explained only by their names.

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?

Specific noun phrase plus the exact metrics computed (valor original, saldo em aberto, recebido, vencido) and the eight grouping dimensions, so an agent knows this is an aggregation tool rather than a title listing. It does not explicitly contrast itself with the sibling sienge_titulos_receber_cliente, which is presumably the row-level alternative, so the distinction is inferable but not stated.

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?

Usage is only implied: 'Totais ... agrupados por' signals this is for aggregate reporting rather than per-title inspection, which the agent can reasonably map against the detail-oriented siblings. There is no explicit when-to-use/when-not-to-use statement, no mention of the sibling alternative, and no stated prerequisites beyond the period.

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