Skip to main content
Glama
avanza-mcp

avanza-mcp

by truls27a

Get Accounts

get_accounts
Read-onlyIdempotent

Retrieve your Avanza accounts with total value and cash balances. Returns live data when a session is active, otherwise falls back to the stored snapshot.

Instructions

Accounts with total value and cash. Live with a session, otherwise from the snapshot.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare this as a safe, read-only, idempotent operation, so the description's added value lies in the freshness condition: results are live when a session exists and otherwise come from a snapshot. That is a genuinely useful behavioral disclosure beyond the structured annotations, though the meaning and staleness of 'snapshot' are left undefined.

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?

Two short sentences with the core return content front-loaded and no filler. Nothing in the description could be removed without losing information.

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?

An output schema exists, so return values need not be explained, and the tool is simple with no parameters. However, the two operative terms 'session' and 'snapshot' are undefined, leaving the agent unsure what state triggers which data source and how stale snapshot data can be.

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 tool takes zero parameters, so there is no parameter semantics for the description to compensate for; the baseline of 4 applies. The schema is empty and closed, matching the description's silence on inputs.

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 names the resource and what it returns ("Accounts with total value and cash"), a specific enough verb+resource pairing that an agent can tell it apart from get_holdings or get_transactions. It stops short of explicitly contrasting with those siblings, so it is clear but not fully differentiated.

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?

There is no explicit statement of when to call this versus alternatives such as get_holdings. The second sentence describes a data-source condition ('Live with a session, otherwise from the snapshot') rather than providing when-to-use or when-not-to-use guidance.

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