Skip to main content
Glama

Conector Juspronto

Consultar financeiro

consultar_financeiro
Read-onlyIdempotent

Consulte lançamentos e totais do escritório por periodo (inicio e fim em AAAA-MM-DD, pelo vencimento em Brasília), situacao (PAGO, PENDENTE ou VENCIDO), clienteId, processoId e tipo. Sem filtro, consulta todos. Retorna páginas de 20 com cursor, valores em centavos e BRL, vencimentos, origem e link da tela. Totais abrangem todas as páginas com os filtros declarados. PENDENTE é não pago ainda não vencido; VENCIDO é não pago vencido. valor é previsão; valorPago só conta quando pago=true e preenchido. Pagos sem valor ficam identificados, sem estimar recebimento. Usa o acesso de leitura da tela, inclusive estagiário; conexão sem usuário elegível recebe recusa. Não cria, altera, baixa ou reabre lançamentos, não cobra nem confirma pagamento bancário; não consulta comissões ou repasses.

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

Input Schema

NameRequiredDescriptionDefault
tipoNo
cursorNoproximoCursor anterior, mantendo os mesmos filtros
periodoNoPeríodo de vencimento, dias inclusivos em Brasília
situacaoNo
clienteIdNo
processoIdNo

Output Schema

NameRequiredDescriptionDefault
avisoNo
itensNo
moedaNo
totalNo
totaisNo
filtrosNo
truncadoNo
avisoConteudoNo
proximoCursorNo

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?

Annotations already declare readOnly/idempotent/non-destructive, and the description goes well beyond them: it discloses access control ('acesso de leitura da tela, inclusive estagiário; conexão sem usuário elegível recebe recusa'), page size of 20 with cursor, centavos/BRL units, and that totals span all pages under the declared filters. It also disambiguates valor as forecast versus valorPago as realized, and states that paid entries without a value are flagged rather than estimated.

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 what it returns and how to filter, then layers semantics and boundaries in descending priority; nearly every clause adds decision-relevant information. The prose is dense and some sentences pack multiple facts (pagination, currency and link in one line), which costs a little scannability but not correctness.

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 six-parameter, nested-object, read-only query tool with an output schema and full annotations, the description covers everything an agent needs before calling: filtering axes, pagination continuation, currency units, aggregate scope, access/authorization outcome, and explicit out-of-scope operations. Return-value structure is correctly left to the output schema.

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?

Schema description coverage is only 33%, so the description carries real weight and does so for the highest-risk parameters: date format AAAA-MM-DD, inclusive days, vencimento in Brasília timezone, and the precise PENDENTE vs VENCIDO distinction. The cursor parameter is only described as a return artifact rather than as an input to pass back, and the tipo enum values are left unexplained, which are the remaining gaps.

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?

Names a specific verb and resource ('Consulte lançamentos e totais do escritório') and enumerates the filter dimensions it operates on. The closing sentence explicitly bounds scope by excluding creation, mutation, payment confirmation, commissions and repasses, so an agent can tell what this tool is and is not 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 clear operating context: 'Sem filtro, consulta todos' tells the agent filters are optional and unbounded queries are legal, and the enumeration of situacao/tipo/cliente/processo shows which axes to filter on. It also states the negative boundary (no creation, no settlement, no commissions). It stops short of naming an alternative sibling such as resumo_financeiro for aggregate-only needs.

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.

Resources