Skip to main content
Glama

Delete transactions

delete_transactions
Destructive

Permanently delete manual transactions: all on accountId, or 1–100 transactionIds (cannot be undone). Confirm with the user first. Does not change account balance. Bank/crypto synced txs cannot be deleted.

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>"
    },
    "name": "delete_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
budgetIdYes
accountIdNo
transactionIdsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, and the description adds real value beyond that: permanence ("cannot be undone"), a human-confirmation requirement, the fact that account balance is unaffected, and a hard eligibility limit excluding synced transactions. It stops short of saying what the response contains or how partial failures across up to 100 IDs are handled.

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, front-loaded with the irreversible action and its two scoping modes, then the safety warning, then the side-effect and eligibility caveats. No filler or restatement of the title.

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 three-parameter destructive tool with no output schema, the description covers the decision-critical facts: permanence, confirmation, scope selection, balance neutrality, and which records are ineligible. The only unaddressed item, budgetId, is self-evident from its name and required status.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning, and it does: accountId means "all transactions on that account" while transactionIds is bounded to 1–100. Only budgetId, the sole required parameter, is left entirely to the schema, which keeps it from a 5.

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 opens with a specific verb and resource ("Permanently delete manual transactions") and immediately defines the two scoping modes (all on accountId, or 1–100 transactionIds). It does not name the singular sibling delete_transaction, so an agent must infer the batch-vs-single distinction from the "1–100" range rather than being routed explicitly.

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?

It gives clear operational context: only manual transactions, synced bank/crypto txs are ineligible, and the user must be confirmed first. What is missing is an explicit contrast with delete_transaction (single-record) for the one-transaction case, so the agent gets conditions but no named alternative.

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