Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Åldersanalys kundfordringar

get_receivables_aging
Read-onlyIdempotent

Accounts receivable ageing: overdue customer invoices per age interval and per customer. Use when the person asks how much customers owe, how overdue it is, or which customers owe the most. date gives the position at a past date. Example question: "Hur mycket har vi förfallet, hur gammalt är det, och vilka kunder står för mest?" 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_receivables_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

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behaviour: the figures are computed server-side from live Fortnox data and aggregated over all pages, so the agent knows paging is handled and results are current. Beyond that it says nothing about refresh timing or the cost/scale of the scan.

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 is front-loaded in the first clause, followed by usage, the date note, and provenance. The embedded Swedish example question and the API docs URL are slightly extraneous for an agent, but nothing is padded or 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?

With an output schema present, the description need not explain return values, and it covers purpose, triggers, default/backdate behaviour of the only parameter, and data provenance. For a single-parameter read-only aggregate this is essentially sufficient; only the payables/aging sibling distinction is missing.

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 coverage is 100% and the single optional date parameter is fully documented there, so the baseline of 3 applies. The sentence 'date gives the position at a past date' restates the schema's backdating semantics a bit more readably than the garbled schema text, but it adds no format or edge-case detail.

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?

Opens with a specific verb+resource and output shape: overdue customer invoices broken down 'per age interval and per customer'. It is clearly distinguishable from most siblings, though it never states that get_payables_aging is the supplier-side counterpart, so the one genuinely confusable neighbour is left implicit.

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 concrete triggering questions ('how much customers owe, how overdue it is, or which customers owe the most') plus a worked example question, which is strong positive guidance. It lacks any when-not-to-use clause or named alternative, so it stops short of a 5.

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