Skip to main content
Glama
avanza-mcp

avanza-mcp

by truls27a

Avanza Status

avanza_status
Read-onlyIdempotent

Check whether a BankID session is stored, review the latest login attempt status, and see snapshot age without making an Avanza call.

Instructions

Whether a BankID session is stored, the latest login attempt's status, and the snapshot age. Makes no Avanza call.

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": "avanza_status"
  }
}

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.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the safety profile is covered. The description adds genuinely new behavioral context — that no Avanza (remote) call is made, meaning it reads local state only — which changes how an agent should budget and sequence calls. It stops short of stating freshness guarantees for the 'snapshot age' beyond naming it.

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, no filler, with the reported fields front-loaded and the notable no-network caveat trailing as a qualifier. Every clause carries information an agent would otherwise have to guess.

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 an output schema present, return-field detail is already documented, and annotations cover safety; the description still adds the no-remote-call fact that structured fields do not carry. The only gap is sequencing relative to the login/connect siblings, which would make it fully self-sufficient for a status probe.

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 meaning to convey; baseline 4 applies. The description correctly avoids inventing options and frames the entire call as parameter-free.

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 exact resource it reports on — BankID session presence, latest login attempt status, and snapshot age — in a single specific clause, so an agent knows precisely what comes back. It does not name a contrasting sibling (e.g. bankid_login_poll), but the 'Makes no Avanza call' clause implicitly separates it from the data-fetching siblings.

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?

Usage is implied rather than stated: an agent can infer this is the cheap pre-check before calling connect_avanza or polling login. There is no explicit 'use this when…' or 'do not use this for…' guidance, and no pointer to bankid_login_poll for active polling.

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