Skip to main content
Glama

Delete transactions

delete_transactions
DestructiveIdempotent

Delete wrongly logged transactions by id (from get_transactions): one, or many in ONE call with every id in ids. Never one call per row: one-by-one deletion hits the per-turn tool limit.

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

Input Schema

NameRequiredDescriptionDefault
idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so irreversibility and repeat-safety are covered structurally. The description adds genuinely new operational context — the per-turn tool limit and the strong steer toward a single batched call — but says nothing about partial-failure behavior or whether confirmation is required.

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?

Three short sentences, front-loaded with purpose, then the batching instruction, then the anti-pattern and its reason. Nothing is redundant; even the emphatic "Never one call per row" carries decision-relevant weight.

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 one-parameter destructive tool with full annotation coverage and no output schema, this covers purpose, id source, and call shape adequately. Only the batch ceiling and any account-scope caveat are absent.

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 coverage is 0% for the single parameter, so the description must carry the meaning, and it does: it explains that ids holds every identifier and that the tool accepts many per call. It omits the numeric bounds (maxItems 500) that constrain a batch, leaving that to the schema.

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?

Names a specific verb and resource ("Delete ... transactions") plus the identifying key (by id) and the provenance of those ids (from get_transactions). It is distinguishable from delete_all_data and update_transaction by virtue of being id-scoped, though no sibling is named 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?

States the triggering condition (wrongly logged transactions) and prescribes the batching pattern: all ids in ONE call, never one call per row. The rationale (per-turn tool limit) is given. It stops short of saying when to prefer a different tool, e.g. bulk wipe via delete_all_data.

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.