Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Kortavstämning

reconcile_card_transactions
Read-onlyIdempotent

Company card reconciliation: the card's purchases in a period against the receipts, showing purchases without a receipt, which receipt belongs to which purchase, and receipts not yet booked. Use when the person asks to reconcile the company card for a period. Receipts that can be attached are returned as a proposal; this tool attaches nothing. Example question: "Stäm av företagskortet för september." 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": "reconcile_card_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNohögst så många kvitton i Kvitto & Utlägg att läsa, standard 10, högst 20 Number.
kontoNokortets konto, till exempel 2890 eller 1938 — standard: konton vars namn nämner kort, Mynt, Pleo eller Amex BAS account number.
todateNoÅÅÅÅ-MM-DD, standard i dag Date as YYYY-MM-DD unless the text allows more.
fromdateNoÅÅÅÅ-MM-DD, standard första dagen förra månaden Date as YYYY-MM-DD unless the text allows more.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / fromdate / description
      Previous value: -"ÅÅÅÅ-MM-DD, standard första dagen förra månaden"New value: +"ÅÅÅÅ-MM-DD, standard första dagen förra månaden Date as YYYY-MM-DD unless the text allows more."
    • changedInput schema / properties / konto / description
      Previous value: -"kortets konto, till exempel 2890 eller 1938 — standard: konton vars namn nämner kort, Mynt, Pleo eller Amex"New value: +"kortets konto, till exempel 2890 eller 1938 — standard: konton vars namn nämner kort, Mynt, Pleo eller Amex BAS account number."
    • changedInput schema / properties / konto / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
    • changedInput schema / properties / max / description
      Previous value: -"högst så många kvitton i Kvitto & Utlägg att läsa, standard 10, högst 20"New value: +"högst så många kvitton i Kvitto & Utlägg att läsa, standard 10, högst 20 Number."
    • changedInput schema / properties / max / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
    • changedInput schema / properties / todate / description
      Previous value: -"ÅÅÅÅ-MM-DD, standard i dag"New value: +"ÅÅÅÅ-MM-DD, standard i dag Date as YYYY-MM-DD unless the text allows more."
  2. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description still adds real value beyond them: it states that attachable receipts come back as a proposal only and that nothing is written, and that the computation runs server-side against live Fortnox data across all pages. A 3 reflects that this context is useful but thin, and the return-shape claims overlap with the output schema.

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 core scope and outputs are front-loaded in the first sentence, with usage and behavioral caveats following in priority order. It is dense but nearly every clause carries information; the trailing API-docs URL is the only element that does not help an agent decide or invoke.

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?

For a read-only, four-optional-parameter reconciliation tool with an output schema, this covers what is needed: purpose, trigger, what is and is not mutated, and where the data comes from including pagination. Return-value detail is legitimately deferred to the output 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 schema already documents konto, fromdate, todate and max with defaults and formats. The description adds no parameter-level meaning such as how the period defaults interact with the account selection or what the max cap implies for result completeness, so the 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?

The description opens with a precise verb+resource: comparing the company card's purchases in a period against receipts. It goes further to enumerate the three outputs (purchases without a receipt, receipt-to-purchase matching, unbooked receipts), which lets an agent distinguish this from generic reconciliation siblings such as reconcile_ledgers or reconcile_supplier_statement.

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 reconcile the company card for a period') plus a concrete example utterance in Swedish, which helps intent matching. It also implicitly excludes write behavior ('this tool attaches nothing'), but it does not name a sibling to use when the user actually wants receipts attached, so it stops 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