Skip to main content
Glama

Net Swiss salary calculator (frontalier)

calculate_net_swiss_salary
Read-only

Net Swiss salary for a cross-border worker. · Salaire suisse net pour un frontalier. — Converts a gross annual Swiss salary (CHF) to net, deducting the employee shares of AVS/AI/APG, AC (chômage), LPP (2nd pillar) and NBU (non-occupational accident) for the given border canton. Deterministic Swiss payroll rules — no AI. Returns annual + monthly net and the deduction breakdown, with the data year of the rates used.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ageYesEmployee age (affects LPP rate).
cantonYesSwiss border canton (GE, VD, JU, NE, BS, VS).
gross_chf_annualYesGross annual salary in CHF.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations include readOnlyHint=true, and the description aligns by indicating a calculation ('Converts') with no side effects. It adds value by detailing the output (annual + monthly net, deduction breakdown, data year) and emphasizing deterministic rules (no AI), which goes beyond the annotations.

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?

The description is efficient, with a clear lead sentence, a translated version, and a concise explanation of method and outputs. It is slightly verbose due to bilingual text but still well-organized and front-loaded with the core purpose.

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 of Swiss payroll and no output schema, the description adequately explains the return format and the payroll components. It lacks edge-case details (e.g., salary caps) but is sufficient for an agent to understand scope and results.

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 covers 100% of parameters, so baseline is 3. The description enriches parameter meaning by listing the specific deductions (AVS/AI/APG, AC, LPP, NBU) and tying them to the canton, which clarifies how canton and age affect the calculation beyond the schema's brief statements.

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's function: converting a gross annual Swiss salary to net for cross-border workers, with a specific verb ('converts') and resource ('gross salary to net'). It distinguishes itself from siblings like rent or tenant tools by focusing on salary and cross-border context.

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 implicitly indicates usage for cross-border workers in specific cantons, and mentions deterministic rules, but does not explicitly state when to prefer this over alternatives or exclusions. Context is clear, but no direct when-not guidance.

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.

TDQS

A4.4/5.0
Disambiguation4/5

Each tool is tied to a specific legal or payroll calculation, and the names clearly indicate their target: salary, rent revision, tenant notice, DPE restrictions, quasi-resident status, zone-tendue lookup, family allowances, and health insurance. Some overlap exists because rent revision and DPE checks both involve F/G rent freezes, and tenant notice relies on zone-tendue data, but descriptions keep boundaries clear.

Naming Consistency5/5

All tool names follow the same snake_case verb_noun pattern with a concise legal/domain object. The verbs vary by nature of action—calculate_, check_, compare_—but each is consistent and semantically meaningful.

Tool Count5/5

Eight tools is a well-scoped number for a specialist compliance server. Each tool handles a distinct calculation or legal lookup, and none feels redundant or purely decorative.

Completeness4/5

The set covers the main rental-revision, tenant-notice, DPE-restriction, zone-tendue, and cross-border worker salary/benefit comparisons well. Minor gaps remain around related compliance details such as rental deposits, landlord-side termination, or deeper Swiss tax filing checks, but they are not fatal to the tool set’s stated purpose.

Resources