Skip to main content
Glama

Excluir lançamento

astrea_delete_entry
Destructive

Deletes a financial entry from an Astrea account by entry ID, with an optional reason for the destructive action.

Instructions

Exclui um lançamento financeiro. 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_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
entryIdNo

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 and openWorldHint=true, so "AÇÃO DESTRUTIVA" mostly restates structured data rather than adding to it. The description does not say whether the deletion is reversible, whether related records (comments, history, timesheets) cascade, what permissions are needed, or what is returned on success or 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 purpose and then the safety warning; nothing is padded or buried. The second sentence is largely redundant with the destructiveHint annotation, which slightly reduces its value.

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 two unlabeled parameters, zero required fields, and no output schema, the description is too thin. An agent cannot tell from it whether entryId is mandatory in practice or what the response contains, and the annotations only cover the safety profile.

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 0% for both entryId and reason, and the description adds no meaning for either — it never says which identifier selects the entry, nor what reason is used for (audit trail? logging?). With two undocumented parameters, the description needed to compensate and does not.

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 and resource ("Exclui um lançamento financeiro"), which separates it from the many other delete_* siblings operating on contacts, tags, deadlines, etc. It does not, however, distinguish deletion from alternatives such as astrea_toggle_entry_done, which could be the intended action for some entries.

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?

There is no when-to-use or when-not-to-use guidance, no mention of prerequisites such as confirming the entry exists, and no routing to siblings like astrea_toggle_entry_done or astrea_delete_expense for adjacent needs. The agent must infer entirely from the name that this is a hard delete rather than an archive or reversal.

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