Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Bokför kvittona

prepare_inbox_receipts
Read-onlyIdempotent

Reads the receipts and expenses in the inbox folder Kvitto & Utlägg (receipts and expenses), assigns accounts and returns vouchers as one batch proposal for the person to review. Use when the person asks to book the receipts in the inbox. betalt_med says how they were paid (bank, cash, an employee's expense or an account number). It books nothing: the batch is sent only after the person approves it. Example question: "Bokför kvittona som ligger i inkorgen. De är betalda med företagskortet." 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": "prepare_inbox_receipts"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNohögst så många filer per gång, standard 10, högst 20 Number.
filerNofilernas id, kommaseparerade — standard alla i mappen Kvitto & Utlägg Comma-separated.
konteringNohistorik (standard: som samma säljare bokförts tidigare) eller ett kostnadskonto för alla
betalt_medNobank (standard: bolagets bankkonto), kassa, utlagg (en anställd lade ut — skuld till den anställde) eller ett kontonummer

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / filer / description
      Previous value: -"filernas id, kommaseparerade — standard alla i mappen Kvitto & Utlägg"New value: +"filernas id, kommaseparerade — standard alla i mappen Kvitto & Utlägg Comma-separated."
    • changedInput schema / properties / max / description
      Previous value: -"högst så många filer per gång, standard 10, högst 20"New value: +"högst så många filer per gång, standard 10, högst 20 Number."
    • changedInput schema / properties / max / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false. The description reinforces this with the crucial 'It books nothing: the batch is sent only after the person approves it' and adds where the data comes from ('computed on the server from live Fortnox data over all pages'), which annotations alone cannot convey.

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?

The purpose and usage trigger are front-loaded and every sentence carries real information about safety or data provenance. Minor waste comes from re-explaining betalt_med options that the schema already captures.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present and a fully documented input schema, the description need only cover purpose, triggering intent and the no-write guarantee – all of which are present, including pagination behavior and the source API reference.

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 the input schema already documents all four parameters in detail. The description's parenthetical on betalt_med largely restates the schema's own explanation, adding no new semantics for filer, max or kontering, so this sits at the baseline 3.

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?

The description pairs a specific verb with a specific resource ('Reads the receipts and expenses in the inbox folder Kvitto & Utlägg, assigns accounts and returns vouchers as one batch proposal'), and the folder scope plus the 'batch proposal' framing make it easy to tell apart from prepare_inbox_supplier_invoices.

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 an explicit trigger ('Use when the person asks to book the receipts in the inbox') backed by a concrete example question, and clarifies the approval step that gates the batch. It doesn't say when to prefer the sibling supplier-invoice tool, so it falls short of a full when/when-not statement.

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