Skip to main content
Glama

Legal MCP (alternativa ao Jusbrasil)

djen_processos_por_parte

Read-onlyIdempotent

DESCOBERTA por NOME de parte (grátis, sem captcha): busca o DJEN por quem figura no processo e agrupa por número — devolve a lista de processos da pessoa/empresa, com partes e tribunal. Cobre processos COM publicação no Diário a partir de 2020 (não o acervo histórico completo), então count_processos: 0 NÃO significa que a pessoa não tem processo — nesse caso vem um bloco ausencia explicando. Para entrada por CPF/CNPJ ou processos dormentes, use as tools processos_* (engine). Com os numero_processo, enriqueça com datajud. Nome comum com várias pessoas: djen_ranquear_parte ordena os processos pela chance de serem da pessoa certa.

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": {
      "nome_parte": "<nome_parte>"
    },
    "name": "djen_processos_por_parte"
  }
}

Input Schema

NameRequiredDescriptionDefault
paginaNo
data_fimNo
nome_parteYes
data_inicioNo
force_refreshNo
sigla_tribunalNo
itens_por_paginaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / force_refresh
      Added value: +{
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely non-obvious behavior: it is free and captcha-less, coverage starts at 2020 publications only (not the full historical archive), and a zero count returns an `ausencia` block rather than implying no lawsuit exists. It does not explain caching despite the `force_refresh` parameter, nor any rate limits or pagination defaults, which keeps it below 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?

Front-loads the core purpose and the coverage caveat, then routes to alternatives in a logical order. It is dense but nearly every clause carries operational meaning; only the parenthetical 'grátis, sem captcha' and the closing ranking tip are slightly tangential to the core call.

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

Completeness3/5

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

The description handles the hardest parts of this tool well: coverage limits, empty-result semantics and the `ausencia` block, plus escalation paths. However, with 7 undocumented parameters, no output schema and no explanation of date-range filters, court filtering, paging or the refresh flag, an agent still cannot confidently set most optional arguments.

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

Parameters2/5

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

Schema description coverage is 0% across 7 parameters, so the description carries the full burden and largely fails it. It clarifies only that entrada is by name (`nome_parte`) and that `numero_processo` values are outputs usable for enrichment; `data_inicio`, `data_fim`, `sigla_tribunal`, `pagina`, `itens_por_pagina` and `force_refresh` are never explained or given format hints.

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: discovery by party NAME in the DJEN, grouped by process number, returning the list of processes for that person/company with parties and court. It also explicitly scopes itself against siblings by noting that CPF/CNPJ lookup or dormant processes belong to the processos_* engine tools.

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?

Gives explicit when-to-use (name-based discovery), when-not (CPF/CNPJ input, dormant processes → processos_* tools), and two follow-on routes: enrich with datajud once you have numero_processo, and use djen_ranquear_parte when a common name matches multiple people. An agent can select between alternatives without opening any schema.

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.