Skip to main content
Glama

Årsredovisningens siffror ur bokföringen

read_annual_report
Read-onlyIdempotent

Hämtar årsredovisningens siffror ur bokföringen för ett räkenskapsår: resultat- och balansräkning som K2-rader med jämförelseår, och bolagsuppgifter. Använd som utgångspunkt för årsredovisningen; för användarens sparade utkast i årsredovisningsguiden, använd read_annual_report_draft, för vad som saknas inför inlämning, get_arsredovisning_status, och för den färdiga filen, generate_ixbrl. Returnerar bolagsuppgifter med räkenskapsårets datum, raderna med belopp för året och jämförelseåret i kronor och om jämförelseår finns. Läser bara, ändrar inget.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "orgnr": "<orgnr>"
    },
    "name": "read_annual_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoRäkenskapsåret, angivet som året då räkenskapsåret slutar, t.ex. 2025 (för 2024-07-01 till 2025-06-30 anges 2025). Utelämna för det senaste räkenskapsåret med verifikat.
orgnrYesBolagets organisationsnummer, 10 siffror med eller utan bindestreck, t.ex. 559900-1004. Hämta med list_companies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / year / description
      Previous value: -"Räkenskapsåret, angivet som året då räkenskapsåret slutar, t.ex. 2025 (för 2024-07-01 till 2025-06-30 anges 2025). Utelämna för det senaste."New value: +"Räkenskapsåret, angivet som året då räkenskapsåret slutar, t.ex. 2025 (för 2024-07-01 till 2025-06-30 anges 2025). Utelämna för det senaste räkenskapsåret med verifikat."
  2. Changed1 schema field changed
    • addedInput schema / properties / year / description
      Added value: +"Räkenskapsåret, angivet som året då räkenskapsåret slutar, t.ex. 2025 (för 2024-07-01 till 2025-06-30 anges 2025). Utelämna för det senaste."
  3. Changed1 schema field changed
    • addedInput schema / properties / orgnr / description
      Added value: +"Bolagets organisationsnummer, 10 siffror med eller utan bindestreck, t.ex. 559900-1004. Hämta med list_companies."
  4. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, so safety is covered; the description reinforces with 'Läser bara, ändrar inget.' It adds genuinely new behavior detail by describing what is returned (bolagsuppgifter, dates, amounts in SEK, whether comparison year exists), though it doesn't mention pagination or edge cases around missing fiscal years.

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?

Single well-structured paragraph, front-loaded with purpose then alternatives then return values. Slightly dense with four sibling references, but every sentence carries routing or return information and nothing is redundant.

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

Completeness5/5

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

No output schema exists, so the description's account of return contents (company details, fiscal year dates, current and prior-year amounts in SEK, presence of comparison year) fully compensates. A read-only, two-parameter tool needs nothing more.

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% and the schema already explains both year (which year-end the fiscal year closes) and orgnr (10 digits, fetch via list_companies). The description adds no parameter-level meaning beyond the schema, so the baseline 3 applies.

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?

States a specific verb (Hämtar) and resource (årsredovisningens siffror ur bokföringen) plus scope (ett räkenskapsår) and content (K2-rader, jämförelseår, bolagsuppgifter). Clearly distinguishable from siblings like read_annual_report_draft or get_income_statement.

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

Usage Guidelines5/5

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

Explicitly gives the primary use case ('Använd som utgångspunkt för årsredovisningen') and routes to three named alternatives with their respective conditions: read_annual_report_draft for saved drafts, get_arsredovisning_status for missing items, generate_ixbrl for the finished file.

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.