Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

List accounts

list_accounts
Read-onlyIdempotent

Lists the accounts in the company's chart of accounts with number, description and settings, one page per call. Use when the person asks to look up accounts by number or name, or which accounts are active. The list does not carry account balances. summarize.all_pages gives totals over every page. Read-only. Fortnox API GET /3/accounts (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": "list_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
sruNo
pageNo
limitNo
expandNoOpen each record (rows)
fieldsNoOnly these columns
offsetNo
sortbyNoOne of: number
sortorderNoOne of: ascending, descending
summarizeNoGroup and total on the server
lastmodifiedNo
financialyearNoFortnox financial-year id used to retrieve the account state for an explicit year.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations (which already declare readOnly, idempotent, non-destructive), the description discloses pagination ('one page per call'), a data-boundary caveat ('does not carry account balances'), and the summarize.all_pages aggregation behavior. It also cites the API endpoint. Missing rate/limit or ordering behavior, so not 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-loads the core purpose and keeps to a handful of tight sentences covering use case, caveat, and aggregation. The trailing endpoint URL is mildly extraneous but overall there is little waste.

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 an 11-param nested list tool with an output schema (so return values need not be explained), the description covers the key caller decisions: when to use it, pagination, absence of balances, and server-side totals. Parameter-level detail beyond summarize is thin, but the schema and output schema pick up most of the slack.

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 55% across 11 parameters, so some compensation is needed. The description only adds meaning for summarize.all_pages ('totals over every page'); page, limit, sru, financialyear, and expand are left to the schema, and the nested summarize behavior is only partially clarified.

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 specific verb and resource ('Lists the accounts in the company's chart of accounts') plus the fields returned (number, description, settings) and the pagination shape ('one page per call'). It does not explicitly distinguish itself from the sibling get_chart_of_accounts, so an agent must infer the difference.

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 use triggers: 'when the person asks to look up accounts by number or name, or which accounts are active.' No explicit when-not conditions or named alternative tools, which keeps it below a 5.

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