Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Förfallodagar

list_due_dates
Read-onlyIdempotent

Förfallodagar: kund- och leverantörsfakturor efter förfallodag — förfallet och det som förfaller de närmaste dagarna, per faktura. Example question: "Vad förfaller de närmaste 30 dagarna? Vilka leverantörsfakturor ska betalas nästa vecka?" Computed on the server from live Fortnox data (Fortnox API, https://api.fortnox.se/apidocs), over all pages.

Input Schema

NameRequiredDescriptionDefault
dateNoÅÅÅÅ-MM-DD att räkna från; standard i dag Date as YYYY-MM-DD unless the text allows more.
partNodel av kundens eller leverantörens namn, för att bara visa den
sidaNo"kund", "leverantor" eller "bada" (standard) One of: kund, leverantor, bada.
dagarNohur många dagar framåt, standard 30, högst 365 Number.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / dagar / description
      Previous value: -"hur många dagar framåt, standard 30, högst 365"New value: +"hur många dagar framåt, standard 30, högst 365 Number."
    • changedInput schema / properties / dagar / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
    • changedInput schema / properties / date / description
      Previous value: -"ÅÅÅÅ-MM-DD att räkna från; standard i dag"New value: +"ÅÅÅÅ-MM-DD att räkna från; standard i dag Date as YYYY-MM-DD unless the text allows more."
    • changedInput schema / properties / sida / description
      Previous value: -"\"kund\", \"leverantor\" eller \"bada\" (standard)"New value: +"\"kund\", \"leverantor\" eller \"bada\" (standard) One of: kund, leverantor, bada."
  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 readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior: results are computed server-side from live Fortnox data and cover all pages, so the agent knows the output is complete rather than a partial page.

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 scope is front-loaded in the first clause, followed by illustrative questions and a short provenance note. It is compact, though the bilingual Swedish/English mix makes it slightly less crisp than it could be.

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 and annotations covering safety, the description only needs to establish scope, and it does: both customer and supplier invoices, overdue plus upcoming, per invoice, full dataset. It could still say how it differs from the aging reports, but nothing essential is missing for correct invocation.

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 every one of the four parameters (date, part, sida, dagar) is already documented in the schema. The description only obliquely echoes the default 30-day window through its example question and adds no format or edge-case detail beyond what the schema provides.

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?

States a specific verb and resource: it lists customer and supplier invoices by due date, covering both overdue items and those falling due in the coming days, at invoice level. That is clearly distinguishable from siblings like get_payables_aging or get_receivables_aging, though the description never names an alternative explicitly.

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?

The two example questions ("Vad förfaller de närmaste 30 dagarna?", "Vilka leverantörsfakturor ska betalas nästa vecka?") imply the right usage context well. However, there is no explicit statement of when to prefer this over the aging-report siblings or the plain invoice list tools, so routing still requires inference.

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