Skip to main content
Glama

Editar audiência

astrea_update_hearing

Rewrites a hearing in Astrea with the provided details, such as name, date, start and end times, courtroom, address, case ID and Kanban column.

Instructions

Regrava uma audiência com os dados informados.

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": {
      "name": "<name>",
      "date": "<date>",
      "start": "<start>"
    },
    "name": "astrea_update_hearing"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoHora no formato HH:MM (horário de Brasília)
dateYesData no formato AAAA-MM-DD
nameYes
startYesHora no formato HH:MM (horário de Brasília)
caseIdNo
addressNo
commentsNo
kanbanIdNoQuadro (astrea_list_kanbans), para pôr no Kanban
hearingIdNoID da audiência no Astrea
courthouseNoFórum/vara
responsibleIdNo
courthouseRoomNoSala
kanbanColumnIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.5/5.0
Behavior3/5

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

Annotations already declare a non-read-only, non-destructive, open-world mutation, so safety is partly covered. The description adds nothing beyond that: it does not say whether this is a full overwrite or a partial patch, what happens to fields not supplied, or whether any permissions are required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero waste, but it earns its brevity by omission rather than by density; with 13 parameters and a mutation, more content was warranted.

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

Completeness1/5

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

For a 13-parameter mutation with 54% schema coverage and no output schema, the description omits almost everything an agent needs: which hearing is targeted, overwrite vs merge semantics, side effects on kanban placement, and any result shape. It is inadequate relative to the tool's complexity.

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

Parameters2/5

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

"com os dados informados" adds no meaning to any of the 13 parameters; schema coverage is only 54%, and undocumented fields include caseId, responsibleId and kanbanColumnId. Critically, hearingId (which identifies the record being updated) is not required and the description never explains its role or what happens to omitted fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Regrava uma audiência" names a verb and a resource, so an agent can tell this touches a hearing record. But "regrava" is ambiguous (rewrite? reschedule?) and nothing distinguishes it from astrea_create_hearing or astrea_get_hearing, nor confirms that it targets an existing hearing identified by hearingId.

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 guidance: no statement that this modifies an existing hearing, no comparison with the create/delete/set-status siblings, and no prerequisite such as needing an existing hearing ID first. The agent must infer usage entirely from the name.

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