Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Dubblettkontroll

find_duplicate_supplier_invoices
Read-onlyIdempotent

Dubblettkontroll: leverantörsfakturor med samma leverantör och belopp, eller samma fakturanummer. Example question: "Har vi registrerat någon leverantörsfaktura två gånger?" Computed on the server from live Fortnox data (Fortnox API, https://api.fortnox.se/apidocs), over all pages.

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.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world). The description adds genuinely useful behavior: results are computed server-side from live Fortnox data across all pages, so the agent knows there is no client-side pagination gap. It omits finer points such as whether unbooked invoices are included by default, which the filter schema partially covers.

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?

A single compact paragraph, front-loaded with the definition, then the example question, then the computation note. The leading 'Dubblettkontroll:' repeats the title, costing a little space, but otherwise nothing is wasted.

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?

With an output schema present, return values need no explanation, and annotations cover safety. The description supplies the matching logic, data source, and scan scope, which is what an agent needs. Only minor gaps remain, e.g. whether obokförda invoices are treated differently in duplicate detection.

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 parameters (filter, fromdate, hela_historiken) are already fully documented in the schema. The description adds no additional detail about parameter interaction or formats, so baseline 3 applies. The 'over all pages' note hints at the hela_historiken behavior but does not explain it directly.

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 precise operation and matching rule: supplier invoices sharing the same supplier+amount, or the same invoice number. This is clearly distinct from the sibling listing tools (list_supplier_invoices, find_supplier_invoices), which do not perform duplicate detection. An agent can pick this tool from the name plus definition 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?

The concrete example question ("Har vi registrerat någon leverantörsfaktura två gånger?") makes the intended scenario obvious. It does not name an alternative or state when not to use it, but the matching criteria define the usage well enough for correct selection.

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