Skip to main content
Glama

list_invoices

Read-only

Retrieve Fortnox invoices with filters for payment status, date range, customer, or webshop order number to locate and review billing records.

Instructions

List invoices. your_order_number = the customer's or webshop's order number (YourOrderNumber) — how the invoice for a webshop order is usually found.

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_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
limitNo
filterNo
to_dateNo
from_dateNo
customer_numberNo
your_order_numberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that: no pagination behavior, no result ordering, no note on whether filters combine, and no hint about volume/limits despite openWorldHint.

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?

Two sentences with no filler; the lookup hint is placed immediately after the purpose statement. The inline 'param = meaning' formatting is a bit awkward but functional and compact.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A seven-parameter, zero-coverage listing tool with no output schema needs more than a one-parameter hint. Nothing tells the agent how paging interacts with the 100 default limit, how the date range bounds results, or how the enum filter values map to invoice states.

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

Parameters2/5

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

Schema description coverage is 0% across 7 parameters, so the description must compensate — but it only explains one parameter (your_order_number), leaving page, limit, filter, to_date, from_date, and customer_number entirely undocumented. The one explanation it does provide is genuinely clarifying, but coverage is far too thin.

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?

The description opens with a specific verb and resource ('List invoices'), which is unambiguous on its own. It does not, however, distinguish this from the sibling list_supplier_invoices, so an agent must infer the scope (customer vs. supplier invoices) from the name alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The second sentence implies a use case — looking up an invoice via a webshop order number — which gives useful lookup context. It stops short of explicit when-to-use/when-not guidance and names no alternative tool for the other cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.