Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Balansräkning

get_balance_sheet
Read-onlyIdempotent

Balance sheet: assets, equity and liabilities per account group, today or at a chosen date, compared with the same date the year before. Use when the person asks what the company owns and owes, or for the balance sheet at a date. Example question: "Vad äger bolaget och vad är det skyldigt? Visa balansräkningen per 30 juni." 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_balance_sheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoÅÅÅÅ-MM-DD: balansen vid utgången av den månaden, mot samma månad året innan; utelämnad = nuvarande saldon Date as YYYY-MM-DD unless the text allows more.
financialyearNoräkenskapsårets id; standard det som innehåller i dag 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: balansen vid utgången av den månaden, mot samma månad året innan; utelämnad = nuvarande saldon"New value: +"ÅÅÅÅ-MM-DD: balansen vid utgången av den månaden, mot samma månad året innan; utelämnad = nuvarande saldon Date as YYYY-MM-DD unless the text allows more."
    • changedInput schema / properties / financialyear / description
      Previous value: -"räkenskapsårets id; standard det som innehåller i dag"New value: +"räkenskapsårets id; standard det som innehåller i dag Number."
    • changedInput schema / properties / financialyear / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
  2. Added

TDQS

A4.2/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 the safety profile is covered. The description adds real value beyond that: results are computed server-side from live Fortnox data and aggregated over all pages, which tells the agent not to worry about pagination or staleness. The Fortnox API doc link is a useful provenance pointer; rate limits or latency are not mentioned.

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 resource definition, then usage guidance, then example, then operational notes — a sensible ordering with little waste. The embedded Swedish example question and API doc link are mildly verbose but serve concrete purposes (trigger matching and provenance).

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?

An output schema exists so return structure need not be explained, annotations cover the safety profile, and both parameters are fully documented in the schema. The description adds the aggregation scope and data source an agent needs to call it correctly, leaving no meaningful gap for a read-only report tool.

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%, including the default behavior of the omitted date and the year-over-year comparison, so the schema already carries the semantics. The description's 'today or at a chosen date, compared with the same date the year before' largely restates that and adds no new format or constraint detail, 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?

Names a specific resource (balance sheet) and its contents (assets, equity, liabilities per account group), plus the temporal dimension (today or a chosen date, with prior-year comparison). This is unmistakably distinct from siblings like get_profit_and_loss or get_account_ledger without needing to open 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?

Gives concrete triggering conditions: 'Use when the person asks what the company owns and owes, or for the balance sheet at a date,' reinforced by a natural-language example question. It stops short of naming alternatives or stating when NOT to use it (e.g. versus get_profit_and_loss for income/expense questions), so it is clear but not fully routing.

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