Skip to main content
Glama
Hamid-K

Avanza-MCP

by Hamid-K

avanza_fee_estimate

Estimate courtage and FX fees and the break-even price movement for a planned trade, with conservative assumptions for missing fee data.

Instructions

Estimate courtage/FX costs and break-even move for a planned trade (conservative assumptions when exact class data is unavailable).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sideYes
priceYes
marketNo
currencyNo
quantityYes
account_idYes
session_idNoLegacy alias for tenant_session_id (non-paper tools only).
orderbook_idYes
brokerage_classNo
tenant_session_idNoOptional tenant session scope id for multi-session TUI/MCP routing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.42

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It does disclose the conservative-assumptions behavior when exact class data is unavailable, but it does not mention side effects, whether it fetches live data, or how the estimate output is structured.

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 front-loaded sentence with no filler. It communicates the core purpose immediately and the parenthetical adds a useful caution without bloating the text.

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

Completeness2/5

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

With 10 parameters, no output schema, and no annotations, one sentence is insufficient. The description leaves the agent uninformed about return values, parameter relationships, session/account context, and what 'break-even move' means operationally.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 20% across 10 parameters, and the description does not compensate. It gives no semantics for required fields like account_id, orderbook_id, side, price, or quantity, and does not explain how market, currency, or brokerage_class affect the estimate.

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 action ('estimate'), a concrete resource ('courtage/FX costs and break-even move'), and a clear context ('planned trade'). It is distinguishable from execution and post-trade attribution tools, though it does not explicitly name a sibling alternative.

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?

'For a planned trade' provides a clear use context, and the parenthetical hints at when conservative assumptions apply. However, it does not explicitly say when to prefer this tool over alternatives or when not to use it.

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

Deploy Server

Other Tools