Skip to main content
Glama
ValiantEvers

skatt-mcp

by ValiantEvers

Beregn kryptogevinst/-tap (FIFO)

calculate_kryptogevinst

Calculate realized cryptocurrency gains and losses per currency using FIFO method, with multi-currency support, per-sale breakdown, and aggregated totals.

Instructions

Beregner realisert kryptogevinst og -tap per valuta med FIFO-metoden. Multi-valuta støttes — beregnes separat per valuta. FIFO-grupperingen er per valuta uavhengig av kilde-børs/konto. Ingen oppjustering, ingen skjermingsfradrag — krypto skattlegges flat 22 % på netto. Tap er fradragsberettiget. Viser per-salg-breakdown, aggregerte totaler og gjenstående lots.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
transaksjonerYesListe over alle transaksjoner. Multi-valuta støttes.
rapporteringsaarNoRapporteringsår. Salg utenfor dette året påvirker FIFO-historikk, men ikke rapporterte totaler.
Behavior5/5

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

With no annotations provided, the description carries full burden and thoroughly discloses behavior: FIFO method, per-currency grouping, no adjustments, flat 22% tax, loss deductibility, and output details (per-sale breakdown, totals, remaining lots). No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single paragraph of 4 sentences, front-loaded with the main purpose. Every sentence adds essential information (method, multi-currency, tax rules, output) with no filler.

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?

Given the complexity and lack of output schema, the description provides a good overview of outputs and tax implications. It does not explicitly contrast with siblings, but the tool's purpose is clear enough for an agent to select correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% (baseline 3), but the description adds value: it explains that rapporteringsaar defaults to 2025 and affects FIFO history but not reported totals, and that transaksjoner supports multi-currency. This goes beyond schema descriptions.

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 clearly states it calculates realized crypto gain/loss per currency using FIFO, which is a specific verb+resource. It distinguishes from sibling tools like calculate_aksjegevinst (stocks) and calculate_boliggevinst (housing) by focusing on krypto and FIFO method.

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?

The description implies usage for crypto transactions but does not explicitly list when not to use or mention alternatives. However, sibling tools are for other asset types, making the context clear enough.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ValiantEvers/skatt-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server