Skip to main content
Glama
ValiantEvers

skatt-mcp

by ValiantEvers

Beregn skatt på boliggevinst

calculate_boliggevinst

Calculate taxable gain or deductible loss from selling Norwegian residential property, including primary, secondary, and holiday homes, with tax-free conditions based on ownership and residence periods.

Instructions

Beregner skattepliktig gevinst eller fradragsberettiget tap ved salg av bolig. Håndterer primærbolig (skattefri ved ≥ 1 år eiertid og ≥ 1 år botid siste 2 år), sekundærbolig (alltid skattepliktig), og fritidsbolig (skattefri ved ≥ 5 år eiertid og ≥ 5 år brukstid siste 8 år). Skattesats 22 % alminnelig inntekt — ingen oppjustering for bolig. Asymmetri: skattefritt salg gir hverken gevinst-skatt eller tap-fradrag.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boligtypeYesType bolig som selges
kjoepsprisYesInngangsverdi inkl. dokumentavgift og kjøpsomkostninger
salgsprisYesSalgssum etter meglerprovisjon og salgsomkostninger
paakostningerNoDokumenterte påkostninger som øker boligens verdi
kjoepsdatoYesDato boligen ble kjøpt (YYYY-MM-DD)
salgsdatoYesDato boligen ble solgt (YYYY-MM-DD)
innflyttingsdatoNoDato eier flyttet inn. Kun relevant for primærbolig og fritidsbolig. Settes til kjøpsdato hvis utelatt.
fraflyttingsdatoNoDato eier flyttet ut. Kun relevant for primærbolig og fritidsbolig. Settes til salgsdato hvis utelatt.
rapporteringsaarNo
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses tax rate (22%), asymmetry (no gain/loss for tax-free sales), and that no inflation adjustment is applied. However, it does not describe the return value format or potential errors, which are important for a calculation tool.

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 three sentences, each serving a distinct purpose: what the tool does, conditions for taxability, and tax rate/asymmetry. It is front-loaded with the main action and efficiently includes all critical information without redundancy.

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 tool's complexity (9 parameters, no output schema), the description covers the core tax rules and parameter usage. It lacks specifics about the output structure (e.g., what the function returns) and does not mention any prerequisites or side effects, but this is partially mitigated by the high schema coverage.

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 coverage is high (89%). The description adds meaning by explaining how parameters like dates are used (ownership/use periods) and the tax rules. It provides context beyond the schema, such as which parameters are relevant for which property types (e.g., innflyttingsdato for primærbolig/fritidsbolig).

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 the tool calculates taxable gain or deductible loss from sale of residential property, covering primary, secondary, and holiday homes. It includes specific tax rules and rate, distinguishing it from sibling tools which likely handle other financial calculations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit conditions for tax-free sales (e.g., primary home: owned ≥1 year, lived ≥1 year in last 2 years; holiday home: owned ≥5 years, used ≥5 years in last 8 years) and notes asymmetry. This helps the agent determine when to use this tool for different property types.

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