Skip to main content
Glama

omie_settle_payables_batch

Dá baixa em VÁRIAS contas a pagar numa chamada (LancarPagamento por título, loop interno). É o caminho pra conciliar um mês inteiro contra o extrato do banco sem uma chamada por título. Cada item de baixas identifica o título (codigo_lancamento = id Omie, igual ao codigo_lancamento_omie do get/list; OU codigo_lancamento_integracao) + valor; data e conta_corrente (nome ou id) podem vir no item ou como default do lote. conciliar:true marca cada baixa como CONCILIADA (é a única forma de conciliar pela API; use quando a baixa vem do extrato do banco). Erro em um título NÃO derruba os demais: a resposta traz baixas (ok, com codigo_baixa) e erros (por título, com a mensagem da Omie). Máx. 50 por chamada.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
baixasYes
accountNo
conciliarNo
conta_correnteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, idempotentHint=false, destructiveHint=false) by disclosing partial-failure semantics (an error in one title does not abort the rest), the response shape (`baixas` ok vs `erros` per title), and a hard cap of 50 items per call. It also notes `conciliar:true` is the only API path to reconcile — valuable behavioral context an agent cannot infer from structured fields.

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?

Front-loads the purpose and the batch-vs-single distinction, then layers identification, reconciliation, error handling, and the cap. Dense but every sentence adds operative detail; slight verbosity in the identification clause keeps it from a 5.

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

Completeness5/5

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

For a mutation tool with no output schema, the description supplies what the schema cannot: the return contract (`baixas` with codigo_baixa, `erros` with Omie messages) and the 50-item limit. Nothing essential to calling it correctly is missing, aside from the minor undocumented fields noted above.

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

Parameters4/5

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

With 0% schema description coverage the description must carry the burden, and it documents the key fields: `baixas` item identification via codigo_lancamento (aliased to codigo_lancamento_omie from get/list) or codigo_lancamento_integracao, plus valor, and that `data`/`conta_corrente` accept item-level or batch-default values. It leaves juros, multa, desconto, observacao, codigo_baixa_integracao and top-level `account` unexplained, so some params remain opaque.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (dá baixa/settle) and resource (VÁRIAS contas a pagar), and explicitly frames it as the batch path ('numa chamada', 'sem uma chamada por título'), which distinguishes it from the single-title omie_settle_payable sibling. An agent can identify the tool without opening the schema.

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 a concrete usage scenario ('conciliar um mês inteiro contra o extrato do banco') and a conditional rule for `conciliar:true` ('use quando a baixa vem do extrato do banco'). It implies when to prefer batch over single calls but never names the single-title alternative explicitly, so it stops short of full when/when-not routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.