Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Bokslutspaket

get_year_end_package
Read-onlyIdempotent

Year-end package under K2 (the Swedish simplified annual-accounts rules for smaller companies): what remains before the year is closed, estimated income tax and tax allocation reserve, and proposed year-end vouchers. Use when the person asks to prepare the year-end closing. The proposed vouchers are not booked: each is sent only after the person approves it. Example question: "Förbered bokslutet för 2025." 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_year_end_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
arNoräkenskapsåret som ska stängas, ÅÅÅÅ (året då det slutar); standard det år som täcker i dag Year, YYYY.
dateNoett datum i räkenskapsåret, ÅÅÅÅ-MM-DD (alternativ till ar) Date as YYYY-MM-DD unless the text allows more.
serieNoverifikatserie för förslagen; standard bolagets bokslutsserie om den finns, annars A
financialyearNoräkenskapsårets id Number.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / ar / description
      Previous value: -"räkenskapsåret som ska stängas, ÅÅÅÅ (året då det slutar); standard det år som täcker i dag"New value: +"räkenskapsåret som ska stängas, ÅÅÅÅ (året då det slutar); standard det år som täcker i dag Year, YYYY."
    • changedInput schema / properties / ar / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
    • changedInput schema / properties / date / description
      Previous value: -"ett datum i räkenskapsåret, ÅÅÅÅ-MM-DD (alternativ till ar)"New value: +"ett datum i räkenskapsåret, ÅÅÅÅ-MM-DD (alternativ till ar) Date as YYYY-MM-DD unless the text allows more."
    • changedInput schema / properties / financialyear / description
      Previous value: -"räkenskapsårets id"New value: +"räkenskapsårets id Number."
    • changedInput schema / properties / financialyear / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotent/non-destructive, and the description still adds genuinely new behavior: the package is computed server-side from live Fortnox data across all pages, and the proposed vouchers are not booked but sent one at a time only after the person approves. That approval gating is the single most important thing an agent could get wrong here, and it is stated explicitly.

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 content is front-loaded (what the package is, then when to use it, then the approval caveat) and each sentence carries information. It is slightly dense for one paragraph, with a bilingual parenthetical, an example question and an API URL competing for attention, but nothing is pure filler.

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?

For a read-only, output-schema-backed aggregation tool, the description covers scope, data source, approval semantics and a usage trigger. Nothing an agent needs in order to call it correctly or to describe the result to a user 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 description coverage is 100%, so the four parameters (ar, date, serie, financialyear) and their defaults are already documented in structured form. The description adds only that computation spans "all pages"; it contributes no additional meaning about how ar vs date vs financialyear interact, 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?

The description names a specific deliverable (a K2 year-end package) and enumerates its contents: remaining closing items, estimated income tax and tax allocation reserve, and proposed year-end vouchers. That is concrete enough to separate it from the month-end review and the plain balance-sheet/P&L siblings 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 Guidelines4/5

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

It gives a clear trigger ("Use when the person asks to prepare the year-end closing") plus a worked example question, which anchors the intent. It does not name an alternative tool or state when not to use it, so it stops short of full 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