Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Underlagskontroll

check_supplier_invoice_attachments
Read-onlyIdempotent

Underlagskontroll: stämmer leverantörsfakturorna mot sina bilagor — belopp, moms, förfallodag, OCR och bankgiro, och vilka saknar underlag. Example question: "Stämmer leverantörsfakturorna i september mot sina underlag? Saknas någon bilaga?" Computed on the server from live Fortnox data (Fortnox API, https://api.fortnox.se/apidocs), over all pages.

Input Schema

NameRequiredDescriptionDefault
maxNofakturor att läsa underlaget för i ett anrop (standard 20, högst 40) Number.
borjanNohoppa över så många fakturor — för att fortsätta där förra anropet slutade Number.
to_dateNofakturadatum till (standard: i dag) Date as YYYY-MM-DD unless the text allows more.
from_dateNofakturadatum från, ÅÅÅÅ-MM-DD (standard: 30 dagar bakåt) Date as YYYY-MM-DD unless the text allows more.
leverantorNoleverantörsnummer, för en enda leverantör

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / borjan / description
      Previous value: -"hoppa över så många fakturor — för att fortsätta där förra anropet slutade"New value: +"hoppa över så många fakturor — för att fortsätta där förra anropet slutade Number."
    • changedInput schema / properties / borjan / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
    • changedInput schema / properties / from_date / description
      Previous value: -"fakturadatum från, ÅÅÅÅ-MM-DD (standard: 30 dagar bakåt)"New value: +"fakturadatum från, ÅÅÅÅ-MM-DD (standard: 30 dagar bakåt) Date as YYYY-MM-DD unless the text allows more."
    • changedInput schema / properties / max / description
      Previous value: -"fakturor att läsa underlaget för i ett anrop (standard 20, högst 40)"New value: +"fakturor att läsa underlaget för i ett anrop (standard 20, högst 40) Number."
    • changedInput schema / properties / max / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
    • changedInput schema / properties / to_date / description
      Previous value: -"fakturadatum till (standard: i dag)"New value: +"fakturadatum till (standard: i dag) Date as YYYY-MM-DD unless the text allows more."
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description still adds meaningful behavioral context: it is computed server-side from live Fortnox data and runs across all pages, telling the agent results are fresh and paginated. It does not detail cost or rate limits, keeping it below 5.

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 core check is front-loaded in the first sentence, followed by an example and a short data-provenance note. The API URL reference is slightly extraneous but the overall length is justified and well-ordered.

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 not be explained. The description covers what is compared, that it looks for missing attachments, that data is live, and that all pages are included, giving the agent enough to call it correctly. Minor gaps remain around whether results are flagged vs. enumerated.

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 max, borjan, from_date, to_date and leverantor are all documented in the schema itself. The description adds no parameter-specific syntax or format guidance beyond what the schema already provides, so the baseline of 3 applies.

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 states a specific verb (check/match) and resource (supplier invoices vs. their attachments) plus the exact fields compared: amount, VAT, due date, OCR and bankgiro, and which lack attachments. It is clearly distinguishable from list_supplier_invoices and find_duplicate_supplier_invoices, though it does not explicitly name the closest sibling, find_vouchers_without_attachments.

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?

An embedded example question ("Stämmer leverantörsfakturorna i september mot sina underlag? Saknas någon bilaga?") implies when the tool applies, which is helpful context. However, there is no explicit when-to-use/when-not guidance and no alternative tool is named for overlapping cases.

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