Skip to main content
Glama

Bokslutsposternas fyra steg

get_year_end_checklist
Read-onlyIdempotent

Visar årsbokslutets bokföringssteg för ett räkenskapsår: periodiseringar, bokslutsdispositioner, aktuell skatt och årets resultat för aktiebolag och ekonomisk förening, periodiseringar och årets resultat för övriga bolagsformer (handelsbolag per delägare). Använd när du arbetar med bokslutet för ett visst år; för bolagets allmänna att göra-lista, använd read_checklist, och för om årsredovisning och INK2 är inlämnade, använd read_statutory_status. Returnerar status per steg, om steget kan bokföras nu och det föreslagna, beräknade verifikatet. Läser bara; stegen bokförs med book_year_end_step.

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

Input Schema

NameRequiredDescriptionDefault
yearYesRäkenskapsåret, angivet som året då räkenskapsåret slutar, t.ex. 2025 (för 2024-07-01 till 2025-06-30 anges 2025).
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. Changed2 schema fields 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."
    • 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)."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes further by describing the return payload (status per step, whether the step can be booked now, the proposed calculated voucher) even though no output schema exists. It also closes the loop by naming the tool that performs the mutation, so the read/write boundary is unambiguous.

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?

Well front-loaded: what it shows, then when to use it and what to use instead, then what it returns, then the read-only note. The opening sentence is long and packs the company-form matrix into one clause, but every clause carries information an agent needs.

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?

Despite having no output schema, the description explains the response shape and per-step status, and it names the follow-up mutation tool. For a two-parameter read tool with full annotation coverage, nothing an agent needs in order to select and call it correctly is missing.

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 100% and both parameters carry their own descriptions (year defined as the year the fiscal year ends, orgnr sourced via list_companies). The description only adds the notion of scope ('för ett räkenskapsår') and no format or interpretation detail beyond the schema, so the baseline of 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 and resource (shows the year-end bookkeeping steps for a fiscal year) and enumerates exactly which steps apply to which company form, including the partnership-per-partner special case. An agent can distinguish this from read_checklist and read_statutory_status without opening any schema.

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 trigger ('Använd när du arbetar med bokslutet för ett visst år') and then names the two near-miss alternatives with the condition that selects each: read_checklist for the general to-do list, read_statutory_status for filing status. It also points to book_year_end_step as the write counterpart.

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.