Skip to main content
Glama

Create transactions

create_transactions
Destructive

Create 1–100 manual transactions in one call (same rules as CSV Add). Skips rows that already exist on the account, adjusts balance by the total of newly inserted amounts unless applyToBalance is false, and keeps at most 1000 transactions per account by dropping the oldest. Each row needs its own idempotencyKey (same namespace as create_transaction). Do not put applyToBalance on rows — use the top-level field. Counts as one write toward the rate 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": {
      "budgetId": "<budgetId>",
      "transactions": "<transactions>"
    },
    "name": "create_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
budgetIdYes
transactionsYes
applyToBalanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Goes well beyond the annotations: duplicate-row skipping, balance adjustment unless applyToBalance is false, the 1000-transaction cap that silently drops the oldest rows, and that the call counts as one write against the rate limit. These disclose real destructive side effects (data loss at the cap, balance mutation) that a caller must know before invoking a destructiveHint=true tool.

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 dense sentences, each delivering a distinct operational fact (batch size, dedupe, balance/cap behavior, idempotency placement, rate-limit cost) with the most surprising behavior — silent dropping of old transactions — stated early.

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 destructive batch write with no output schema and no schema descriptions, the definition covers input rules, side effects and rate-limit cost well. It does not say what the call returns (inserted vs. skipped counts, per-row errors), which matters when rows can be silently skipped.

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%, so the description has to carry the load, and it does for the two most consequential parameters: applyToBalance's exact effect and where it may be placed, plus the per-row idempotencyKey and its shared namespace. Nested row fields such as amount, postedAt, originalAmount and originalCurrency are still undocumented in both places.

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, resource and batch scope ('Create 1–100 manual transactions in one call') and anchors the semantics to a known reference ('same rules as CSV Add'), which immediately separates it from the single-record sibling create_transaction.

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 batching window (1–100), the per-row idempotencyKey requirement, and the explicit rule 'Do not put applyToBalance on rows — use the top-level field' give clear usage context. It never states plainly when to prefer this over create_transaction for a single row, so the alternative is implied by the batch framing rather than spelled out.

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