Skip to main content
Glama

Conector Juspronto

Processos do Diário fora do cadastro

processos_no_diario
Read-onlyIdempotent

Lista CNJs válidos com publicações locais para a OAB do escritório e sem pasta, em páginas de 25 com total, proximoCursor e truncado. Exclui os processos marcados pelo advogado como fora do escritório. Cada item informa cnjFormatado, tribunal, publicacoes e ultimaEm. Use proximoCursor para continuar a consulta. Esta conexão só consulta os dados locais. Para a carteira cadastrada, prefira carteira ou buscar_processos.

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

Input Schema

NameRequiredDescriptionDefault
cursorNoproximoCursor da página anterior da lista

Output Schema

NameRequiredDescriptionDefault
avisoNo
itensNo
totalNo
truncadoNo
avisoConteudoNo
proximoCursorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / confirmacaoToken
      Removed value: -{
      -  "description": "Token da prévia, após o advogado confirmar; repetir os mesmos argumentos",
      -  "type": "string"
      -}
    • removedInput schema / properties / importar
      Removed value: -{
      -  "description": "Até 25 CNJs encontrados no Diário local; sem token devolve prévia, com token confirma o cadastro das pastas",
      -  "items": {
      -    "maxLength": 64,
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "maxItems": 25,
      -  "minItems": 1,
      -  "type": "array"
      -}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "aviso": {
      +      "type": "string"
      +    },
      +    "avisoConteudo": {
      +      "type": "string"
      +    },
      +    "itens": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "cnjFormatado": {
      +            "type": "string"
      +          },
      +          "publicacoes": {
      +            "type": "number"
      +          },
      +          "ultimaEm": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "proximoCursor": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "total": {
      +      "type": "number"
      +    },
      +    "truncado": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / confirmacaoToken
      Added value: +{
      +  "description": "Token da prévia, após o advogado confirmar; repetir os mesmos argumentos",
      +  "type": "string"
      +}
    • addedInput schema / properties / importar
      Added value: +{
      +  "description": "Até 25 CNJs encontrados no Diário local; sem token devolve prévia, com token confirma o cadastro das pastas",
      +  "items": {
      +    "maxLength": 64,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 25,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": {},
      -  "properties": {
      -    "aviso": {
      -      "type": "string"
      -    },
      -    "avisoConteudo": {
      -      "type": "string"
      -    },
      -    "itens": {
      -      "items": {
      -        "additionalProperties": {},
      -        "properties": {
      -          "cnjFormatado": {
      -            "type": "string"
      -          },
      -          "publicacoes": {
      -            "type": "number"
      -          },
      -          "ultimaEm": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "proximoCursor": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "total": {
      -      "type": "number"
      -    },
      -    "truncado": {
      -      "type": "boolean"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "aviso": {
      +      "type": "string"
      +    },
      +    "avisoConteudo": {
      +      "type": "string"
      +    },
      +    "itens": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "cnjFormatado": {
      +            "type": "string"
      +          },
      +          "publicacoes": {
      +            "type": "number"
      +          },
      +          "ultimaEm": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "proximoCursor": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "total": {
      +      "type": "number"
      +    },
      +    "truncado": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Added

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, closed-world), the description adds real behavioral context: page size of 25, that a total and a 'truncado' flag are returned, that excluded processes are those marked outside the office, and that this connection only reads local data. It stops short of disclosing permissions or rate limits, and it repeats some return fields that the output schema already documents.

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?

The description is front-loaded with scope and the exclusion rule, then moves to pagination mechanics and the routing alternative. Every sentence serves a purpose, though the enumeration of return fields (cnjFormatado, tribunal, publicacoes, ultimaEm) is partly redundant with the output schema.

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 paginated, read-only local list tool with one optional parameter and a full output schema, nothing material is missing: scope, exclusions, page size, continuation mechanism, truncation handling, data source, and the preferred alternative for registered portfolios are all covered.

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?

There is a single optional parameter and schema description coverage is 100%, so the schema already defines 'cursor' as the proximoCursor from the previous page. The description's 'Use proximoCursor para continuar a consulta' restates that rather than adding new syntax or constraints, so the baseline 3 applies.

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?

The description opens with a specific verb and a precise resource: 'Lista CNJs válidos com publicações locais para a OAB do escritório e sem pasta'. It also names the sibling tools to use instead for the registered portfolio ('carteira ou buscar_processos'), so the agent can route correctly without opening another 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?

It states both when to use it (processes with local publications for the office's OAB that have no folder) and when not to (processes the lawyer marked as outside the office are excluded; registered portfolio should use 'carteira' or 'buscar_processos'). The alternatives and the condition selecting them are explicit.

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