Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Dubblettkontroll

find_duplicate_supplier_invoices
Read-onlyIdempotent

Possible duplicate supplier invoices: the same supplier and amount, or the same invoice number. Use when the person asks whether a supplier invoice has been registered twice. Reads twelve months by default; hela_historiken reads all of it. Example question: "Har vi registrerat någon leverantörsfaktura två gånger?" 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_duplicate_supplier_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
filterNotom (standard: alla leverantörsfakturor, även obokförda) eller ett av Fortnox egna filter
fromdateNofakturadatum från och med ÅÅÅÅ-MM-DD (standard tolv månader bakåt) Date as YYYY-MM-DD unless the text allows more.
hela_historikenNo"ja" för att läsa alla år

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / fromdate / description
      Previous value: -"fakturadatum från och med ÅÅÅÅ-MM-DD (standard tolv månader bakåt)"New value: +"fakturadatum från och med ÅÅÅÅ-MM-DD (standard tolv månader bakåt) Date as YYYY-MM-DD unless the text allows more."
    • changedInput schema / properties / hela_historiken / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "boolean",
      +  "string",
      +  "number"
      +]
  2. Added

TDQS

A4.2/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 bar is lower. The description still adds real behavior: a twelve-month default window, an override that reads all years, and that results are computed server-side from live Fortnox data across all pages (pagination handled automatically). It omits any cost/latency warning for the all-history mode.

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?

The matching criteria come first, then the usage trigger, then scope defaults, then a provenance/read-only note — a sensible front-loaded order with no filler. It is dense and mixes Swedish and English terms, but each sentence carries distinct information.

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

Completeness5/5

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

Return values are covered by the existing output schema, and the description sufficiently covers matching logic, default time window, override behavior, and read-only/server-side computation. Nothing an agent needs in order to call it correctly is missing.

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 100%, so all three parameters are already documented, and the description largely restates them (twelve-month default, hela_historiken for everything). It adds only light framing of the default window rather than new syntax or edge-case meaning, so the baseline 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?

The description names a specific resource (supplier invoices) and a specific detection rule (same supplier and amount, or same invoice number), so an agent can distinguish it from plain retrieval siblings like find_supplier_invoices. The example question reinforces the exact intent.

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?

It states the triggering condition clearly: use when the person asks whether a supplier invoice has been registered twice, with a concrete example phrasing. It does not name sibling alternatives (e.g. find_supplier_invoices, check_invoices_exist) to steer away from, so it stops short of full when/when-not 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