Skip to main content
Glama

Conector Juspronto

Consultar relatórios de trabalho

relatorios_trabalho
Read-onlyIdempotent

Consulte dados estruturados para montar tabelas de processos, prazos, financeiro ou ficha de cliente. Usa os filtros dos relatórios da tela: matéria/situação/responsável/cliente em processos; filtro em prazos (padrão pendentes); mês/ano de vencimento no financeiro; clienteId na ficha. Totais abrangem todas as páginas, sem o teto de 500 linhas do PDF; a ficha inclui todos os lançamentos e o cadastro mínimo de buscar_clientes, com iniciais para menores, vínculos paginados e link. Continue com cursor e os mesmos filtros. Dinheiro em centavos BRL; marcado pago soma valor como o PDF, não comprova recebimento. Exige leitura de processos, prazos ou painel conforme o tipo; ficha exige processos e painel. Não gera arquivo, redige peça, altera registros ou envia a terceiros.

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": {
      "tipo": "<tipo>"
    },
    "name": "relatorios_trabalho"
  }
}

Input Schema

NameRequiredDescriptionDefault
anoNo
mesNo
tipoYes
cursorNo
filtroNo
materiaNo
situacaoNo
clienteIdNo
advogadoIdNo

Output Schema

NameRequiredDescriptionDefault
avisoNo
itensNo
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 cover read-only/idempotent/non-destructive/closed-world, yet the description still adds real behavior: totals span all pages rather than the 500-row PDF ceiling, the ficha carries every lançamento plus the minimal buscar_clientes record (initials for minors, paginated vínculos, link), money is in BRL cents, and 'marcado pago' sums like the PDF without proving receipt. It also discloses required read permissions per tipo ('processos, prazos ou painel', ficha requiring both).

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?

Purpose and the four modes are front-loaded, and every clause carries information — filters, pagination, permissions, units, negative scope. It is very dense with semicolon-chained clauses and no visual structure, making it harder to scan than it needs to be, but there is little genuine waste.

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 9-parameter, four-mode reporting tool with an output schema present, the description covers the dimensions an agent needs: which filters per mode, defaults, pagination, data units, permission requirements, and what the tool does not do. Return-value shape is rightly 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 0%, so the description must carry the load, and it largely does: it ties matéria/situação/responsável/cliente to processos, filtro to prazos with a stated default of pendentes, mês/ano to financeiro, clienteId to ficha, and explains cursor continuation. The 'responsável' → advogadoId mapping and the meaning of the filtro enum values (urgentes, vencidos) are left to inference, which keeps it below a 5.

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?

Opens with a specific verb and resource ('Consulte dados estruturados para montar tabelas') and immediately enumerates the four report kinds (processos, prazos, financeiro, ficha de cliente), which map exactly onto the 'tipo' enum. An agent can tell what this tool produces without opening the schema, and the closing sentence separates it from peça/arquivo tools.

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 per-type usage: which filters apply in processos, that prazos defaults to pendentes, mes/ano only in financeiro, clienteId only in ficha, and how to continue with cursor. It also states exclusions ('não gera arquivo, redige peça, altera registros ou envia a terceiros'). The gap is that it never contrasts with near-overlapping siblings such as consultar_financeiro or listar_prazos, so the agent gets no explicit routing rule between them.

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