Skip to main content
Glama

Excluir despesa

astrea_delete_expense
Destructive

Permanently deletes a financial expense from an Astrea legal-practice account by expense ID. This destructive action removes expense records, so confirm the ID before use.

Instructions

Exclui uma despesa. AÇÃO DESTRUTIVA.

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_expense"
  }
}

Input Schema

NameRequiredDescriptionDefault
expenseIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.7/5.0
Behavior2/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" merely repeats structured data. It adds nothing about soft vs hard delete, what happens to linked records, authorization requirements, or failure behavior — the things that would actually help an agent act safely.

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 with the action front-loaded and no filler. It is tight, though the brevity reflects under-specification rather than disciplined editing.

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 and an undocumented parameter, the description leaves out ownership/scope of the expense, permission requirements, reversibility, and return/error behavior. The safety annotations partially cover the risk profile, but the definition is not complete enough for confident invocation.

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?

The single parameter expenseId has 0% schema description coverage and is not even marked required, which is surprising for a delete operation. The description says nothing about its format, source, or why it is optional, so it fails to compensate for the schema gap.

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 uma despesa" states a specific verb (delete) and resource (expense), which cleanly separates it from siblings like astrea_create_expense and astrea_get_expense. It does not explicitly name or contrast with an alternative tool, so it falls short of a 5.

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?

The description gives no guidance on when to use this tool versus alternatives, no prerequisites (e.g., permissions, whether the expense must be in a certain state), and no confirmation/irreversibility workflow. "AÇÃO DESTRUTIVA" is a warning label, not usage guidance.

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