Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Årsskiftet

check_opening_balances
Read-onlyIdempotent

Year-end transition check: do this year's opening balances match last year's closing balances, and has last year's result been booked and allocated, with last year's key figures to compare with the annual report. Use when the person asks whether the opening balances are right or wants to check against last year's annual report. Example question: "Stämmer ingående balanserna med förra årets bokslut? Kontrollera mot förra årsredovisningen." 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": "check_opening_balances"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoÅÅÅÅ-MM-DD i det räkenskapsår som ska kontrolleras; standard i dag Date as YYYY-MM-DD unless the text allows more.
financialyearNoräkenskapsårets id Number.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / date / description
      Previous value: -"ÅÅÅÅ-MM-DD i det räkenskapsår som ska kontrolleras; standard i dag"New value: +"ÅÅÅÅ-MM-DD i det räkenskapsår som ska kontrolleras; standard i dag 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.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely non-redundant context: results are computed server-side from live Fortnox data, paginated across all pages, and include last year's key figures. It stops short of describing edge cases such as what happens when no prior-year comparison exists.

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 and scope, then usage guidance, then an example, then technical provenance — a sensible order with no filler. Slightly long for the information conveyed, and the Swedish example question partly duplicates the preceding English sentence.

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?

For a no-required-parameter, read-only verification tool with a full output schema and rich annotations, the description covers what is checked, when to invoke it, and where the data comes from. The only gap is the absence of any note on company/connection prerequisites before the server-side computation can run.

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 both the date and financialyear parameters are already documented in the schema. The description adds no format, default, or interaction guidance beyond that (e.g. which fiscal year is assumed when neither parameter is supplied), so it earns only the baseline.

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: it compares this year's opening balances against last year's closing balances, verifies that last year's result has been booked and allocated, and returns last year's key figures for comparison with the annual report. That is far more precise than a generic 'check' tool and is clearly delineated from siblings like check_accruals or get_balance_sheet.

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?

Explicitly gives the triggering condition ('Use when the person asks whether the opening balances are right or wants to check against last year's annual report') and backs it with a concrete example question. It does not, however, state when NOT to use it or name which sibling handles adjacent checks (e.g. accruals, fixed assets), so the agent must infer the boundary.

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