Skip to main content
Glama

Excluir audiência

astrea_delete_hearing
Destructive

Deletes a hearing from Astrea using its hearing ID; destructive action, so confirm before calling.

Instructions

Exclui uma audiência. AÇÃO DESTRUTIVA: confirme 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_hearing"
  }
}

Input Schema

NameRequiredDescriptionDefault
hearingIdNoID da audiência 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" warning largely restates structured data. The added value is the confirmation instruction, but the description does not disclose irreversibility, cascade effects on linked records, or permission requirements.

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 with the destructive warning front-loaded immediately after the purpose statement. No filler, no redundancy beyond the intentional safety emphasis.

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 single-parameter destructive tool the minimum is covered, but notable gaps remain: hearingId is listed as not required in the schema yet is the only input, and the description says nothing about behavior when the ID is missing, invalid, or already deleted, nor about any response.

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?

There is a single parameter and schema coverage is 100%, with the schema describing hearingId as the Astrea hearing ID. The description adds no meaning beyond that, so the baseline of 3 applies.

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+resource in Portuguese ("Exclui uma audiência"), which is unambiguous and clearly distinct from siblings such as astrea_delete_case or astrea_update_hearing. It does not explicitly name an alternative, but the action/resource pairing is self-evident.

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 only implied: the agent can infer this is the tool for removing a hearing. The one directive present ("confirme antes") is a precondition, not when-to-use guidance, and nothing says when to prefer astrea_set_hearing_status or astrea_update_hearing instead of deleting.

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