Skip to main content
Glama
enablebanking-mcp

enablebanking-mcp

by jmccrosky

start_bank_auth

Starts the bank consent and authorization flow for a specified Finnish bank and returns a URL users open in their browser to grant account access.

Instructions

Start the bank consent/authorization flow for a specific bank. Returns a URL that the user must open in their browser to grant access. Supported Finnish banks: OP, Aktia, Nordea, S-Pankki, Handelsbanken, etc.

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": {
      "aspsp_name": "<aspsp_name>"
    },
    "name": "start_bank_auth"
  }
}

Input Schema

NameRequiredDescriptionDefault
aspsp_nameYesBank ASPSP name as recognized by Enable Banking, e.g. 'OP', 'Aktia', 'Nordea', 'S-Pankki'
valid_daysNoNumber of days of data access to request (default: 90)
redirect_urlNoRedirect URL registered in Enable Banking console (default: https://localhost:8080/callback)https://localhost:8080/callback
aspsp_countryNoISO 3166-1 alpha-2 country code, e.g. 'FI'FI

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the return value (a URL the user must open) and enumerates supported Finnish banks, but omits whether the call creates persistent session state, what permissions are needed, what happens for unsupported banks, and whether the call is repeatable or rate-limited.

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 short sentences, front-loaded with the action and then the critical output and supported-bank caveat. No filler, though the trailing 'etc.' makes the bank enumeration slightly imprecise.

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 four-parameter, fully schema-documented tool with no output schema, the description covers the action, the returned URL, and supported banks. It falls short on prerequisites, subsequent steps, and failure modes, which an agent doing the consent dance would benefit from knowing.

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 all four parameters are already documented in the schema; the baseline is 3. The description's bank list adds mild value for choosing aspsp_name (it names Handelsbanken beyond the schema's examples) but explains nothing about valid_days, redirect_url, or aspsp_country.

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 and resource: 'Start the bank consent/authorization flow for a specific bank,' and adds that it returns a browser URL. An agent can distinguish it from complete_bank_auth by the start/complete phasing implied by the returned URL, though no sibling is named explicitly.

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 conveys that this is the first step in a flow whose output must be opened by the user in a browser, which implies when it applies. However, it offers no explicit when-not conditions, no mention of complete_bank_auth or list_sessions as follow-ups, and no prerequisite guidance.

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