Skip to main content
Glama

Årsredovisning: öppna poster

get_arsredovisning_status
Read-onlyIdempotent

Öppna poster för årsredovisningen: exakt vad som återstår innan iXBRL kan genereras, per sektion + platt lista (blockerande först). ARBETSSÄTT: gå igenom posterna med användaren som 'godkänn eller ändra', POST FÖR POST (säte, verksamhet, väsentliga händelser, resultatdisposition/utdelning, förändring eget kapital), och vänta på bekräftelse innan du skriver med set_arsredovisning_inputs och går vidare och färdigställer utkastet. Föreslå där suggested_value finns; fråga där kind=question. kind=toggle (EK-händelser, utdelning) är Nej/Ja: skriv toggle_field=true + belopp vid Ja, annars false (eller belopp 0), och sätt confirm_field=true när frågan besvarats. Genereringen släpps först när complete==true. OBS: belopp i HELA KRONOR (inte öre). Scope view. Argument: orgnr, year.

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>",
      "year": "<year>"
    },
    "name": "get_arsredovisning_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYes
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
    • addedInput schema / properties / orgnr / description
      Added value: +"Bolagets organisationsnummer, 10 siffror med eller utan bindestreck, t.ex. 559900-1004. Hämta med list_companies."
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare readOnly/idempotent; the description adds substantive behavior: the result is sectioned and flat with blockers first, it distinguishes suggested_value, kind=question and kind=toggle items, explains the toggle write pattern (toggle_field + confirm_field), and states that generation is released only when complete==true. It also flags that amounts are in whole kronor, not öre.

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?

Front-loaded with the purpose, then the workflow, then field-level rules, then edge notes — good ordering. It is dense and somewhat run-on in the middle (the toggle explanation), and the trailing 'Scope view. Argument: orgnr, year.' adds little, but nearly every sentence carries operational information.

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?

No output schema exists, and the description compensates well by describing the shape of the result (sections + flat list, blocking first) and the item kinds it returns. The only material gap left for an agent to call it correctly is the semantics of the year parameter.

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 coverage is 50%: orgnr is fully documented in the schema (10 digits, example, fetch via list_companies), while year is a bare integer. The description only restates 'Argument: orgnr, year' and does not clarify whether year is a calendar year or the fiscal year, which would matter for an annual-report tool.

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+resource in concrete terms: reads the open items of the annual report — exactly what remains before iXBRL can be generated — split per section plus a flat list with blocking items first. This clearly separates it from read_annual_report_draft, set_arsredovisning_inputs and generate_ixbrl.

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?

Gives an explicit operating procedure: go through the items with the user as 'approve or change', post by post, wait for confirmation before writing via set_arsredovisning_inputs and finishing the draft. It also names the sibling to call next and the condition (complete==true) that gates generation.

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.