Skip to main content
Glama

Swedish SIE4 Accounting File Parser API - JSON

sie4_parser
Read-onlyIdempotent

Parse Swedish SIE4 (.se / .si) bookkeeping interchange files into structured JSON with company metadata, chart of accounts (#KONTO), vouchers (#VER), transactions (#TRANS), debit/credit totals, balance checks and optional CSV. Handles CP437 and UTF-8 encodings deterministically, zero AI, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.005/call via x402 at https://radarbg.com/x402/sie4-parser.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 50,
      "content": "#FLAGGA 0\r\n#PROGRAM \"RadarDemo\" 1.0\r\n#FORMAT PC8\r\n#SIETYP 4\r\n#FNAMN \"Nordic Demo AB\"\r\n#KONTO 1930 \"Företagskonto\"\r\n#KONTO 3010 \"Försäljning tjänster\"\r\n#KONTO 2611 \"Utgående moms 25%\"\r\n#KONTO 6110 \"Kontorsmaterial\"\r\n#VER A 1 20261105 \"Kundfaktura 1001\"\r\n{\r\n   #TRANS 1930 {} 12500.00\r\n   #TRANS 3010 {} -10000.00\r\n   #TRANS 2611 {} -2500.00\r\n}\r\n#VER A 2 20261110 \"Kontorsmaterial\"\r\n{\r\n   #TRANS 6110 {} 800.00\r\n   #TRANS 1930 {} -800.00\r\n}\r\n"
    },
    "name": "sie4_parser"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of voucher transaction rows to return (1-2000).
contentNoRaw SIE4 file text content. Provide either content or fileBase64.
fileBase64NoBase64-encoded SIE4 (.se/.si) file (alternative to content, max 15 MB).
includeCsvNoWhen true, include voucher transaction rows serialized as CSV.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/openWorld annotations by disclosing concrete operating traits: deterministic CP437 and UTF-8 handling, no AI processing, nothing stored, a 5 calls/day free tier per IP, and two paid paths (API key or x402 per-call). Rate limits and auth requirements are exactly the kind of information annotations cannot carry.

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?

Front-loads the core capability and keeps pricing/auth to a compact trailing sentence; the embedded URLs are long but earn their place as actionable access information. Slightly dense as a single run-on opening sentence, but no filler.

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 no output schema, the description carries the return-value burden and does so by naming the parsed sections, totals and balance checks the agent will receive. Combined with the disclosed encoding handling, size context and access model, an agent has everything needed to invoke it correctly.

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 the schema already explains limit, content, fileBase64 and includeCsv. The description restates the same concepts (optional CSV, structured JSON output) but adds no syntax, format, or constraint detail beyond what the schema provides, so the baseline of 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?

States a specific verb and resource — parse Swedish SIE4 (.se/.si) bookkeeping interchange files — and enumerates the returned structure (company metadata, #KONTO, #VER, #TRANS, debit/credit totals, balance checks, optional CSV). That level of detail distinguishes it from the other format parsers in the sibling set without needing to name 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?

Usage is only implied: the reader infers this is the tool for Swedish SIE4 input rather than BAI2, CAMT, DATEV, etc. There is no explicit when-to-use/when-not statement and no mention of what to do with unsupported or malformed files; the content-vs-fileBase64 choice is left to the schema.

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