Skip to main content
Glama

Excluir processo/caso

astrea_delete_case
Destructive

Permanently deletes a legal case from Astrea by its case ID. Confirm with the user before running this destructive action.

Instructions

Exclui um processo/caso. AÇÃO DESTRUTIVA: confirme com o usuário antes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "astrea_delete_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
caseIdNoID do processo/caso no Astrea

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the "AÇÃO DESTRUTIVA" line largely restates structured data. What it does add is an actionable confirmation requirement, which is genuinely useful. However, it never states whether the deletion is permanent, whether related records (deadlines, events, history, timesheets) are cascaded or orphaned, or what the response looks like — material gaps for an irreversible operation.

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?

Two short sentences, zero filler, with the destructive warning front-loaded immediately after the purpose statement so the agent sees the risk before acting. Nothing is buried or repeated.

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

Completeness3/5

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

For a one-parameter destructive tool with no output schema, the definition covers purpose and the confirmation requirement, which is the minimum viable. It leaves out irreversibility, side effects on related entities, and error behavior when the caseId does not exist — all of which matter more here than for a read tool.

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

Parameters3/5

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

Schema description coverage is 100% for the single caseId parameter, so the baseline of 3 applies and the description adds no syntax, format or sourcing detail beyond the schema. A residual issue the description could have addressed: caseId is not marked required in the schema despite being the sole identifier for a destructive call.

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?

"Exclui um processo/caso" gives a specific verb (delete) plus a specific resource (case/lawsuit), which separates it from the many other astrea_delete_* siblings that target contacts, deadlines, tasks, etc. It stops short of naming a contrasting sibling such as astrea_toggle_case_active, so the boundary with deactivation is left implicit.

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?

The description supplies a procedural rule (confirm with the user before executing) but no when-to-use/when-not-to-use guidance relative to alternatives. An agent can infer this is the removal path for a case, but nothing tells it whether deactivating via astrea_toggle_case_active is the safer substitute in some situations.

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