Skip to main content
Glama

calculate_tax_from_taxable_amounts

Apply tax scales to taxable income from Swiss cantonal and federal assessments. Get tax figures for any municipality and tax year from 2010 to 2026.

Instructions

Apply the tax scales to amounts already known to be taxable.

Use this when the user reads figures off a tax assessment or return (steuerbares Einkommen / revenu imposable) instead of a gross salary. Note that cantonal and federal taxable income usually differ.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageNode
locationYesTax location id, postal code or municipality name.
tax_yearNo
confession1Nonone
confession2No
relationshipNosingle
children_agesNo
taxable_wealthNoTaxable net wealth per the cantonal assessment, CHF.
taxable_income_federalYesTaxable income per the federal assessment, CHF.
taxable_income_cantonalYesTaxable income per the cantonal assessment, CHF.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries the full burden. It describes the tool as applying tax scales, which is a stateless calculation. It does not explicitly state that it is read-only or has no side effects, but that is implied. It does not mention auth needs, rate limits, or potential destruction. For a calculation tool, this is adequate but not exhaustive.

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 extremely concise: two sentences and a note. Every sentence provides essential information without fluff. It is front-loaded with the action verb 'Apply', making the purpose immediately clear.

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 has 10 parameters, an output schema exists, and it is a calculation tool, the description adequately covers the key usage scenario and differentiates from gross-salary-based calculation. It could be more complete by explicitly referencing the sibling 'calculate_tax' tool or describing the output format, but the output schema mitigates that need.

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 40% (4 of 10 parameters have descriptions). The description adds context for the main required parameters (taxable incomes) by explaining they come from assessment, but does not add semantic detail for the other 6 parameters. The description provides marginal value beyond the schema, but does not fully compensate for gaps.

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 clearly states the tool applies tax scales to amounts already known to be taxable, and distinguishes from gross salary calculations. It specifies the use case (reading from tax assessment). However, it could be more explicit about differentiating from the sibling tool 'calculate_tax'.

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 explicitly says when to use this tool ('when the user reads figures off a tax assessment... instead of a gross salary'), providing clear context. It does not mention when not to use it or alternatives, but the sibling list includes 'calculate_tax', which an agent could infer. The note about cantonal/federal differences is helpful for understanding parameter usage.

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/noaahh/estv-mcp'

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