Skip to main content
Glama
tkom04

Open Banking MCP Server

by tkom04

complete_code_exchange

Exchange the OAuth authorization code for access tokens while validating the state parameter to prevent CSRF attacks.

Instructions

Complete PKCE OAuth authorization code exchange with state validation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesThe authorization code from OAuth callback
stateYesThe state parameter from OAuth callback

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes
Behavior2/5

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

With no annotations, the description must carry the full behavioral burden. It discloses that state validation occurs, which is a useful trait, but it does not mention side effects (e.g., token storage), security considerations, potential errors (e.g., state mismatch), or whether the operation is reversible. This is a notable gap for an OAuth exchange 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?

The description is a single sentence that wastes no words. It front-loads the main verb and resource, and includes the crucial qualifier 'with state validation.' It is appropriately sized for the tool's simplicity.

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?

The description is adequate for a simple two-parameter tool, and the presence of an output schema reduces the need to explain return values. However, given it is part of an OAuth flow with sibling tools like 'exchange_code' and 'create_data_auth_link', the description lacks context about where this step fits in the overall process. No annotations further limit its completeness.

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?

The input schema has 100% parameter description coverage, providing the baseline of 3. The description adds value by specifying that the state parameter is validated, which goes beyond the schema's simple 'The state parameter from OAuth callback.' It also frames the code within the PKCE context, enriching the parameter's purpose.

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 clearly states the action: 'Complete PKCE OAuth authorization code exchange with state validation.' It specifies the resource (authorization code exchange) and adds the key qualifier of state validation, making the purpose specific. However, it does not differentiate from the sibling tool 'exchange_code', which could lead to ambiguity about which tool to invoke.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. There is no mention of prerequisites, such as needing a previously created data auth link, or exclusions for when not to use it. The description implies it is used after an OAuth callback, but it does not explicitly state this or distinguish it from 'exchange_code'.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tkom04/openbankingMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server