Skip to main content
Glama

Criar tarefa

astrea_create_task

Creates a task, optionally linked to a case, with due date and priority, so you can track legal work in Astrea.

Instructions

Cria uma tarefa, opcionalmente vinculada a um processo/caso. Prioridade: 2 = baixa (padrão).

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": {
      "description": "<description>"
    },
    "name": "astrea_create_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
caseIdNo
dueDateNoData (AAAA-MM-DD); padrão: hoje
priorityNo
taskListIdNo
descriptionYes
responsibleIdNo

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 safety profile is covered. The description adds useful behavior (case linkage is optional, priority has a default of 2) but says nothing about required permissions, validation errors, or what is returned on success.

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 tight sentences with the core action and the optional linkage front-loaded, then the priority default. The priority sentence is slightly cryptic since it explains only one point on a 0-3 scale, but there is no filler.

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?

A creation tool with six parameters, low schema coverage, and no output schema needs considerably more explanation of the relationship fields and priority scale than is provided. An agent can call it with just a description, but would be guessing on taskListId, responsibleId, and most priority values.

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 coverage is only 17% (just dueDate), so the description must carry the burden and largely does not. It clarifies that caseId links to a processo/caso and that priority 2 means low by default, but leaves taskListId, responsibleId, and the other priority values (0, 1, 3 allowed by the schema) unexplained.

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 tarefa') plus a scoping nuance ('opcionalmente vinculada a um processo/caso') that distinguishes it from generic creation tools. It does not explicitly contrast itself with siblings like astrea_create_case or astrea_update_task, but the resource is unambiguous.

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_update_task, astrea_create_deadline, or how to obtain the referenced caseId/taskListId/responsibleId. The only usage-adjacent information is that the case link is optional and priority defaults to 2, which is implied rather than instructing.

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