Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Get a voucher

get_voucher
Read-onlyIdempotent

Returns one voucher by series and number, with all its rows; financialyear chooses the year, and without it Fortnox looks in the latest financial year. Use when the person asks about a specific voucher. Read-only. Fortnox API GET /3/vouchers/{VoucherSeries}/{VoucherNumber} (https://api.fortnox.se/apidocs).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "VoucherSeries": "<VoucherSeries>",
      "VoucherNumber": "<VoucherNumber>"
    },
    "name": "get_voucher"
  }
}

Input Schema

NameRequiredDescriptionDefault
VoucherNumberYesidentifies the voucher number
VoucherSeriesYesidentifies the voucher series
financialyearNofilter on financial year

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds real value beyond them by disclosing that all voucher rows are returned and that omitting financialyear makes Fortnox search the latest financial year — a non-obvious default.

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 behavior, then the parameter nuance, then the usage cue in a few compact sentences. The trailing API path and docs URL are slightly extraneous but cheap and useful for traceability.

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 simple three-parameter read with a full output schema and rich annotations, the description covers purpose, default-year behavior, and return scope. Nothing essential to a correct call is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema lacks: financialyear is optional and defaults to the latest financial year, and the two required keys are described as identifying series and number.

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: "Returns one voucher by series and number, with all its rows." The 'one' and the key-based lookup clearly separate it from ledger/posting listing tools, though no sibling is named explicitly.

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 clear selection condition: "Use when the person asks about a specific voucher." It does not name an alternative tool or state when not to use it, so it falls short of full routing guidance.

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