Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Kassaprognos

get_cash_forecast
Read-onlyIdempotent

Cash forecast: the booked bank balance plus customer and supplier invoices falling due, week by week. Use when the person asks whether the money will last or how cash develops over the coming weeks. weeks sets the horizon. Example question: "Räcker pengarna de närmaste sex veckorna?" 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_cash_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNostartdatum ÅÅÅÅ-MM-DD, standard i dag Date as YYYY-MM-DD unless the text allows more.
weeksNoantal veckor, 1–26, standard 6 Number.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / date / description
      Previous value: -"startdatum ÅÅÅÅ-MM-DD, standard i dag"New value: +"startdatum ÅÅÅÅ-MM-DD, standard i dag Date as YYYY-MM-DD unless the text allows more."
    • changedInput schema / properties / weeks / description
      Previous value: -"antal veckor, 1–26, standard 6"New value: +"antal veckor, 1–26, standard 6 Number."
    • changedInput schema / properties / weeks / 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 read-only, idempotent, non-destructive and closed-world, so safety is covered. The description still adds real context: it is computed server-side from live Fortnox data, paged across all results, so the agent knows no pagination handling is needed and figures are current.

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?

Front-loads the definition of what is forecast, then usage, then the horizon parameter, then the example. Every sentence carries information; the Swedish sample question is useful illustration rather than padding, though the doc link is slightly extraneous.

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 shape need not be explained, and the description covers data source, aggregation basis, and horizon control. For a two-parameter read with full annotation coverage, that is close to complete; only the default horizon of 6 weeks is left 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 coverage is 100%, so both parameters are already documented including ranges and defaults. The description only adds the framing that 'weeks sets the horizon', which is marginal beyond what the schema states.

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 precise resource and computation: booked bank balance plus due customer and supplier invoices, aggregated week by week. That composition is specific enough to separate it from ledger, aging, and P&L siblings without needing to name them.

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 triggering condition ('when the person asks whether the money will last or how cash develops over the coming weeks') plus a worked example question. It does not name alternative tools or state when not to use it, 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