Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Åldersanalys leverantörsskulder

get_payables_aging
Read-onlyIdempotent

Accounts payable ageing: overdue supplier invoices per age interval and per supplier. Use when the person asks which supplier invoices are overdue and for how long. date gives the position at a past date. Example question: "Vilka leverantörsfakturor har vi låtit förfalla, och hur länge?" 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": "get_payables_aging"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoÅÅÅÅ-MM-DD (eller ÅÅÅÅ-MM = månadens sista dag) som åldersanalysen gäller per, till exempel en månads sista dag; standard i dag. Ett passerat datum återskapar f Date as YYYY-MM-DD unless the text allows more.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / date / description
      Previous value: -"ÅÅÅÅ-MM-DD (eller ÅÅÅÅ-MM = månadens sista dag) som åldersanalysen gäller per, till exempel en månads sista dag; standard i dag. Ett passerat datum återskapar f"New value: +"ÅÅÅÅ-MM-DD (eller ÅÅÅÅ-MM = månadens sista dag) som åldersanalysen gäller per, till exempel en månads sista dag; standard i dag. Ett passerat datum återskapar f Date as YYYY-MM-DD unless the text allows more."
  2. Added

TDQS

A4.4/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 adds genuinely useful behavior: results are computed server-side from live Fortnox data across all pages, meaning no pagination handling is required, and the date argument positions the report at a past point in time.

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?

Purpose and trigger are front-loaded in the first two sentences. Slight waste in the trailing Fortnox API doc URL, which adds little for an agent deciding whether to call the tool, but the rest is dense and earns its place.

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?

An output schema exists, so return values needn't be explained, and annotations carry the safety profile. With a single optional parameter at full schema coverage, the description covers everything an agent needs to select and call this tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the sentence 'date gives the position at a past date' adds semantic meaning beyond the schema's format note — it clarifies the parameter is an as-of anchor rather than a filter range. That is a real increment over the structured field.

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 resource and scope: 'Accounts payable ageing: overdue supplier invoices per age interval and per supplier.' The payables-vs-receivables distinction is explicit in the name and first clause, so an agent can separate it from get_receivables_aging without opening either 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 a clear trigger condition ('Use when the person asks which supplier invoices are overdue and for how long') plus a concrete example question in Swedish. It does not name an alternative for non-overdue AP questions or for summary-level key figures, so it falls short of explicit 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