Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

List vouchers

list_vouchers
Read-onlyIdempotent

Lists vouchers (bookkeeping entries) in a financial year, one page per call, with filters such as voucher series, period and cost centre. Use when the person asks which vouchers were booked in a period or a series. summarize.all_pages gives totals over every page. Read-only. Fortnox API GET /3/vouchers (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_vouchers"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
limitNo
expandNoOpen each record (rows)
fieldsNoOnly these columns
offsetNo
sortbyNoOfficial Fortnox list sort field; valid fields are resource-specific.
todateNofilter on to date
fromdateNofilter on from date
sortorderNoOne of: ascending, descending
summarizeNoGroup and total on the server
costcenterNofilter on cost center
lastmodifiedNofilter on last modified date
financialyearNofilter on financial year
voucherseriesNofilter on voucher series

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly=true, idempotent=true and destructive=false, so 'Read-only' in the description is redundant. It does add real behavior beyond the annotations: one page per call, and that summarize.all_pages aggregates over every page, plus the Fortnox endpoint reference. Useful but not rich about permissions or limits.

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 verb-resource-scope, followed by usage, the summarize caveat and the endpoint. Dense and readable; only the redundant 'Read-only' sentence does not earn its place.

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?

An output schema exists, so return values need not be described, and annotations cover the safety profile. For a 14-parameter tool the description covers scope, pagination and aggregation, though it could say more about defaults and how filters combine.

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 coverage is 79%, so the baseline is 3. The description does add meaning for summarize.all_pages ('totals over every page') that the schema leaves undocumented, and names three filter families, but it does not explain pagination defaults or the sort fields.

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 and disambiguates it as bookkeeping entries rather than sales vouchers, plus scope ('in a financial year, one page per call'). It does not contrast with the nearby sibling find_vouchers_without_attachments, so it falls short of full sibling differentiation.

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 a concrete usage trigger: 'Use when the person asks which vouchers were booked in a period or a series.' That is clear context, but no when-not-to-use condition or named alternative is offered.

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