Skip to main content
Glama
Rails by Spritz API

Rails by Spritz API

Official

create_bank_account

Add a new bank account as an off-ramp destination and supply the fields required by its type, such as routing number, sort code, or IBAN.

Instructions

Add a new bank account as an off-ramp destination. The type field determines required fields: us (routing_number, account_number), ca (institution_number, transit_number, account_number), uk (sort_code, account_number), iban (iban, optional bic).

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": {
      "type": "<type>",
      "ownership": "<ownership>"
    },
    "name": "create_bank_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
bicNoBank Identifier Code (SWIFT). Can often be derived from IBAN.
ibanNoInternational Bank Account Number
typeYesUS bank account type
labelNoFriendly name for the account
sortCodeNo6-digit sort code
ownershipYesWho owns this bank account. "personal" = the authenticated user (holder info inferred from profile). "thirdParty" = someone else (requires accountHolder).
accountHolderNoAccount holder details. Required when ownership is "thirdParty".
accountNumberNoBank account number
routingNumberNo9-digit ABA routing number
transitNumberNo5-digit branch transit number
accountSubtypeNoType of bank account (checking or savings)
institutionNumberNo3-digit financial institution number

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It never mentions authentication needs, permission scopes, duplicate-account handling, verification steps after creation, or whether the newly created account is immediately usable as an off-ramp destination — all material for a mutation tool with 12 parameters.

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?

Two dense sentences with no filler; the core action is front-loaded and the type-to-field mapping follows. The parenthetical field lists are compact but slightly heavy to scan, keeping it just below top marks.

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?

Given 12 parameters, nested objects, no annotations, and no output schema, the description covers the type-dependent field requirements but leaves out the ownership/accountHolder conditional, secret-handling expectations, and what creation returns or triggers. Adequate for the happy path but incomplete for a mutation of this size.

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 already 100%, so baseline would be 3. The description adds genuinely new cross-field semantics that the schema does not encode — which fields become required per `type` (us/ca/uk/iban) — and it implicitly corrects the schema's misleading `type` description ('US bank account type').

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?

States a specific verb and resource ('Add a new bank account') plus its role ('off-ramp destination'), which separates it from delete_bank_account and list_bank_accounts. It does not explicitly contrast with create_off_ramp_quote, but the create-bank-account action is unambiguous.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance. The second sentence is conditional-field guidance for parameters, not usage guidance, so an agent gets no signal on prerequisites, alternatives, or when this should precede a quote or off-ramp.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.