Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Get an archive file

get_archive_file
Read-onlyIdempotent

Returns one item from the Fortnox archive by its id: a file's text for you to read (text recognised in a scanned file is marked as such), or a folder's contents. Use when the person asks what a stored file says. Read-only. Fortnox API GET /3/archive/{id} (https://api.fortnox.se/apidocs).

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": {
      "id": "<id>"
    },
    "name": "get_archive_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesidentifies the file
pathNoPath of folder to show
fileidNofileId from fileattachments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/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, so safety is covered structurally. The description adds real behavioral detail beyond that: OCR'd text in scanned files is flagged as such, and the underlying API endpoint is cited for traceability. It does not discuss size limits or how binary/non-text files are handled.

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?

Three short sentences, front-loaded with what is returned before the usage trigger and the read-only note. Every clause carries information; the API reference link is the only arguably expendable element.

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?

An output schema exists and annotations carry the safety profile, so the description need only explain what the returned item is and when to call it, which it does. Minor gaps remain around non-text or oversized files, 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 description coverage is 100%, so id, path and fileid are already documented in the schema. The description only restates the id-based lookup and implies folder path semantics; it never clarifies the relationship between path and fileid, so it adds little beyond structured fields.

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 and resource (returns one archive item by id) and enumerates the two possible payloads: a file's extracted text or a folder's contents. That mostly separates it from list_archive_folder, though the overlap on 'folder's contents' leaves a small ambiguity about which tool to use for browsing a directory.

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?

Gives an explicit trigger: 'Use when the person asks what a stored file says.' That is a clear context for invocation, but no exclusion or alternative is named, so the agent must infer that list_archive_folder is the tool for enumerating rather than reading.

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