Skip to main content
Glama

Resumir Andamento

resumir_andamento

Retrieves structured Brazilian court case data from DataJud and prepares LLM instructions to generate a natural-language summary.

Instructions

Retorna dados estruturados de um processo para geração de resumo pelo LLM.

Esta tool busca o processo no DataJud e devolve os dados formatados junto com instruções para que o modelo gere o resumo em linguagem natural. O processamento semântico (resumo) fica no modelo, não no MCP.

Input Schema

NameRequiredDescriptionDefault
tribunalNoSigla do tribunal. Se omitida, o sistema pesquisa em todos.
numero_processoYesNúmero no formato CNJ.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose two valuable traits: it queries DataJud as an external source, and its output contains prompt instructions aimed at the LLM rather than a finished summary. It does not state that the operation is read-only, nor what happens on DataJud lookup failure or when the process number is not found.

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?

Three short sentences, front-loaded with the core behavior and followed by the one non-obvious contract (summarization happens in the model, not the MCP). Slight redundancy between the first two sentences, but no filler.

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?

An output schema exists, so return values need not be explained. The description supplies the one thing an agent could not infer: the response is data plus summarization instructions rather than a ready summary. Only error and availability behavior is left uncovered, which is a minor gap for a two-parameter read tool.

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 both parameters (numero_processo in CNJ format, optional tribunal) are already documented in the schema. The description adds no format, default, or fallback details beyond that, so the baseline of 3 applies.

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 uses a specific verb and resource ('Retorna dados estruturados de um processo') and adds a crucial scope clarification: this tool does not produce the summary itself, it returns data formatted with instructions so the model can generate it. That distinguishes it meaningfully from siblings like buscar_processo_por_numero, though it never names that sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied: call this when you need the underlying data to write a summary of a process. The statement that semantic processing 'fica no modelo, não no MCP' implicitly tells the agent it must do the summarization step itself. However, there is no explicit when/when-not guidance nor a named alternative such as buscar_processo_por_numero, which returns process data for other purposes.

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