Skip to main content
Glama

Legal MCP (alternativa ao Jusbrasil)

legal_checar_novidades

Read-onlyIdempotent

Checa AGORA se há novidade nos monitoramentos (sem esperar o ciclo automático). Passe watch_id (ou watch_ids) para específicos; sem eles, checa até 25 monitoramentos, os há mais tempo sem checagem. Atualiza o estado e retorna o que mudou.

Bulk support: accepts watch_ids for batched execution.

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

Input Schema

NameRequiredDescriptionDefault
watch_idNo
watch_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior2/5

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

The description adds genuinely useful behavior: a default cap of 25 monitors, oldest-unchecked selection order, and that it returns what changed. However, "Atualiza o estado" claims a state mutation while the annotations declare readOnlyHint=true, so an agent trusting the annotation would not expect persisted side effects from this call. The description also never explains what counts as a "novidade" or the shape of the returned changes.

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 important information is front-loaded: the action and its timing are in the first sentence, the scoping and default behavior in the second. The trailing line "Bulk support: accepts watch_ids for batched execution" repeats what the prior sentence already said and is the only clear waste.

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 two-parameter, no-required-input tool with no output schema, the definition covers the trigger, the scoping inputs, the default budget and the fact that results reflect changes. What is left thin is the return value ("o que mudou") and the mismatch over whether it persists state, which matters for a check-style tool.

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

Parameters4/5

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

Schema description coverage is 0%, so the description carries the full burden, and it does: watch_id and watch_ids are both explained as scoping selectors, their optionality is made explicit ("sem eles, checa até 25"), and the fallback selection policy is stated. Only the singular/plural precedence when both are supplied is left undefined.

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?

"Checa AGORA se há novidade nos monitoramentos (sem esperar o ciclo automático)" names a specific action (force an out-of-cycle check) on a specific resource (monitoramentos), which separates it from the create/list/remove monitor tools. The scope is clear enough to call without opening the schema. It is only slightly weakened by the jargon term "novidade," whose meaning (new items? new movements?) is never defined.

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

Usage Guidelines4/5

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

The description gives a clear trigger condition ("sem esperar o ciclo automático") and explains the two invocation modes: pass watch_id/watch_ids for targeted checks, or omit them to sweep the 25 monitors that have gone longest without a check. What is missing is any explicit relation to siblings such as legal_listar_monitoramentos (to discover IDs first) or when not to use this tool.

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.