Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Flerårsöversikt

get_multi_year_overview
Read-onlyIdempotent

Multi-year overview: income, expenses, result, cash, equity and equity ratio per financial year, up to twenty years in one answer. Use when the person asks how the company has developed over several years. Example question: "Hur har det gått de senaste tio åren? Visa omsättning, resultat och kassa år för år." Read-only; computed on the server from live Fortnox data over all pages (Fortnox API, https://api.fortnox.se/apidocs).

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_multi_year_overview"
  }
}

Input Schema

NameRequiredDescriptionDefault
fran_arNoförsta året (ÅÅÅÅ) Year, YYYY.
till_arNosista året (ÅÅÅÅ) Year, YYYY.
antal_arNoantal räkenskapsår bakåt från det senaste, standard 10, högst 20 Number.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / antal_ar / description
      Previous value: -"antal räkenskapsår bakåt från det senaste, standard 10, högst 20"New value: +"antal räkenskapsår bakåt från det senaste, standard 10, högst 20 Number."
    • changedInput schema / properties / antal_ar / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
    • changedInput schema / properties / fran_ar / description
      Previous value: -"första året (ÅÅÅÅ)"New value: +"första året (ÅÅÅÅ) Year, YYYY."
    • changedInput schema / properties / fran_ar / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
    • changedInput schema / properties / till_ar / description
      Previous value: -"sista året (ÅÅÅÅ)"New value: +"sista året (ÅÅÅÅ) Year, YYYY."
    • changedInput schema / properties / till_ar / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, and closed-world behavior, so the description does not need to repeat the safety profile. It adds useful context by stating that results are computed on the server from live Fortnox data across all pages and can cover up to twenty years in one answer.

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 front-loaded with the purpose and scope, then follows with usage guidance and behavioral context. It is generally concise, though the Swedish example question and the Fortnox API link add some length beyond the core definition.

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?

Given that an output schema exists and annotations already cover safety and idempotency, the description is largely complete for this tool. The main remaining gap is the lack of explicit guidance on parameter precedence and on when to choose this tool instead of related sibling tools.

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 description coverage is 100%, so the schema already documents fran_ar, till_ar, and antal_ar. The description only reinforces the twenty-year maximum and does not clarify how the year-range parameters interact with the year-count parameter, such as precedence when both are supplied.

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 resource and scope: a multi-year overview covering income, expenses, result, cash, equity, and equity ratio per financial year, up to twenty years. This is clear enough for an agent to understand what the tool returns, but it does not explicitly distinguish it from sibling tools such as get_key_figures, get_profit_and_loss, or get_year_end_package.

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

Usage Guidelines4/5

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

It gives a clear usage context: use when the person asks how the company has developed over several years, and it includes a concrete example question. It does not state when not to use the tool or name alternatives, so it falls short of explicit routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources