Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Månadsresultat

get_monthly_result
Read-onlyIdempotent

Monthly result: income, expenses and result per month, this year compared with last year. Use when the person asks how revenue, costs or margin have moved month by month. Example question: "Hur har omsättningen och marginalen rört sig månad för månad i år?" 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_monthly_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoÅÅÅÅ-MM-DD för att välja år Date as YYYY-MM-DD unless the text allows more.
to_accountNo BAS account number.
from_accountNokontointervall för en egen serie, standard hela resultaträkningen BAS account number.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / date / description
      Previous value: -"ÅÅÅÅ-MM-DD för att välja år"New value: +"ÅÅÅÅ-MM-DD för att välja år Date as YYYY-MM-DD unless the text allows more."
    • changedInput schema / properties / from_account / description
      Previous value: -"kontointervall för en egen serie, standard hela resultaträkningen"New value: +"kontointervall för en egen serie, standard hela resultaträkningen BAS account number."
    • changedInput schema / properties / from_account / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
    • changedInput schema / properties / to_account / description
      Previous value: -""New value: +" BAS account number."
    • changedInput schema / properties / to_account / 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 readOnly, idempotent, non-destructive and closed-world, so the description's 'Read-only' line is redundant. It does add genuinely new behavior: the figures are computed server-side from live Fortnox data and aggregate all pages, so the agent knows results are current and not truncated.

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-loaded with the purpose, then the usage trigger, then an example, then behavioral notes — a sensible ordering with little waste. The Swedish example question and the API URL are slightly expendable but each serves a purpose.

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 annotations plus full schema coverage carry the structural load. What remains unstated is the default scope when no account range is given (the full income statement), which the schema mentions but the description does not.

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 the three parameters (date, from_account, to_account) are already documented. The description adds no additional meaning about the date parameter selecting the fiscal year or about how the account range defaults, so the baseline 3 applies.

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 resource and metric set (income, expenses, result per month) plus the comparison axis (this year vs last year), which separates it from siblings like get_profit_and_loss or get_deviations_vs_last_month. It does not name an alternative explicitly, so it stops short of a 5.

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 how revenue, costs or margin have moved month by month') and reinforces it with a concrete example question. It lacks any when-not guidance or routing to overlapping siblings such as get_deviations_vs_last_year.

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