Skip to main content
Glama

Post Instances Customers Bank Accounts

PostV1InstancesCustomersBankAccounts

Adds a payout bank account to a customer for a specified payment rail, validating rail-specific fields like bank details, tax ID, and business industry before payouts.

Instructions

Adds a payout destination for a customer. Required fields depend on type (the rail): call Bank Details (GET /v1/available/bank-details) with the rail first for the exact field list and validation. For ach and wire: business_industry (a NAICS code from GET /v1/available/naics) is required when account_class is business, phone_number is required when country is BR, CN, CO, HK, MY, MX, PH, UG or UY, and tax_id is required when country is AR, BY, BR, CL, CN, CO, CR, EC, GT, HN, JP, KZ, KR, MX, PK, PE, PH, RU, TH or UY. A US state_province_region is a two-letter code. ach, wire and rtp are not available for light KYC customers.

Input Schema

NameRequiredDescriptionDefault
customer_idYesCustomer ID
instance_idYes
requestBodyYes
Idempotency-KeyNoOptional key to safely retry this request without performing the action twice. Retrying with the same key and an identical body replays the original response; reusing a key with a different body returns an error. Keys are kept for 24 hours.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.9.3

TDQS

A4/5.0
Behavior4/5

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

Annotations confirm this is a non-read-only, non-destructive, non-idempotent, open-world write; the description adds genuinely new behavior: required fields are rail- and country-dependent, validation should be derived from a live bank-details call, and some rails are blocked for light-KYC customers. It stops short of describing the created resource (e.g. that the account starts in a verifying status) or failure modes.

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?

Front-loaded with the one-sentence purpose, then prerequisites, then per-rail constraints. The long country enumerations are verbose but each carries real conditional logic that cannot be inferred. Slight density cost, no filler sentences.

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 tool with a very large nested requestBody and no output schema, the description's strategy of delegating the exact field list to the bank-details endpoint is a sound coping mechanism, and the conditional requirements cover the most failure-prone inputs. The remaining gap is the response shape and what state the new account lands in, which nothing else in the definition supplies.

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 ~50%, and the description compensates with the highest-value semantics the schema lacks: `type` is the rail that determines the rest of the body, `business_industry` must be a NAICS code required for business account_class, `phone_number` and `tax_id` are country-conditional, and US `state_province_region` must be two letters. It does not touch instance_id/customer_id, but those are self-evident from names and examples.

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?

"Adds a payout destination for a customer" names a specific verb (adds) and resource (payout destination / bank account) and makes the effect on the customer record clear. It does not, however, distinguish the tool from the sibling PostV1InstancesCustomersBankAccountsPlaid, which also attaches a bank account, so the agent has no textual basis for choosing between them.

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?

Gives strong conditional routing: call GET /v1/available/bank-details with the rail first to get the exact field list, and pull NAICS codes from GET /v1/available/naics. It also states an explicit exclusion — ach, wire and rtp are unavailable for light KYC customers. Missing only guidance on when to prefer this over the Plaid-based sibling.

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

Deploy Server

Other Tools