Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Ladda upp en fil till Fortnox

upload_to_fortnox

Puts a file (a receipt, an invoice or another document) into the company's Fortnox inbox or archive. Use when the person has a file that should go into the bookkeeping. Files attached in the chat can be passed in files where the client supports it; otherwise leave files out, and the tool returns an upload link the person opens, so the file goes from their device directly to Fortnox. It adds a file and changes nothing else in the bookkeeping.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "company_key": "<company_key>",
      "destination": "<destination>"
    },
    "name": "upload_to_fortnox"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNoFiles the person attached in this chat (ChatGPT passes them). Leave out to get an upload link instead.
folderNoFolder path in Fortnox. Leave out for the default location.
company_keyYes
destinationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false) it discloses the side effect scope ('adds a file and changes nothing else in the bookkeeping') and the two-mode execution (direct chat upload vs. person-opened upload link that bypasses the server). It does not warn that the tool is not idempotent, i.e. that re-running creates a duplicate file, nor does it touch on permissions.

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?

Four sentences, front-loaded with the effect statement followed by the usage condition and the fallback mode. Slight redundancy in restating that the file travels from the person's device directly to Fortnox, but nothing extraneous enough to trim aggressively.

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?

There is no output schema, and the description steps in to describe the return value ('the tool returns an upload link the person opens'), which is exactly what an agent needs to relay to the user. It is a single-purpose mutation tool, so the remaining gaps (folder semantics, company_key meaning) are minor.

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 50%, and the description meaningfully explains only the 'files' omission case (leave out to get an upload link) and, implicitly, 'destination'. 'folder' and 'company_key' are never mentioned in the description, so half the parameters rely entirely on the schema.

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?

The description names a specific verb and resource ('Puts a file ... into the company's Fortnox inbox or archive') and enumerates what counts as a file (receipt, invoice, other document). It is clear on its own, though it never names or contrasts itself with the write-path siblings such as execute_fortnox_write or propose_fortnox_write.

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 has a file that should go into the bookkeeping') and a conditional branch: pass files when the client supports attachments, otherwise omit them and hand back an upload link. What is missing is any statement about when NOT to use it, e.g. when the document should instead go through the propose/execute write flow.

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