Skip to main content
Glama

Excluir comentário

astrea_delete_comment
Destructive

Permanently deletes a comment from an Astrea legal-practice item; specify the origin type and task ID for task-related comments.

Instructions

Exclui um comentário. Para tarefas, informe também originId (taskId). AÇÃO DESTRUTIVA.

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": {
      "origin": "<origin>"
    },
    "name": "astrea_delete_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
originYesTipo do item: TASK=tarefa, DEADLINE=prazo, HEARING=audiência, APPOINTMENT=compromisso, HISTORICAL=andamento
originIdNo
commentIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.1/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 "AÇÃO DESTRUTIVA" adds no new information. The only genuinely additive context is the task-origin requirement for originId; the description does not say whether the deletion is permanent, whether permissions are required, or what happens on failure.

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 short sentences, front-loaded with the action and followed by the conditional parameter rule and the destructive warning. "AÇÃO DESTRUTIVA" duplicates the annotation but has some value as an inline warning, so it is not wasted space in a meaningful way.

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 destructive mutation with no output schema, only one required parameter documented, and the key commentId field undocumented, the description does too little. An agent still cannot tell how to supply commentId, whether the deletion is recoverable, or how the schema's optional originId/commentId relate to the stated task requirement.

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 33%: origin is documented in the schema, while originId and commentId have no descriptions. The description partially compensates for originId by noting it is the taskId for tasks, but commentId — the identifier of the comment being deleted — is left completely unexplained in both schema and description.

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 comentário" states a specific verb and resource, which cleanly separates it from astrea_add_comment. It does not contrast itself with the many other astrea_delete_* siblings, but the resource (comment) is unambiguous on its own.

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 sentence "Para tarefas, informe também originId (taskId)" gives conditional invocation guidance for one case, which is genuinely useful. However, there is no statement of when to use this vs. any alternative or what preconditions must hold before a comment can be deleted.

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