Skip to main content
Glama

PrimAI: Swiss health insurance (Krankenkasse)

Get the exact premium of one insurer

get_premium
Read-onlyIdempotent

Get the exact 2027 BAG list premium of one named insurer (Krankenkasse) for one person: every tariff with its product name (Tarifname, e.g. "Helsana BeneFit PLUS Telemed"), and the cheapest tariff per model. Use it for "what does Helsana cost me in Bern with Telmed?" or to check a number from another source.

Needs postcode, birth_year (or age) and insurer (name, slug or BAG number). Optional: franchise, model, accident, municipality. Source: BAG Prämien 2027. List premiums, not an offer.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "postcode": "<postcode>",
      "insurer": "<insurer>"
    },
    "name": "get_premium"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNoAge reached in the premium year 2027 (Alter im Prämienjahr). Use birth_year when known; one of the two is required.
modelNoInsurance model (Versicherungsmodell): standard (freie Arztwahl), hausarzt (family doctor / GP), hmo (health centre), telmed (telephone first). Leave empty for all models.
insurerYesHealth insurer (Krankenkasse): name ("Helsana", "Groupe Mutuel", "Sympany"), primai.ch slug ("helsana") or BAG number ("1562").
accidentNoInclude accident cover (Unfalldeckung). Default true. Set false only if the person works at least 8 hours a week for one employer and is accident-insured there (UVG).
postcodeYesSwiss postcode of the place of residence (Postleitzahl, PLZ), 4 digits, e.g. "8001". Not a P.O. box postcode.
franchiseNoAnnual deductible in CHF (Franchise). Adults and young adults: 300, 500, 1000, 1500, 2000, 2500. Children: 0, 100, 200, 300, 400, 500, 600. Default: 2500 for adults, 0 for children (said in notes).
birth_yearNoYear of birth (Jahrgang). Preferred over age: the BAG uses the age reached in 2027 (2027 minus birth year). Children 0–18, young adults 19–25, adults 26+.
municipalityNoMunicipality of residence (Wohngemeinde) or its BFS number. Only needed when a postcode spans several premium regions: the tool then answers with error "ambiguous_postcode" and the list of municipalities to choose from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real context beyond that: the BAG Prämien 2027 data source, the deterministic "ambiguous_postcode" failure mode with a municipality list, and the "list premiums, not an offer" framing. It does not discuss caching, currency or rate limits, keeping it at a solid 4.

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-loaded with the outcome, then a compact second block covering required inputs, optionals and source. Dense but every sentence carries information; the two paraphrase examples are slightly redundant with the stated purpose.

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?

For an 8-parameter read tool with no output schema, the description covers required inputs, key defaults and the shape of the response (per-tariff names plus cheapest per model), including the ambiguity error path. Nothing an agent needs to call it correctly appears to be missing.

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

Parameters5/5

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

Schema coverage is 100%, so the baseline is 3, but the description still adds selection logic beyond the schema: it states the required trio (postcode, birth_year or age, insurer) and that municipality is only needed when a postcode spans several regions, and it frames the optional parameters as genuinely optional refinements. That extra decision guidance lifts it above the schema-only baseline.

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 (get the exact 2027 BAG list premium), the scope (one named insurer, one person), and the exact content returned (every tariff with Tarifname plus cheapest tariff per model). This is clearly distinguishable from aggregation siblings such as compare_premiums or insurer_facts.

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?

Gives concrete usage contexts ("what does Helsana cost me in Bern with Telmed?" and verifying a figure from another source) and clarifies the output is a premium list, not an offer. It stops short of naming an explicit alternative for comparing multiple insurers, so the when-not-to-use case is only implied.

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