Skip to main content
Glama

Connect a Real Bank Account (PSD2)

start_bank_connect

Initiate PSD2 bank authentication and start a 5-minute localhost callback server to return an authUrl for read-only account access approval in banking apps.

Instructions

Starts a PSD2 Strong Customer Authentication (SCA) link for a bank via Enable Banking and spins up a temporary localhost callback server (5 min window). Give the returned authUrl to the user to approve in their banking app (BT Pay, Home'Bank, Monzo, Revolut, Wise). Read-only AISP access only.

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": {
      "bankName": "<bankName>",
      "country": "<country>"
    },
    "name": "start_bank_connect"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYes2-letter ISO country code (e.g. RO, GB, LT, BE).
psuTypeNoDefaults to 'business' if entityId is a business entity, else 'personal'.
bankNameYesExact bank name from list_supported_banks.
entityIdNoEntity ID or name to link the connected accounts to (default 'personal').
consentDaysNoDesired consent duration in days (capped by bank max).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations, it adds important behavioural behaviour: a temporary localhost callback server is started, it must be consumed within 5 minutes, and the result is read-only AISP access only, so the agent knows the scope of what is granted. The annotations already flag openWorldHint and non-destructive, and the description usefully adds that a user approval step is required.

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?

Three dense sentences with the action front-loaded and no filler. The parenthetical bank-brand list is the only part that does not directly serve the caller.

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?

With no output schema, the description correctly names the key return value (authUrl), but does not say what else comes back, such as a session ID or state value needed for complete_bank_connect. The 5-minute window and the user-approval step are also covered, which is what an agent most needs for this multi-step flow.

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%, so bankName, country, entityId, psuType and consentDays are all documented in the schema itself, and the description does little to add to them. The bank-brand examples (BT Pay, Home'Bank, Monzo, Revolut, Wise) hint at accepted values but do not define parameter behaviour.

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: it opens a PSD2 SCA link for a bank through Enable Banking, with the localhost callback server as a concrete mechanism. It is clearly distinguishable from a completion step, but it never names or contrasts its closest sibling complete_bank_connect, which is the main ambiguity for an agent routing between the two.

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

Usage Guidelines3/5

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

The description gives helpful usage guidance: hand the returned authUrl to the user, who approves it in their banking app, and that approval must happen within a 5-minute window. It never says when to call complete_bank_connect instead, or in what order they run after user approval, so the sequence is only implied.

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