Skip to main content
Glama

Adicionar andamento manual

astrea_add_history

Record a manual history entry on a legal case, optionally setting case ID, date, and time; uses the current date and time by default.

Instructions

Registra um andamento (histórico manual) em um processo/caso. Data/hora padrão: agora.

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": {
      "text": "<text>"
    },
    "name": "astrea_add_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoData no formato AAAA-MM-DD
textYes
timeNoHora no formato HH:MM (horário de Brasília)
caseIdNoID do processo/caso no Astrea

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already state readOnly=false, destructive=false and openWorld=true, so the safety profile is covered. The description adds one genuinely useful behavioral fact beyond them — that date/time default to 'agora' — but says nothing about permissions, duplicate entries, or what the recorded item looks like on return.

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?

Two short sentences with the action front-loaded and the default-behavior note second; nothing is redundant. It is efficient, though the brevity means some necessary detail is simply absent rather than trimmed.

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?

For a simple append mutation with annotations present and no output schema, the definition covers the core action and the date/time default. It remains thin on linkage to a case (is caseId required in practice?) and on any side effects, which an agent would want before writing to a live legal system.

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 coverage is 75% (date, time and caseId are already documented with formats), so the schema carries most of the load. The description's 'Data/hora padrão: agora' does add real meaning by revealing that date and time are optional and defaulted, but it leaves caseId semantics and the required 'text' field unaddressed.

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 names a specific verb plus resource — 'Registra um andamento (histórico manual) em um processo/caso' — which is clearly an append of a manual history entry attached to a case. It implicitly separates itself from the comment/consulting-note siblings by calling out 'histórico manual', though it never names those alternatives explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance; the agent is not told why it should pick this over astrea_add_comment or astrea_add_consulting_note, nor whether a case must already exist. Usage is only weakly implied by the parenthetical '(histórico manual)'.

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

Deploy Server

Other Tools