Skip to main content
Glama

Criar audiência

astrea_create_hearing

Creates a hearing in Astrea, optionally linked to a case, with name, date, and start time plus address, courthouse, room, and responsible details. Use it to schedule and organize court hearings in the agenda.

Instructions

Cria uma audiência, opcionalmente vinculada a um processo/caso.

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_create_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
courthouseNoFórum/vara
responsibleIdNo
courthouseRoomNoSala
kanbanColumnIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare this is a non-read-only, non-destructive, open-world write. Beyond that, the description says nothing about required fields, timezone handling, conflict behavior for overlapping hearings, or permissions — the only added fact is that case linkage is optional, which the schema implies.

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 clean sentence with no filler, so nothing is wasted. However, the brevity is under-specification rather than efficient conciseness given a 12-parameter mutation tool.

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?

For a 12-parameter create operation with only 50% schema description coverage and no output schema, the description leaves major gaps: the required trio (name, date, start), the Brasília timezone convention, and the role of responsibleId/kanbanColumnId go unexplained.

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?

The description only restates the optionality of the case link, which the schema already conveys via the required list. Six of twelve parameters (name, caseId, address, comments, responsibleId, kanbanColumnId) carry no schema description, and the description does not compensate for any of them.

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 and resource ('Cria uma audiência') and adds the scope qualifier that the hearing may optionally be linked to a case. The create verb distinguishes it from the sibling get/update/delete/set_status hearing tools without needing to name them.

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 guidance on when to use this versus astrea_create_appointment, astrea_create_deadline, or astrea_set_hearing_status, and no prerequisites (e.g., whether a case must exist first) are stated. The only usable hint is that case linkage is optional.

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