Skip to main content
Glama

Status do prazo

astrea_set_deadline_status

Set an Astrea deadline to in progress, done, or canceled, with a required reason for cancellations, so legal teams keep case deadlines accurate.

Instructions

Conclui, cancela (exige motivo) ou reabre um prazo.

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": {
      "status": "<status>"
    },
    "name": "astrea_set_deadline_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
statusYesIN_PROGRESS=pendente, DONE=concluído, CANCELED=cancelado
deadlineIdNoID do prazo no Astrea

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.7/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. The description adds a genuine behavioral rule not present in structured data: cancellation requires a reason, which effectively makes 'reason' conditionally required despite the schema listing only 'status' as required. It says nothing about whether cancel or reopen is reversible, what happens to dependent records, or any confirmation flow.

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

Conciseness5/5

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

A single short sentence with the three actions front-loaded and the one non-obvious constraint parenthesized in place. No filler, no restatement of the title.

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

Completeness4/5

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

For a 3-parameter mutation with no output schema, the description covers the action set and the key conditional requirement, and the enum description supplies the status mapping. Minor gap: 'reabre' is not explicitly mapped to the IN_PROGRESS enum value, so the agent must infer that correspondence.

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

Parameters4/5

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

Schema coverage is 67%: the status enum and deadlineId carry descriptions, but 'reason' is undocumented in the schema. The description compensates by establishing that 'reason' is mandatory specifically for cancellation, a conditional-required rule the schema omits entirely. It still leaves the deadlineId semantics (where to obtain it) unelaborated.

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 names three specific operations (conclude, cancel, reopen) on a specific resource (prazo/deadline), which distinguishes it from sibling creation/deletion tools like astrea_create_deadline and astrea_delete_deadline. It does not, however, explicitly contrast itself with astrea_update_deadline, which an agent might reasonably confuse with a status change.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the enumeration of state transitions, and a prerequisite is stated inline (cancel requires a reason). There is no explicit 'use this instead of X' routing, nor any note on preconditions such as which prior statuses can be reopened or concluded.

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