Skip to main content
Glama

compilar_dossie

Combine multiple Brazilian court decisions or legal summaries into one Word document, each with formatted citation, ementa, and optional full text.

Instructions

Compila varias decisoes/sumulas num UNICO documento Word (.docx).

Para cada URL, monta uma secao com a citacao formatada, a ementa, o link de
verificacao (JusBrasil) e, se pedido, o inteiro teor. Use depois de escolher,
com `buscar_jurisprudencia`/`buscar_sumulas`, quais decisoes quer reunir.

Args:
    urls: lista de URLs de decisoes/sumulas (campo `url` das buscas).
    incluir_inteiro_teor: se True, inclui o texto integral de cada decisao
        (mais lento; exige login e nem toda decisao tem inteiro teor).
    titulo: titulo do dossie (padrao: "Dossiê de Jurisprudência").
    caminho: caminho .docx de saida (padrao: ~/Downloads/<titulo>-<data>.docx).

Returns:
    Dict com arquivo (caminho salvo), n_itens, n_falhas, com_inteiro_teor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlsYes
tituloNo
caminhoNo
incluir_inteiro_teorNo
Behavior4/5

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

No annotations provided, so description carries the burden. It discloses that including full text requires login, is slower, and not always available. It also mentions return dict structure. Could mention overwrite behavior, but overall transparent.

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?

Description is well-structured with summary then args, but slightly verbose. Front-loaded with purpose. Could be tightened, but still effective.

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?

No output schema, but description explains return dict (arquivo, n_itens, n_falhas, com_inteiro_teor). Covers slower behavior and login requirements. Complete for a compilation tool.

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

Parameters5/5

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

Schema description coverage is 0%, so description fully compensates. Explains each parameter: urls (list of URLs), incluir_inteiro_teor (boolean with default and caveats), titulo (default), caminho (default). Adds meaning beyond 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?

The description clearly states the tool compiles multiple decisions/sumulas into a single Word document, using the specific verb 'compilar' and resource 'UNICO documento Word (.docx)'. It also distinguishes from siblings by referencing 'buscar_jurisprudencia' and 'buscar_sumulas' as prior steps.

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 says 'Use depois de escolher, com buscar_jurisprudencia/buscar_sumulas, quais decisoes quer reunir', providing clear when-to-use guidance and reference to sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fxbarros/mcp-jusbrasil'

If you have feedback or need assistance with the MCP directory API, please join our Discord server