Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Betaluppgifter

check_payment_details
Read-onlyIdempotent

Payment details check: suppliers changed in the register shortly before a payment, attachments with a different bank giro than the supplier register, and new suppliers with large invoices. Use when the person asks whether a supplier has changed bank details or what to check before paying. It shows that a supplier record changed, not what changed: Fortnox keeps no change history in its API. Example question: "Har någon leverantör bytt bankgiro? Finns det något jag ska kontrollera innan vi betalar?" 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": "check_payment_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
framNoobetalda fakturor som förfaller inom så många dagar, eller redan förfallit, granskas mot sitt underlag (standard 14, högst 60) Number.
dagarNohur långt bakåt ändringar i leverantörsregistret räknas (standard 7, högst 60) Number.
stort_beloppNobelopp i kr som räknas som stort för en ny leverantör (standard 10000) Number.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / dagar / description
      Previous value: -"hur långt bakåt ändringar i leverantörsregistret räknas (standard 7, högst 60)"New value: +"hur långt bakåt ändringar i leverantörsregistret räknas (standard 7, högst 60) Number."
    • changedInput schema / properties / dagar / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
    • changedInput schema / properties / fram / description
      Previous value: -"obetalda fakturor som förfaller inom så många dagar, eller redan förfallit, granskas mot sitt underlag (standard 14, högst 60)"New value: +"obetalda fakturor som förfaller inom så många dagar, eller redan förfallit, granskas mot sitt underlag (standard 14, högst 60) Number."
    • changedInput schema / properties / fram / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
    • changedInput schema / properties / stort_belopp / description
      Previous value: -"belopp i kr som räknas som stort för en ny leverantör (standard 10000)"New value: +"belopp i kr som räknas som stort för en ny leverantör (standard 10000) Number."
    • changedInput schema / properties / stort_belopp / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
  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 still adds real value beyond that: it discloses a key limitation (the tool shows that a record changed, not what changed, because Fortnox keeps no API change history) and states that results are computed server-side from live data across all pages.

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 checks come first, then the usage condition, then the limitation, then the data source — a sensible front-loaded order. It is slightly long, and the trailing API documentation URL and Swedish example block are marginally beyond what an agent needs, but nothing is genuinely redundant.

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?

An output schema exists, so return values need not be spelled out, and annotations cover safety. Combined with the disclosed change-history limitation and the all-pages/live-data note, the description is sufficient to call this tool correctly; only the parameter interaction is left entirely to the schema.

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 three parameters (fram, dagar, stort_belopp) already carry their own meaning, defaults and caps. The description does not reference them at all, so baseline 3 applies — the schema does the work and the prose adds nothing further about tuning the window or amount thresholds.

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 and resource (a payment-details check) and enumerates the three concrete findings it produces: suppliers whose register entry changed shortly before a payment, attachments whose bank giro differs from the register, and new suppliers with large invoices. An agent can distinguish it from siblings such as check_supplier_invoice_attachments or find_supplier_invoices without inspecting 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?

Gives explicit triggering context ('Use when the person asks whether a supplier has changed bank details or what to check before paying') and two concrete example questions in Swedish, which resolves the intent-matching ambiguity well. It stops short of naming when-not-to-use cases or an alternative sibling, so it falls just below the top mark.

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