Skip to main content
Glama

Delete transaction

delete_transaction
Destructive

Permanently delete a manual account transaction (cannot be undone). Confirm with the user first. Does not change account balance. Bank/crypto synced txs are read-only.

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

Input Schema

NameRequiredDescriptionDefault
budgetIdYes
transactionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, yet the description adds real substance: irreversibility, the requirement to confirm with the user, the fact that account balance is unaffected, and the read-only status of synced transactions. These are non-obvious side-effect facts an agent could not infer from the schema or annotations.

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?

Four short sentences, each carrying a distinct fact, with the permanence warning front-loaded. No redundancy or filler.

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 two-parameter destructive mutation with annotations covering the safety profile and no output schema, the description covers irreversibility, confirmation, side effects, and applicability limits. The only gap is parameter-level meaning, which no structured field supplies.

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 coverage is 0% for both parameters, so the description must carry the load, but it never explains what budgetId or transactionId mean or how they must be formed. It only implies the target is a 'manual account transaction', leaving the budget scoping parameter entirely unaddressed.

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?

States a specific verb and resource ('Permanently delete a manual account transaction') and narrows scope with 'manual', immediately distinguishing it from bulk delete or synced-transaction operations.

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?

Gives explicit procedural guidance ('Confirm with the user first') and a clear exclusion ('Bank/crypto synced txs are read-only'), so the agent knows when this tool does not apply. It stops short of naming an alternative for the excluded case, which keeps it below a 5.

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.

Resources