Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Kortavstämning

reconcile_card_transactions
Read-onlyIdempotent

Kortavstämning: företagskortets köp i perioden mot kvittona — vilka köp som saknar underlag, vilket kvitto som hör till vilket köp, och vilka kvitton som inte bokförts. Example question: "Stäm av företagskortet för september." Computed on the server from live Fortnox data (Fortnox API, https://api.fortnox.se/apidocs), over all pages.

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

A3.7/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 non-open-world, so the safety profile is free. The description adds real value beyond that: results are computed server-side from live Fortnox data and cover all pages, which tells the agent the output is complete rather than paginated/previewed.

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?

Two compact sentences, front-loaded with the scope and the enumerated outputs, then the example question. The Fortnox API URL is marginal filler but doesn't distract materially.

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 full schema coverage, existing annotations, and an output schema, the description only needs to establish scope and trustworthiness of the data — both are covered. A small gap remains: the description is in Swedish while the tool name is English, and it never says what happens when no card account matches the default heuristic.

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 the max cap (10 default, 20 maximum), the account default heuristic, and the fromdate/todate defaults. The description adds nothing about parameters, 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 verb+resource in Swedish: reconciling corporate-card purchases in a period against receipts, with the three concrete outputs (missing documentation, receipt-to-purchase matching, unbooked receipts). This distinguishes it in scope from the other reconcile_* siblings (ledgers, supplier statements), though it never names them.

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 embedded example question ("Stäm av företagskortet för september.") gives an implied trigger for the tool, but there is no explicit when-not guidance and no naming of alternative tools such as reconcile_ledgers or prepare_inbox_receipts that an agent might confuse this with.

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