Skip to main content
Glama

Editar andamento manual

astrea_update_history

Updates the text, date, or time of an existing manual case history entry in Astrea, enabling correction or revision of logged case activity details.

Instructions

Altera o texto/data de um andamento manual existente.

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_update_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
historyIdNoID do andamento no Astrea

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds that only an existing manual entry can be modified, but it omits whether omitted fields (date, time, caseId) are preserved or cleared, what permissions are required, and how the target record is identified.

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?

A single short sentence with no filler and the mutation scope front-loaded. It is efficient, though the brevity borders on under-specification rather than tightness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a mutation tool with 5 parameters and no output schema, yet the description never explains how the target entry is located (historyId vs caseId), whether the update is partial, or what is returned. Relative to the tool's complexity, it does too little.

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 80%, so the baseline is 3. The description names texto and data as editable but says nothing about time, historyId, or caseId, and the omission of time is notable since the schema accepts it; meaning added beyond the schema is minimal.

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?

States a specific verb ("Altera") plus the resource ("andamento manual existente") and the mutable fields (texto/data), which lets an agent distinguish it from add/delete/get siblings by implication. However, it never names an alternative explicitly, so differentiation rests on the reader's inference from the verb.

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?

The word "existente" implies the entry must already exist, but there is no statement of when to use this versus astrea_add_history, astrea_delete_history, or astrea_get_history, and no prerequisites or exclusions. An agent must guess the selection rule.

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