Skip to main content
Glama

Pay Bank Transfer

pay_bank_transfer
Destructive

Send naira to a Nigerian bank account, paid from the linked wallet. ONLY for agents with a verified Self Agent ID: the request must be signed with the Self agent key (x-self-agent-* headers; see docs.abapays.com → Self Agent ID), otherwise it is refused before anything is charged. Call list_banks for the bank_code. The account name is checked before any money moves and returned in the result: confirm it with the human. ALWAYS requires the PIN — ask the human for it every time. Money moves for real. The result gives a reference: call get_payment_status with it to read the transfer reference and receipt once the transfer is sent.

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": {
      "pin": "<pin>",
      "bank_code": "<bank_code>",
      "account_number": "<account_number>",
      "amount_ngn": "<amount_ngn>"
    },
    "name": "pay_bank_transfer"
  }
}

Input Schema

NameRequiredDescriptionDefault
pinYesThe PIN set when the API key was created. Required on EVERY payment — ask the human for it each time.
chainNoOptional. Defaults to the chain approved when the key was created.
tokenNoOptional stablecoin to pay with on that chain (e.g. "USDC", "USDT"). Defaults to the one approved when the key was created.
api_keyNoAbaPay MCP API key. NOT needed when the connector is authorized via OAuth — omit it entirely in that case.
bank_codeYesThe bank code from list_banks.
amount_ngnYesAmount in naira to send (whole naira, at least 100).
account_numberYesThe 10-digit account number (NUBAN).
idempotency_keyNoOptional, strongly recommended: a unique id for THIS transfer (8-128 chars). Retrying with the same key returns the first result instead of paying again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructive=true, openWorldHint=true and readOnlyHint=false, and the description adds material context beyond them: the request is refused before any charge if unsigned, the account name is verified before money moves, the PIN is mandatory every time, and the transfer is irreversible ("Money moves for real"). That covers the auth and safety profile an agent needs before calling a money-moving 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?

Six tight sentences, front-loaded with what the tool does, then gating conditions, then the follow-up workflow. Every sentence carries operational weight: auth requirement, bank lookup, name verification, PIN, irreversibility, reference retrieval.

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?

No output schema exists, and the description compensates by describing what the result contains (verified account name, payment reference) and how to use the reference with get_payment_status. For an 8-parameter destructive payment tool, nothing essential for correct invocation is missing.

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 100%, so the baseline is 3, but the description earns a step more by naming the source of bank_code (list_banks), the human-sourcing requirement for pin, and the fact that the account name comes back in the result for confirmation. It says nothing about chain, token, api_key or idempotency_key, which is acceptable since the schema covers them fully.

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 and resource with scope: "Send naira to a Nigerian bank account, paid from the linked wallet." That is clearly distinct from the bill-payment siblings (pay_bill, pay_bill_batch) and the read-only siblings, so an agent can select it without opening the schema.

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?

Gives explicit prerequisites and sequencing: only for agents with a verified Self Agent ID and a request signed with the Self agent key, call list_banks to obtain the bank_code, always ask the human for the PIN, and call get_payment_status with the returned reference afterwards. It also names the refusal condition, which is the when-not case.

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.