Skip to main content
Glama
borgels

mcp-server-saxo

by borgels

Run Saxo OAuth Login

saxo_oauth_login
Destructive

Authenticate with Saxo Bank using OAuth2 + PKCE by initiating a login flow that handles callback listening, token exchange, and server update in one call.

Instructions

Run the full Saxo OAuth2 + PKCE login in one MCP call. Starts a loopback callback listener, optionally opens the browser, waits for approval, exchanges tokens, updates the running MCP server, and optionally persists tokens to an env file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
environmentNo
timeoutSecondsNo
openBrowserNo
writeToEnvFileNo
envFilePathNo
Behavior4/5

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

Annotations include destructiveHint: true. The description adds context: it starts a loopback listener, exchanges tokens, updates the running MCP server, and optionally writes to an env file, which goes beyond the annotations and explains the side effects (server state change, possible file persistence). No contradiction with annotations.

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?

The description is a single dense sentence that efficiently lists the sub-steps. It is front-loaded with the main purpose. Could be split for readability, but no extraneous content.

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 5 optional parameters and no output schema, the description covers the essential login flow and optional behaviors. It is complete enough for an agent to understand the tool's purpose and side effects. Lacks explicit mention of sibling tools for alternative flows, but that is a minor 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 0% (no descriptions in schema). The description mentions 'optionally opens the browser' (openBrowser) and 'optionally persists tokens to an env file' (writeToEnvFile/envFilePath), but does not explain environment or timeoutSeconds. This adds some value but fails to cover all parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it runs the full Saxo OAuth2 + PKCE login in one call, listing the steps: starts listener, opens browser, waits, exchanges tokens, updates server, and optionally persists. This distinguishes it from sibling oauth tools (saxo_oauth_start, saxo_oauth_complete, saxo_oauth_cancel) by being the comprehensive version.

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 implies this is the high-level login tool, but does not explicitly state when to use it versus the separate oauth steps. It lacks when-not or alternative guidance, though the verb 'Run the full login' suggests it replaces manual multi-step process.

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/borgels/mcp-server-saxo'

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