Skip to main content
Glama

Start linking a bank account

fizen_start_linking

Starts bank account-information consent, returning the consent state and bank login redirect so end users can approve access; approved account IDs are sent to your AIS callback.

Instructions

Starts the account information consent at a bank. Returns the consent state (keep it) and redirectUri, the bank page where the end user logs in and approves access. After approval the user returns to your redirect address and Fizen posts the account ids to the AIS callback address configured for your API client.

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": {
      "bankId": "<bankId>",
      "redirectUri": "<redirectUri>"
    },
    "name": "fizen_start_linking"
  }
}

Input Schema

NameRequiredDescriptionDefault
nipNoCompany tax number (NIP, 10 digits). Required for company accounts at BNP Paribas and Credit Agricole.
bankIdYesBank identifier from fizen_list_banks, e.g. "mbank" or "fizenbank" (sandbox test bank).
userIdNoYour own id of the end user (up to 40 characters). Consents with the same userId and bank are grouped, which extends how long history can be read.
endUserIpNoThe end user's IP address, when known.
accountTypeNo"company" for business accounts: the API uses "<bankId>-company" paths. Default "retail".retail
redirectUriYesWhere the end user returns after approving at the bank (http or https).
endUserAgentNoThe end user's browser user agent, when known.
limitedScopeNotrue: access limited to basic account data.
psuContextIdentifierValueNoRequired for company accounts at PKO BP: the value from PKO's online banking.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations declare openWorldHint=true and non-idempotent/non-destructive, but the description adds material context the annotations cannot: that the consent state must be retained, that the caller must redirect the end user to the returned bank URL, and that account ids arrive asynchronously via the configured AIS callback rather than in the response. What is missing is retry/idempotency behavior and what happens if the user never approves, which matters for a non-idempotent, out-of-band flow.

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 sentences, front-loaded with the purpose, then return values, then the post-approval handoff — each sentence carries information. The final sentence is somewhat long and packs callback configuration into a trailing clause, but no wording is redundant.

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 nine parameters and no output schema, the description does the necessary work of explaining what comes back (consent state and redirectUri) and how the flow completes out of band. It leaves gaps around error cases and how long the consent state remains valid, but an agent has enough to invoke and sequence the call correctly.

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 description coverage is 100%, including detailed per-parameter notes for nip, userId grouping, accountType, and psuContextIdentifierValue, so the baseline is a 3. The description adds the useful distinction between the input redirectUri (where the user returns) and the returned redirectUri (the bank login page), but it adds nothing about the other eight parameters beyond what the schema already documents.

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 first sentence gives a specific verb and resource: 'Starts the account information consent at a bank,' which is clearly distinct from consent-reading siblings like fizen_get_user_consents. It does not explicitly contrast itself with fizen_grant_consents, so the differentiation is implied rather than stated, but an agent can identify the operation from the text alone.

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 narrates the full linking flow (start consent, send user to bank, user returns, callback posts account ids), which implies when the tool belongs in a workflow. However, it never says when NOT to use it or which sibling to use instead — for example, whether fizen_grant_consents is the follow-up or an alternative path — so guidance is inferred rather than explicit.

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