Skip to main content
Glama
Juris Licita MCP
by bitbusca

Publicações do DJEN (intimações)

buscar_publicacoes_djen
Read-onlyIdempotent

Search DJEN court notices and publications since 2021 by OAB, case number, party, lawyer, or keywords to find relevant legal announcements.

Instructions

[Avançado: exige BITBUSCA_API_KEY] Busca intimações e publicações do Diário de Justiça Eletrônico Nacional (desde 2021) por OAB, número do processo, parte, advogado ou palavras. Use ler_publicacao(id, data) para o texto completo, ficha_processo(numero) para os movimentos e calcular_prazo (grátis; evento "djen" com a data de disponibilização, campo "data") para o vencimento.

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

Input Schema

NameRequiredDescriptionDefault
deNoData inicial (AAAA-MM-DD).
ateNoData final (AAAA-MM-DD).
oabNoOAB, ex.: 123456/SP.
parteNoNome da parte (empresa ou pessoa, como aparece na publicação).
cursorNo"proximoCursor" da resposta anterior.
limiteNoItens por página (padrão 20).
advogadoNoNome do advogado.
palavrasNoPalavras no texto (aceita "frase", OR e -exclusão).
processoNoNúmero CNJ do processo (20 dígitos).
tribunaisNoSiglas separadas por vírgula (ex.: TJSP,TRT2).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld and non-destructive, so the safety profile is covered; the description adds genuinely new context by flagging the BITBUSCA_API_KEY prerequisite and the 2021 coverage boundary. It does not mention pagination behavior or the 50-item cap beyond what the schema states, so it stops short of a 5.

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?

Two sentences, front-loaded with the paid/API-key tag and then the search scope, with the chaining advice compressed into one efficient clause. The parenthetical for calcular_prazo is dense but every element carries routing information.

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?

For a 10-parameter, no-required-parameter search tool with no output schema, the description covers purpose, prerequisites and downstream chaining well. The notable gap is that it never says whether at least one filter is needed or what an empty call returns, leaving an agent to guess about a zero-argument invocation.

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 description coverage is 100%, so the schema already documents formats for de/ate, oab, processo, cursor and limite; the description only restates the filter axes. The one addition is clarifying that 'data' is the disponibilização field used downstream by calcular_prazo, which is marginal value over the schema.

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 and resource ('Busca intimações e publicações do DJEN') with scope ('desde 2021') and enumerates the five search axes (OAB, processo, parte, advogado, palavras) that map to its parameters. An agent can distinguish it from siblings like buscar_editais_bitbusca or ficha_processo 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent onward: ler_publicacao(id, data) for full text, ficha_processo(numero) for movements, and calcular_prazo for the deadline, including which field ('data', data de disponibilização) to feed into the deadline tool. This is a concrete when-to-use-this-vs-alternatives chain, not implied guidance.

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