Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Kundfakturor för en kund eller per status

find_customer_invoices
Read-onlyIdempotent

Customer invoices for one customer or by status: unpaid, overdue, not sent, paid (with payment date) or all, with amount and due date. Use when the person asks whether a customer has paid, or which customer invoices are unpaid, overdue or not sent. Example question: "Har Nordic betalat sina fakturor? Vilka kundfakturor är inte skickade?" 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": "find_customer_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
kundNokundens nummer, eller del av namnet; utan visas alla kunder
statusNo"obetalda" (standard), "forfallna", "ej_skickade" (obetalda som Fortnox inte skickat), "betalda" eller "alla" One of: obetalda, forfallna, ej_skickade, betalda, alla.
todateNoÅÅÅÅ-MM-DD, fakturadatum till Date as YYYY-MM-DD unless the text allows more.
fromdateNoÅÅÅÅ-MM-DD, fakturadatum från (för "betalda" och "alla"; standard ett år bakåt) Date as YYYY-MM-DD unless the text allows more.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / fromdate / description
      Previous value: -"ÅÅÅÅ-MM-DD, fakturadatum från (för \"betalda\" och \"alla\"; standard ett år bakåt)"New value: +"ÅÅÅÅ-MM-DD, fakturadatum från (för \"betalda\" och \"alla\"; standard ett år bakåt) Date as YYYY-MM-DD unless the text allows more."
    • changedInput schema / properties / status / description
      Previous value: -"\"obetalda\" (standard), \"forfallna\", \"ej_skickade\" (obetalda som Fortnox inte skickat), \"betalda\" eller \"alla\""New value: +"\"obetalda\" (standard), \"forfallna\", \"ej_skickade\" (obetalda som Fortnox inte skickat), \"betalda\" eller \"alla\" One of: obetalda, forfallna, ej_skickade, betalda, alla."
    • changedInput schema / properties / todate / description
      Previous value: -"ÅÅÅÅ-MM-DD, fakturadatum till"New value: +"ÅÅÅÅ-MM-DD, fakturadatum till Date as YYYY-MM-DD unless the text allows more."
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new operational context: results are 'computed on the server from live Fortnox data over all pages', which tells the agent it does not need to paginate or aggregate itself, and it notes that paid invoices carry a payment date.

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 purpose and return scope, then usage, then a technical note on data origin. The only slack is the bilingual repetition (English status list plus a Swedish example question), but nothing is misleading or clearly wasteful.

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 read-only, fully documented four-parameter tool with an output schema and complete annotations, the description covers purpose, triggers, data source, and completeness of results. What remains missing is minor routing guidance toward related tools like find_supplier_invoices or list_invoices.

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 schema already documents the customer, status enum, and date-range semantics in detail. The description restates the status options and the returned payment date but adds no format or interaction details beyond the schema, so the baseline of 3 applies.

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

Purpose5/5

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

States a specific verb+resource (customer invoices) and enumerates the exact scopes it can return – unpaid, overdue, not sent, paid with payment date, or all – plus the fields returned (amount, due date). The word 'customer' plus the title make it clearly distinct from supplier-invoice siblings such as find_supplier_invoices, so an agent can pick it without opening the schema.

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?

Explicitly scopes usage: 'Use when the person asks whether a customer has paid, or which customer invoices are unpaid, overdue or not sent', reinforced with a concrete example question. It gives strong when-to-use context but never names an alternative tool or a when-not-to-use condition.

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