Skip to main content
Glama

Pair a transfer

purch_pair_transfer
Destructive

Tie the two sides of one move between your own accounts: the row where money left and the row where it arrived. Counted once, as neither spending nor income. Paying the card from checking shows twice: out of checking, into the card. Read purch_transfers for the suggested pairs (same amount, close in time, worded as a payment), show the person, and pair with a reason. The amounts must be exactly opposite and the accounts different; a pair is refused otherwise. A transfer to an account that has no statements here (a savings account kept elsewhere, an owner draw) is not a pair: review that row as a transfer naming where the money went. Effects: both rows reviewed as one transfer; the move counted once, between the two accounts.

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": {
      "out_transaction_id": "<out_transaction_id>",
      "in_transaction_id": "<in_transaction_id>",
      "reason": "<reason>"
    },
    "name": "purch_pair_transfer"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy they are one move.
in_transaction_idYesThe row where it arrived, e.g. the card's payment row. An existing purch_transaction id.
out_transaction_idYesThe row where money left, e.g. the checking row. An existing purch_transaction id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The "Effects" line discloses the mutation outcome (both rows reviewed as one transfer, the move counted once), which goes beyond the destructiveHint/readOnlyHint annotations. It also states hard preconditions — amounts exactly opposite, accounts different — and that the pair is refused otherwise. It stops short of saying the pairing is reversible or pointing at purch_unpair_transfer for undo, which matters for a destructive, non-idempotent operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core definition is front-loaded in the first two sentences, followed by the worked card-payment example, the precondition, and the edge case, then a compact Effects block. It is slightly longer than needed — the card/checking example and the wording clause overlap — but every paragraph carries distinct information and the labeled "Effects:" line makes the outcome scannable.

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-required-parameter mutation with no output schema, the definition covers purpose, preconditions, failure behavior, the read-only discovery path, and the non-pairable edge case. An agent has everything needed to decide whether to call it and how to succeed on the first attempt.

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?

Schema coverage is 100% and the schema already labels out_transaction_id as "where money left" and in_transaction_id as "where it arrived," so the description largely restates those roles. It adds one genuine rule not in the schema (amounts must be exactly opposite, accounts must differ) and reinforces the purpose of the reason field. Baseline 3 is appropriate given the schema does the heavy lifting.

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 opening sentence names a specific verb and resource: "Tie the two sides of one move between your own accounts," and immediately clarifies the accounting semantics ("Counted once, as neither spending nor income"). It is clearly distinguished from the read-only sibling purch_transfers, which is named as the source of suggestions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit workflow: read purch_transfers for suggested pairs, show the person, pair with a reason. It also states a when-not case with a redirect — a transfer to an account with no statements here (a savings account kept elsewhere, an owner draw) "is not a pair" and should be reviewed as a transfer naming where the money went.

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.