Skip to main content
Glama
LamPyrid
by RadCod3

Delete Transaction

delete_transaction
Destructive

Permanently remove a transaction by ID to correct mistakes, eliminate duplicates, or clear test data. This irreversible action cannot be undone.

Instructions

Permanently remove a transaction.

Use to correct mistakes, remove duplicates, or delete test data. This action cannot be undone.

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": {
      "req": "<req>"
    },
    "name": "delete_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
reqYesRequest model for deleting a transaction.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false. The description's line that deletion "cannot be undone" restates that safety profile rather than adding to it. It says nothing about what else is affected, such as dependent budget or category aggregates, or whether confirmation is expected.

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?

The description puts the operation first, then follows with a short sentence of use cases, and adds no filler. Every sentence adds something, and nothing is buried.

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

Completeness4/5

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

For a single-parameter delete, the annotations, the fully documented schema, and the output schema together carry most of the load, and the description covers purpose and intent. Only the routing among sibling tools, such as update compared with bulk delete, is left unstated.

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 one string parameter, and the schema description coverage is 100%, so the schema already explains what id means. The description adds no format or sourcing detail 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?

"Permanently remove a transaction" names a specific verb and resource, and the word "permanently" sets the scope. It never distinguishes itself from update_transaction or bulk_update_transactions, so an agent has to infer that this deletes a single record rather than changing it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description lists concrete situations: correcting mistakes, removing duplicates, or clearing test data. It gives no exclusion case (for example, use update_transaction when you only need to change fields, or a bulk tool when you are deleting many), so the agent must infer those alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.