Skip to main content
Glama

Link account

link_account
Destructive

Fund a box with a live account balance Accounts can compare to the plan. Manual: link an existing account with source=manual + accountId only (do not also pass name/currency/balance — that would create a new account). Or create+link with name/currency/balance and no accountId. Bank/crypto: source + accountId (snapshot id from list_bank_connections / list_crypto_connections — not investment connectionId). Optional creditAccountId for bank cards, alertSettings for all sources.

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>",
      "boxId": "<boxId>",
      "source": "<source>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "link_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
boxIdYes
sourceYes
balanceNo
budgetIdYes
currencyNo
accountIdNo
creditNameNo
accountKindNo
paymentModeNo
alertSettingsNo
creditBalanceNo
creditCurrencyNo
idempotencyKeyYes
creditAccountIdNo
creditCycleEndDayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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, so safety is covered structurally; the description adds genuine behavioral context beyond that — notably that supplying name/currency/balance alongside accountId silently creates a new account, a side effect an agent could easily trigger by mistake. It does not explain idempotencyKey behavior or what linking does to an already-linked account, so it falls short of a 5.

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 mode-by-mode structure ('Manual: ... Or ... Bank/crypto: ... Optional ...') is efficient and front-loads the branching logic an agent needs. The opening sentence is awkward enough to cost a point, but the remainder wastes no words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 16-parameter destructive mutation with no output schema and zero schema documentation, the description covers the critical branching (manual vs bank/crypto, snapshot id source) but not the credit-related fields, idempotency semantics, or return shape. Adequate to call correctly in the common cases, incomplete for the long tail.

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 description coverage is 0% across 16 parameters, so the description must carry the load. It adds real meaning for source, accountId, name/currency/balance, creditAccountId and alertSettings, but leaves accountKind, paymentMode, creditName, creditBalance, creditCurrency, creditCycleEndDay and idempotencyKey entirely unexplained in both schema and prose.

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 states a specific verb+resource ('link an existing account' / 'create+link') and makes clear that the result is a box funded with a live account balance. It distinguishes itself from unlink_account and points at list_bank_connections/list_crypto_connections as sources of ids. The opening sentence is garbled ('Fund a box with a live account balance Accounts can compare to the plan'), which slightly muddies the core purpose.

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 explicit mode-selection rules: manual link = source=manual + accountId only; manual create = name/currency/balance and no accountId; bank/crypto = source + accountId from the list_* connections tools. It even names the failure mode to avoid ('do not also pass name/currency/balance — that would create a new account') and warns that accountId is a snapshot id, not an investment connectionId.

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