Skip to main content
Glama

Buscar Comunicacoes Djen

buscar_comunicacoes_djen

Searches DJEN publications and court intimations by OAB, lawyer, party, or case number, returning full text, involved parties, counsel, document links, and PDF certificates.

Instructions

Busca publicações e intimações no DJEN (Diário de Justiça Eletrônico Nacional).

Traz o TEXTO da publicação, partes, advogados (com OAB), link do documento no tribunal e a URL da certidão em PDF. Complementa o DataJud, que só tem metadados.

Informe pelo menos um filtro: OAB, advogado, parte ou número do processo (tribunal e datas sozinhos também funcionam, mas retornam volume enorme).

Input Schema

NameRequiredDescriptionDefault
paginaNoPágina (começa em 1).
uf_oabNoUF da OAB (ex.: 'SP').
data_fimNoData de disponibilização final.
tribunalNoSigla do tribunal (ex.: 'TJSP', 'TRT2').
nome_parteNoNome de parte (pessoa ou empresa) destinatária.
numero_oabNoNúmero da OAB (só dígitos). Use junto com uf_oab.
data_inicioNoData de disponibilização inicial (AAAA-MM-DD ou DD/MM/AAAA).
nome_advogadoNoNome do advogado.
max_chars_textoNoCorta o texto de cada publicação neste tamanho (0 = sem corte).
numero_processoNoNúmero CNJ (com ou sem máscara).
itens_por_paginaNoItens por página (máx. 100).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the rich return content (full text, partes, advogados, tribunal link, certidão PDF) and the volume behavior of broad queries, but it never explicitly confirms read-only / side-effect-free behavior, rate limits, or pagination semantics — the remaining gaps are notable given zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short paragraphs: purpose, return content, then the query constraint. The most important routing information is front-loaded and every sentence carries weight — no repetition of schema field descriptions.

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 an 11-parameter tool with full schema descriptions and an output schema, the description covers purpose, output shape, and the key filtering constraint. The main missing piece is any confirmation of read-only behavior and pagination expectations, which matters because annotations are absent.

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 coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not: it groups which parameters actually function as search filters (OAB, advogado, parte, número do processo) and notes that tribunal and dates are legal but low-precision alone. That is useful semantic framing beyond the per-field descriptions.

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 opens with a specific verb and resource ('Busca publicações e intimações no DJEN') and clarifies the differentiator versus DataJud (only metadata). However, it never differentiates from the closest sibling, listar_intimacoes, so an agent has to infer which one to pick from the name alone.

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?

The final paragraph gives actionable query guidance ('Informe pelo menos um filtro: OAB, advogado, parte ou número do processo') and warns that tribunal+dates alone return 'volume enorme', which steers the agent toward effective usage. It stops short of explicitly naming alternate tools or exclusions, but the when/how guidance is concrete.

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