Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Dagsläget

get_recent_activity
Read-onlyIdempotent

What has happened since a date: new and changed supplier invoices, new customer invoices, incoming and outgoing payments, what falls due in the coming days and what is in the inbox. Use when the person asks how things look today or what has happened since a given day. sedan is the start date (default yesterday); dagar is how many days ahead due items are shown (default 7). Example question: "Hur ser det ut i dag? Vad har hänt sedan i fredags?" 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_recent_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
dagarNohur många dagar framåt för det som förfaller, standard 7 Number.
sedanNoÅÅÅÅ-MM-DD, standard i går (date, since och fromdate läses som sedan) Date as YYYY-MM-DD unless the text allows more.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, closed-world, and non-destructive, so the bar is lower. The description adds genuinely useful behavior beyond them: the result is computed server-side from live Fortnox data and aggregates over all pages, so the caller knows no pagination loop is needed.

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?

Content is front-loaded: what it returns, then when to use it, then parameter meaning, then provenance. It is a single dense paragraph that partially repeats the schema's defaults, which keeps it from being maximally tight.

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, return values need no explanation, and the description covers scope, triggers, parameter meaning, and data provenance. Minor gaps remain (e.g. whether results span all companies or the connected company, and what 'inbox' comprises), but nothing blocks a correct call.

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 schema already declares the defaults (7 days, yesterday), so the description's restatement of default values is largely redundant. It does help by glossing the Swedish parameter names in English, but adds no formats or edge cases beyond the schema.

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?

It names a specific resource and enumerates exactly what is returned: new and changed supplier invoices, customer invoices, incoming/outgoing payments, upcoming due items, and inbox contents. An agent can distinguish it from narrower siblings such as get_inbox_folder or get_cash_forecast without opening a 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?

It gives explicit triggers ('how things look today', 'what has happened since a given day') plus a concrete example question in Swedish. It does not name what to use instead for narrower questions (e.g. payables aging or cash forecast), so it falls short of full when/when-not routing.

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