Skip to main content
Glama

Smart Money

Delete a transaction

delete_transaction
DestructiveIdempotent

Deletes a transaction, removing it from balances and reports on all devices. Transaction IDs come from list_transactions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesTransaction ID (see list_transactions)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
transactionYesThe transaction that was deleted

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already mark the tool as destructive and non-read-only, but the description adds valuable specifics: deletion removes the transaction from balances and reports across all devices. This goes beyond the generic destructiveHint and tells the agent the scope of side effects. No contradiction with annotations exists.

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 is a single, dense sentence that leads with the primary action und states the most important consequence and ID-source in order. Every phrase contributes practical information without redundancy or filler.

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

Completeness5/5

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

For a one-parameter, non-nested tool with output schema present, the description covers the core action, the key side effects, and how to source the ID. Combined with the annotations, this gives an agent everything needed to call the tool correctly.

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?

The schema describes the single parameter 'id' as a Transaction ID and references list_transactions, and the description repeats this provenance. Since schema description coverage is 100%, the description adds no new parameter-level meaning beyond what the schema already provides, so the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource ('Deletes a transaction') and goes beyond the title by stating the effect: 'removing it from balances and reports on all devices.' It clearly identifies this as the delete operation for transactions, which distinguishes it from sibling delete tools for accounts, budgets, categories, and tags.

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 provides practical usage context by stating that 'Transaction IDs come from list_transactions,' which tells the agent how to obtain the required identifier. It does not explicitly contrast this with siblings like update_transaction, but the resource type and ID-source guidance make the intended use clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.