Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Kontoplan

get_chart_of_accounts
Read-onlyIdempotent

Chart of accounts: the company's accounts per account class (BAS, the Swedish standard chart of accounts), with balance and VAT code. Use when the person asks which accounts exist or which account to use for something. Example question: "Vilka konton har vi? Vilket konto använder vi för frakt?" 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_chart_of_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
sokNoord i kontots namn, till exempel "frakt"
allaNo"true" för att ta med konton som inte är aktiva
accountNoett konto eller ett intervall, till exempel "1930" eller "1930-1999" (i stället för from_account/to_account) Comma-separated.
to_accountNohögsta kontonummer BAS account number.
from_accountNolägsta kontonummer BAS account number.
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. Changed1 schema field changed
    • addedInput schema / properties / account
      Added value: +{
      +  "description": "ett konto eller ett intervall, till exempel \"1930\" eller \"1930-1999\" (i stället för from_account/to_account) Comma-separated.",
      +  "type": [
      +    "string",
      +    "number"
      +  ]
      +}
  2. Changed7 schema fields changed
    • changedInput schema / properties / alla / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "boolean",
      +  "string",
      +  "number"
      +]
    • 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"
      +]
    • changedInput schema / properties / from_account / description
      Previous value: -"lägsta kontonummer"New value: +"lägsta kontonummer BAS account number."
    • changedInput schema / properties / from_account / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
    • changedInput schema / properties / to_account / description
      Previous value: -"högsta kontonummer"New value: +"högsta kontonummer BAS account number."
    • changedInput schema / properties / to_account / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
  3. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive safety profile, so the description's job is to add operational context — and it does: results are computed server-side from live Fortnox data over all pages, which tells the agent pagination is handled and results are current. It stops short of describing result shape or latency behavior, preventing a 5.

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 definition, then usage, then behavior — a sensible order with no filler. The dual-language example questions cost a little length but directly help matching against user phrasing.

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?

With an output schema present and annotations covering safety, the description supplies the remaining essentials: data source, account standard, included fields, and server-side full-page retrieval. Only the absence of sibling disambiguation keeps it from being fully complete for a tool with three similarly named neighbors.

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 six parameters are already documented in the schema, which sets the baseline at 3. The description adds no filter-specific meaning (e.g. how search, account range, and financial year interact) that the schema does not already provide.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete resource (the company's chart of accounts), its standard (BAS), and its contents (balance and VAT code), so an agent immediately knows what data comes back. It does not, however, distinguish itself from plausible siblings like list_accounts or show_fortnox_chart, so it falls short of a 5.

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?

Explicit trigger: 'Use when the person asks which accounts exist or which account to use for something,' reinforced by two example questions in Swedish. That is clear when-to-use guidance, but there is no statement of when not to use it or which sibling to pick for overlapping lookups.

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