Skip to main content
Glama

Criar prazo

astrea_create_deadline

Creates an all-day deadline, optionally linked to a legal case, to track due dates and case obligations.

Instructions

Cria um prazo (dia inteiro), opcionalmente vinculado 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>",
      "dueDate": "<dueDate>"
    },
    "name": "astrea_create_deadline"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
caseIdNo
dueDateYesData no formato AAAA-MM-DD
commentsNo
kanbanIdNoQuadro (astrea_list_kanbans), para pôr no Kanban
responsibleIdNo
kanbanColumnIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/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 mutation and external-visibility profile is covered. The description adds one genuinely useful behavioral fact — the deadline is all-day, i.e. has no time-of-day component — but says nothing about side effects, whether the item appears on a kanban, or what happens when caseId is supplied.

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 the core purpose front-loaded and no filler. It is efficiently written but perhaps over-terse for a seven-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 7-parameter write operation with no output schema and thin schema coverage, the description is too sparse. An agent cannot learn from it how the kanban-related parameters relate or what a successful creation returns.

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?

Schema description coverage is only 29% (7 parameters, 2 required), so the description carries substantial burden. It only clarifies that caseId is an optional case link and that the date is all-day; kanbanColumnId, responsibleId and comments receive no explanation anywhere, and no hint is given that responsibleId and kanbanId likely interact with the kanban columns.

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 states a specific verb and resource ('Cria um prazo') and adds a distinguishing trait ('dia inteiro') plus the optional case linkage. It does not, however, differentiate itself from близких siblings like astrea_create_task or astrea_create_appointment, which an agent could easily confuse for a deadline.

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 at all: nothing says when a deadline is preferable to a task, appointment, or hearing, nor any prerequisite for creating one in a case. The word 'opcionalmente' hints that case linking is optional, but that is already implied by the schema's required list.

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