Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Kassaprognos

get_cash_forecast
Read-onlyIdempotent

Kassaprognos: bokfört banksaldo plus förfallande in- och utbetalningar vecka för vecka. Example question: "Räcker pengarna de närmaste sex veckorna?" Computed on the server from live Fortnox data (Fortnox API, https://api.fortnox.se/apidocs), over all pages.

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

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world behavior, so the description's added value is the disclosure that figures are computed server-side from live Fortnox data and aggregated over all pages. That tells the agent the output is current and complete, not a cached or truncated page. It stops short of explaining how partial periods or missing due dates are handled.

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?

Three short sentences, front-loaded with the core definition before the example and the data-source note. The API URL is arguably noise for an agent, but nothing else is wasted.

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 needn't explain return shape; it covers purpose, data origin, freshness, and an illustrative query. The only real gap is that it never mentions the date/weeks defaults or absent-argument behavior, which the agent must get from 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%, and the two parameters (date, weeks 1–26 with defaults) are fully documented in the schema. The description adds only an oblique hint in the example question ("sex veckor") and no format or range detail beyond the schema, so baseline 3 applies.

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?

"Bokfört banksaldo plus förfallande in- och utbetalningar vecka för vecka" states a specific computation, its inputs (booked balance + due payments) and its output granularity (weekly). An agent can distinguish this forecast tool from aging/reporting siblings like get_payables_aging or get_receivables_aging without reading 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The example question ("Räcker pengarna de närmaste sex veckorna?") implies the liquidity-planning scenario in which to use it, but there is no explicit when-not guidance or named alternative among the ~90 siblings. Usage is inferable rather than stated.

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