Skip to main content
Glama
mcp-sienge

mcp-sienge

by Miranda-F

Extração em massa (Bulk Data) com resumo

sienge_bulk
Read-onlyIdempotent

Queries Sienge Bulk Data routes to return record totals, grouped summaries, and samples for ERP datasets; use filters to respect API limits and async mode for very large volumes.

Instructions

Consulta uma rota Bulk Data (base bulk, ex.: /outcome, /income, /bank-movement, /defaulters-receivable-bills) e devolve o total de registros, um resumo agrupado e uma amostra. Bulk tem limite de 20 chamadas/min e cota diária baixa: use filtros completos. modo 'assincrono' serve para volumes muito grandes.

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": {
      "caminho": "<caminho>"
    },
    "name": "sienge_bulk"
  }
}

Input Schema

NameRequiredDescriptionDefault
modoNosincrono
somarNoCampos numéricos a somar por grupo (ex.: ["balanceAmount"])
camposNoCampos a manter em cada item (ex.: ["id","name"]). Aceita ponto para campos internos.
amostraNoQuantos itens devolver como amostra
caminhoYes
parametrosNoParâmetros de query exatamente como documentados na rota (ex.: {"startDate":"2025-01-01"})
agrupar_porNoCampo para agrupar (ex.: creditorName, companyName)
exportar_csvNoGrava todos os registros em CSV no computador local

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds behavior an agent cannot get from annotations: a hard rate limit of 20 calls/min, a low daily quota, and the mitigation (send complete filters), plus the async escape hatch for very large volumes. The main omission is that it never explains how results of an asynchronous call are obtained or how long they take to materialize.

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?

Three sentences, front-loaded with the resource and return shape, then the constraints and the mode rule. No filler and no restatement of the title. Slightly denser punctuation would be clearer, but nothing is wasted.

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

Completeness4/5

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

Given eight parameters, a nested free-form 'parametros' object, openWorldHint and no output schema, the description does the important work: it describes the return payload (total, grouped summary, sample) and the throttling context. The gap is the async path, which changes tool behavior but is left unexplained in favor of a one-clause mention. Overall complete enough for confident invocation in synchronous mode.

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 75%, so most parameters (somar, campos, amostra, agrupar_por, exportar_csv) are already documented in the schema and need no repetition. The description adds real meaning only for 'modo' (async is for very large volumes) and for 'parametros' (pass documented route filters completely). It adds nothing about the interaction between agrupar_por/somar or how exportar_csv relates to the returned sample.

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 verb and resource ('Consulta uma rota Bulk Data') and grounds it with concrete route examples (/outcome, /income, /bank-movement, /defaulters-receivable-bills). It also states exactly what comes back: total record count, a grouped summary, and a sample. It does not name which sibling handles the asynchronous result retrieval, so differentiation from sienge_bulk_resultado is left implicit.

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?

It gives operational guidance ('use filtros completos') and a mode-selection rule ('modo assincrono serve para volumes muito grandes'), which is genuinely useful for choosing between sincrono and assincrono. However, it offers no guidance on when to prefer this generic bulk tool over the purpose-built summary siblings (e.g. sienge_resumo_contas_pagar, sienge_inadimplencia) that likely wrap the same routes. Usage is implied by the route examples rather than stated as a selection rule.

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