Skip to main content
Glama

Complete Bank Connection (Paste Callback URL or Code)

complete_bank_connect

Completes Enable Banking PSD2 authorization for HTTPS redirect URIs by accepting the full callback URL or raw code, so a bank account can finish connecting in production.

Instructions

Completes an Enable Banking PSD2 authorization when using an https:// redirect URI (Production mode). Pass the full redirected URL from the browser address bar (containing ?code=...) or the raw authorization code.

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": {
      "callbackUrlOrCode": "<callbackUrlOrCode>"
    },
    "name": "complete_bank_connect"
  }
}

Input Schema

NameRequiredDescriptionDefault
callbackUrlOrCodeYesFull redirect URL (e.g. https://localhost:8787/callback?code=...&state=...) or raw code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, open-world operation, so the safety profile is covered. The description adds that this is the second half of an OAuth-style flow consuming a code, but says nothing about token storage, code expiry, or failure behavior — relevant gaps for a mutating auth step.

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?

Two tight sentences, front-loaded with the purpose and followed by the input expectation. No padding, though it stops short of stating the preceding step that would make the call ordering unambiguous.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter flow-completion tool with full schema coverage, the essentials are present, and no output schema exists so return values need not be explained. However, the missing prerequisite/sequencing information and undefined behavior on an invalid or expired code leave a meaningful gap.

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% and the single parameter is documented with an example, so the baseline is 3. The description adds a small amount of practical framing ('full redirected URL from the browser address bar') but no format or validation detail beyond the schema.

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 uses a specific verb and resource ('Completes an Enable Banking PSD2 authorization') and names the enabling conditions (https redirect URI, Production mode). It implicitly contrasts with the sibling start_bank_connect by framing this as the completion step, though it never names that tool.

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?

It gives a real applicability condition: use this when the redirect URI is https:// in Production mode, and it says what to pass. It does not state the prerequisite step, what to do for non-https or sandbox flows, or name the sibling that initiates the flow, so the agent must infer the sequencing.

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