Skip to main content
Glama

Assurs LAMal comparator

Official LAMal premiums for one person

compare_lamal_premiums
Read-onlyIdempotent

Returns the official basic health insurance (LAMal) premiums for one person, ranked from the lowest monthly premium, for the tariff year in force. Source: Federal Office of Public Health (priminfo.admin.ch); all insurers and all models available in the municipality are included. Inputs: postcode, birth year, annual deductible, accident cover and model category. The result also gives the dates for changing insurer, the identity of the broker who runs the service, and a comparison_id that the contact tools accept. Read-only: no personal data, nothing is sent.

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": {
      "postal_code": "<postal_code>",
      "birth_year": "<birth_year>",
      "deductible_chf": "<deductible_chf>",
      "accident_included": "<accident_included>",
      "model_group": "<model_group>"
    },
    "name": "compare_lamal_premiums"
  }
}

Input Schema

NameRequiredDescriptionDefault
textsNoSentences for the person in the requested language only (default) or in fr, de, it and en (all). Not part of the comparison.requested
languageNoLanguage of the model names, the sentences for the person and the HTML pages; a region suffix is ignored.fr
birth_yearYesExact four-digit birth year, not an age.
model_groupYesany = all categories; BASE = free choice of doctor; PRAXIS = family doctor / HMO network; FLEX = hybrid model; TEL_DIG = telemedicine first; PHARM = pharmacy first.
postal_codeYes
municipalityNoOfficial municipality name; required with ambiguous region/model availability unless municipality_bfs is given.
premium_yearNoTariff year. Optional: the year in force is used when it is left out, and the result states it. The supported year is listed by get_lamal_metadata.
deductible_chfYesAnnual deductible: adults (19 or older in the tariff year) 300, 500, 1000, 1500, 2000 or 2500; children (18 or under) 0, 100, 200, 300, 400, 500 or 600. No interpolation.
municipality_bfsNo
accident_includedYesWhether the premium includes accident cover. Employees who work 8 hours or more a week for one employer are insured against accidents by that employer and can leave it out (false). Everyone else needs it (true).

Output Schema

NameRequiredDescriptionDefault
dataNoOrigin and freshness of the official data: authority, source, dataset version, date of validation, limitations.
brokerYesWho runs the service.
offersYesUp to 10 offers ranked from the lowest net monthly premium (premium_monthly_chf), one per insurer; insurer_id identifies the insurer.
statusYes
contactYesHow a person who wants it can be contacted by the broker.
pricingNoCurrency, period and the environmental credit already deducted from the net premium.
profileYesCriteria as applied, with the tariff year (premium_year) and the resolved municipality, canton and premium region.
wordingNoOptional sentences validated by the broker, in the language requested.
switchingYesDates of the ordinary change of insurer for the tariff year.
result_typeNo
results_urlNoReadable page of this comparison, without contact data.
model_groupsNoMeaning of each model category present.
comparison_idYesReference accepted by create_adviser_handoff_link, test_adviser_request and request_adviser_contact; valid 30 days.
eligible_modelsNoEvery eligible model as a table (columns, rows), same filters as offers.
link_expires_atNo
eligible_model_countNo
eligible_insurer_countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed62 schema fields changed
    • changedInput schema / description
      Previous value: -"Criteria for one person. For a household (2-12 people, one insurer for all) use prepareHouseholdQuote."New value: +"Criteria for one person. A household of 2 to 12 people (one insurer for all) has its own comparison: compare_lamal_household, POST /api/v1/lamal/household."
    • changedInput schema / properties / accident_included / description
      Previous value: -"Explicit JSON boolean required (not the string \"true\"). Ask before quoting whether the client works at least 8 hours a week for the same employer: yes means false (the employer covers accidents), otherwise true. Never infer it."New value: +"Whether the premium includes accident cover. Employees who work 8 hours or more a week for one employer are insured against accidents by that employer and can leave it out (false). Everyone else needs it (true)."
    • removedInput schema / properties / birth_year / maximum
      Removed value: -2027
    • removedInput schema / properties / birth_year / minimum
      Removed value: -1907
    • changedInput schema / properties / deductible_chf / description
      Previous value: -"Annual deductible: adults (19 or older in 2027) 300, 500, 1000, 1500, 2000 or 2500; children (18 or under) 0, 100, 200, 300, 400, 500 or 600. No interpolation."New value: +"Annual deductible: adults (19 or older in the tariff year) 300, 500, 1000, 1500, 2000 or 2500; children (18 or under) 0, 100, 200, 300, 400, 500 or 600. No interpolation."
    • changedInput schema / properties / language / description
      Previous value: -"Language of the client texts, model names and HTML pages; a region suffix is ignored."New value: +"Language of the model names, the sentences for the person and the HTML pages; a region suffix is ignored."
    • removedInput schema / properties / premium_year / const
      Removed value: -2027
    • changedInput schema / properties / premium_year / description
      Previous value: -"Tariff year: always 2027, the only imported year (metadata.supported_years). Required, no default."New value: +"Tariff year. Optional: the year in force is used when it is left out, and the result states it. The supported year is listed by get_lamal_metadata."
    • changedInput schema / properties / texts / description
      Previous value: -"Client texts (cashback, switching, consent messages) in the requested language only (default) or in fr, de, it and en (all). Quote only; not part of the comparison."New value: +"Sentences for the person in the requested language only (default) or in fr, de, it and en (all). Not part of the comparison."
    • changedInput schema / required
      Previous value: -[
      -  "premium_year",
      -  "postal_code",
      -  "birth_year",
      -  "deductible_chf",
      -  "accident_included",
      -  "model_group"
      -]New value: +[
      +  "postal_code",
      +  "birth_year",
      +  "deductible_chf",
      +  "accident_included",
      +  "model_group"
      +]
    • removedOutput schema / properties / accident_question
      Removed value: -{
      -  "description": "Ask before quoting: employees working at least 8 hours a week for the same employer usually exclude accident cover (accident_included false).",
      -  "properties": {
      -    "ask_before_quoting": {
      -      "const": true
      -    },
      -    "question": {
      -      "properties": {
      -        "de": {
      -          "type": "string"
      -        },
      -        "en": {
      -          "type": "string"
      -        },
      -        "fr": {
      -          "type": "string"
      -        },
      -        "it": {
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "rule": {
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / adviser_url
      Removed value: -{
      -  "description": "Page where the client submits alone; null when the form is disabled.",
      -  "format": "uri",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • addedOutput schema / properties / broker
      Added value: +{
      +  "description": "Who runs the service.",
      +  "properties": {
      +    "address": {
      +      "type": "string"
      +    },
      +    "also_helps_with": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "contact": {
      +      "type": "string"
      +    },
      +    "finma_register_number": {
      +      "type": "string"
      +    },
      +    "help_is": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "privacy_notice": {
      +      "format": "uri",
      +      "type": "string"
      +    },
      +    "remuneration": {
      +      "type": "string"
      +    },
      +    "role": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "name",
      +    "finma_register_number"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / properties / cashback
      Removed value: -{
      -  "description": "Premium reduction Swiss Premium Insurance grants to each insured person, only for requests made through an AI assistant, once a contract concluded through SPI is approved by the insurer. Premiums and ranking shown are the official ones, without the reduction.",
      -  "properties": {
      -    "automatic_payment": {
      -      "const": false
      -    },
      -    "benefit_form": {
      -      "const": "premium_reduction"
      -    },
      -    "changes_premium": {
      -      "const": false,
      -      "description": "The official premium used for the ranking is not altered; the client benefit is the reduction in benefit_form."
      -    },
      -    "client_sentence": {
      -      "anyOf": [
      -        {
      -          "properties": {
      -            "de": {
      -              "type": "string"
      -            },
      -            "en": {
      -              "type": "string"
      -            },
      -            "fr": {
      -              "type": "string"
      -            },
      -            "it": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "description": "Say as provided in the client language. Quote: requested language only (texts=all for fr, de, it, en); full premiums route: four languages. null when disabled."
      -    },
      -    "contact": {
      -      "type": "string"
      -    },
      -    "insured_persons": {
      -      "description": "Household results only: number of insured persons.",
      -      "type": "integer"
      -    },
      -    "lamal": {
      -      "properties": {
      -        "amount_chf": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "basis": {
      -          "description": "fixed_chf, per insured person",
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "lamal_total_chf": {
      -      "description": "Household results only: CHF 30 × insured_persons.",
      -      "type": "number"
      -    },
      -    "lca": {
      -      "properties": {
      -        "amount_chf": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "basis": {
      -          "description": "one_month_premium per insured person and contract; amount set by SPI after review.",
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "paid_by": {
      -      "const": "Swiss Premium Insurance"
      -    },
      -    "paid_to": {
      -      "const": "client"
      -    },
      -    "per": {
      -      "const": "insured_person"
      -    },
      -    "programs_url": {
      -      "format": "uri",
      -      "type": "string"
      -    },
      -    "ranking_uses_official_premium": {
      -      "const": true
      -    },
      -    "rationale": {
      -      "anyOf": [
      -        {
      -          "properties": {
      -            "de": {
      -              "type": "string"
      -            },
      -            "en": {
      -              "type": "string"
      -            },
      -            "fr": {
      -              "type": "string"
      -            },
      -            "it": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "description": "Same languages as client_sentence; null when disabled."
      -    },
      -    "scope": {
      -      "const": "agent_originated_requests_only"
      -    },
      -    "status": {
      -      "enum": [
      -        "active",
      -        "disabled"
      -      ]
      -    },
      -    "terms_url": {
      -      "format": "uri",
      -      "type": "string"
      -    },
      -    "trigger": {
      -      "type": "string"
      -    },
      -    "version": {
      -      "description": "Send back as cashback_terms_version.",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "status"
      -  ],
      -  "type": "object"
      -}
    • changedOutput schema / properties / comparison_id / description
      Previous value: -"Reference for submitOfferRequest; valid 30 days."New value: +"Reference accepted by create_adviser_handoff_link, test_adviser_request and request_adviser_contact; valid 30 days."
    • addedOutput schema / properties / contact
      Added value: +{
      +  "description": "How a person who wants it can be contacted by the broker.",
      +  "properties": {
      +    "available": {
      +      "type": "boolean"
      +    },
      +    "needs": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "or_by_tool": {
      +      "type": "string"
      +    },
      +    "page_where_the_person_confirms": {
      +      "description": "Page where the person reviews the comparison and enters their own contact details.",
      +      "format": "uri",
      +      "type": "string"
      +    },
      +    "request_id": {
      +      "description": "Identifier accepted as request_id by request_adviser_contact.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "available"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / data / description
      Previous value: -"Origin and freshness of the official data; manifest_url lists source files and the last official sync."New value: +"Origin and freshness of the official data: authority, source, dataset version, date of validation, limitations."
    • removedOutput schema / properties / data / properties
      Removed value: -{
      -  "authority": {
      -    "type": "string"
      -  },
      -  "dataset_version": {
      -    "type": "string"
      -  },
      -  "last_validated_at": {
      -    "format": "date-time",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "limitations": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "manifest_url": {
      -    "format": "uri",
      -    "type": "string"
      -  },
      -  "source_url": {
      -    "format": "uri",
      -    "type": "string"
      -  },
      -  "validation_status": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / data / required
      Removed value: -[
      -  "authority",
      -  "dataset_version",
      -  "manifest_url",
      -  "limitations"
      -]
    • changedOutput schema / properties / eligible_models / description
      Previous value: -"Every eligible model as a table, same engine and filters as offers; complete coverage, not limited to broker agreements."New value: +"Every eligible model as a table (columns, rows), same filters as offers."
    • removedOutput schema / properties / eligible_models / properties
      Removed value: -{
      -  "columns": {
      -    "const": [
      -      "insurer_id",
      -      "insurer_name",
      -      "model_name",
      -      "model_group",
      -      "premium_monthly_chf"
      -    ],
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "rows": {
      -    "items": {
      -      "items": {
      -        "type": [
      -          "integer",
      -          "number",
      -          "string"
      -        ]
      -      },
      -      "type": "array"
      -    },
      -    "type": "array"
      -  }
      -}
    • removedOutput schema / properties / eligible_models / required
      Removed value: -[
      -  "columns",
      -  "rows"
      -]
    • removedOutput schema / properties / full_response_url
      Removed value: -{
      -  "description": "Full response for independent verification; no token or contact data.",
      -  "format": "uri",
      -  "type": "string"
      -}
    • removedOutput schema / properties / languages_available
      Removed value: -{
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / link_expires_at / format
      Removed value: -"date-time"
    • removedOutput schema / properties / model_details
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / model_groups / additionalProperties
      Removed value: -{
      -  "type": "string"
      -}
    • changedOutput schema / properties / model_groups / description
      Previous value: -"First-contact rule per model_group code present in offers."New value: +"Meaning of each model category present."
    • changedOutput schema / properties / offers / description
      Previous value: -"Top 10 by net premium, same ranking as assurs.ch."New value: +"Up to 10 offers ranked from the lowest net monthly premium (premium_monthly_chf), one per insurer; insurer_id identifies the insurer."
    • removedOutput schema / properties / offers / items / properties
      Removed value: -{
      -  "accident_included": {
      -    "type": "boolean"
      -  },
      -  "deductible_chf": {
      -    "type": "integer"
      -  },
      -  "insurer_id": {
      -    "description": "Send as insurer_id in submitOfferRequest.",
      -    "type": "integer"
      -  },
      -  "insurer_name": {
      -    "type": "string"
      -  },
      -  "model_group": {
      -    "enum": [
      -      "BASE",
      -      "PRAXIS",
      -      "FLEX",
      -      "TEL_DIG",
      -      "PHARM"
      -    ],
      -    "type": "string"
      -  },
      -  "model_name": {
      -    "description": "Model name in the requested language (display translation of the official name).",
      -    "type": "string"
      -  },
      -  "model_name_official": {
      -    "description": "Official French model name from the OFSP file.",
      -    "type": "string"
      -  },
      -  "offer_id": {
      -    "type": "string"
      -  },
      -  "premium_monthly_chf": {
      -    "description": "Net official monthly premium in CHF; quote this value.",
      -    "type": "number"
      -  },
      -  "premium_monthly_gross_cents": {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "premium_monthly_net_cents": {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "rank": {
      -    "type": "integer"
      -  },
      -  "source_offer_id": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / offers / items / required
      Removed value: -[
      -  "rank",
      -  "offer_id",
      -  "insurer_id",
      -  "insurer_name",
      -  "model_name",
      -  "model_group",
      -  "premium_monthly_chf",
      -  "premium_monthly_net_cents"
      -]
    • removedOutput schema / properties / operator
      Removed value: -{
      -  "properties": {
      -    "assistance_is_optional": {
      -      "const": true
      -    },
      -    "name": {
      -      "const": "Swiss Premium Insurance"
      -    },
      -    "role": {
      -      "const": "insurance_broker"
      -    }
      -  },
      -  "type": "object"
      -}
    • addedOutput schema / properties / pricing / description
      Added value: +"Currency, period and the environmental credit already deducted from the net premium."
    • removedOutput schema / properties / pricing / properties
      Removed value: -{
      -  "currency": {
      -    "const": "CHF"
      -  },
      -  "environmental_credit_monthly_cents": {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "environmental_rebate_treatment": {
      -    "type": "string"
      -  },
      -  "period": {
      -    "const": "month"
      -  }
      -}
    • changedOutput schema / properties / profile / description
      Previous value: -"Criteria as applied plus resolved municipality, canton and region."New value: +"Criteria as applied, with the tariff year (premium_year) and the resolved municipality, canton and premium region."
    • removedOutput schema / properties / request_url
      Removed value: -{
      -  "description": "Short readable form link built from the criteria (/adviser?premium_year=…&postal_code=…); append &agent=<your name>, optionally &insurer_id=. No contact data. null when the form is disabled.",
      -  "format": "uri",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / response_format
      Removed value: -{
      -  "const": "compact"
      -}
    • removedOutput schema / properties / result_type / const
      Removed value: -"non_binding_lamal_premium_comparison"
    • addedOutput schema / properties / result_type / type
      Added value: +"string"
    • changedOutput schema / properties / results_url / description
      Previous value: -"HTML results page to share with the client; no token."New value: +"Readable page of this comparison, without contact data."
    • removedOutput schema / properties / results_url / format
      Removed value: -"uri"
    • removedOutput schema / properties / submission
      Removed value: -{
      -  "description": "How to send the client-approved request. Keep comparisonToken private; never put it in a link.",
      -  "properties": {
      -    "clientConsentRequired": {
      -      "const": true
      -    },
      -    "client_messages": {
      -      "description": "Quote and household: requested language only (texts=all for fr, de, it, en); full premiums route: four languages.",
      -      "properties": {
      -        "channel_labels": {
      -          "description": "Localised {channel} values for email, phone and email_or_phone.",
      -          "type": "object"
      -        },
      -        "consent_confirmation": {
      -          "description": "Fill {request_id} and {channel}; it says the request cancels nothing, the 30 November deadline and the free SPI help. The receipt also returns it filled (client_confirmation).",
      -          "properties": {
      -            "de": {
      -              "type": "string"
      -            },
      -            "en": {
      -              "type": "string"
      -            },
      -            "fr": {
      -              "type": "string"
      -            },
      -            "it": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "consent_request": {
      -          "description": "Ask this once, in the same message as the offers, filling {insurer}, {model} and {premium} (household: {insurer}, {persons}, {premium} total); a reply giving an email or phone is the consent.",
      -          "properties": {
      -            "de": {
      -              "type": "string"
      -            },
      -            "en": {
      -              "type": "string"
      -            },
      -            "fr": {
      -              "type": "string"
      -            },
      -            "it": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "comparison": {
      -      "description": "Legacy criteria; copy unchanged with comparisonToken when comparison_id is unavailable.",
      -      "type": "object"
      -    },
      -    "comparisonToken": {
      -      "type": "string"
      -    },
      -    "comparison_id": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "comparison_id_valid_until": {
      -      "description": "comparison_id lifetime (30 days); results_url and adviser_url follow it. Prefer comparison_id over the token.",
      -      "format": "date-time",
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "content_type": {
      -      "const": "application/json"
      -    },
      -    "enabled": {
      -      "description": "false: sending is disabled; offer adviser_url instead.",
      -      "type": "boolean"
      -    },
      -    "endpoint": {
      -      "description": "POST target of submitOfferRequest.",
      -      "format": "uri",
      -      "type": "string"
      -    },
      -    "expiresAt": {
      -      "deprecated": true,
      -      "description": "Alias of token_valid_until.",
      -      "format": "date-time",
      -      "type": "string"
      -    },
      -    "instructions": {
      -      "description": "Numbered steps to follow.",
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": [
      -        "string",
      -        "array"
      -      ]
      -    },
      -    "method": {
      -      "const": "POST"
      -    },
      -    "no_post_tool": {
      -      "type": "string"
      -    },
      -    "on_error": {
      -      "additionalProperties": {
      -        "type": "string"
      -      },
      -      "description": "Error code to action.",
      -      "type": "object"
      -    },
      -    "request_id": {
      -      "description": "Fresh per response; copy it as request_id of the submission.",
      -      "format": "uuid",
      -      "type": "string"
      -    },
      -    "request_template": {
      -      "description": "submitOfferRequest body to fill; contact.email and contact.phone are empty strings: fill the ones you have.",
      -      "type": "object"
      -    },
      -    "testEndpoint": {
      -      "deprecated": true,
      -      "description": "Alias of test_endpoint.",
      -      "format": "uri",
      -      "type": "string"
      -    },
      -    "test_endpoint": {
      -      "format": "uri",
      -      "type": "string"
      -    },
      -    "token_valid_until": {
      -      "description": "comparison_token lifetime (24 h).",
      -      "format": "date-time",
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • changedOutput schema / properties / switching / description
      Previous value: -"Switching deadline and free SPI help (cancellation, premium subsidies). Say client_sentence with the offers; a request to SPI cancels nothing by itself."New value: +"Dates of the ordinary change of insurer for the tariff year."
    • addedOutput schema / properties / switching / properties / a_contact_request_cancels_current_insurance
      Added value: +{
      +  "const": false
      +}
    • addedOutput schema / properties / switching / properties / cancellation_deadline
      Added value: +{
      +  "format": "date",
      +  "type": "string"
      +}
    • removedOutput schema / properties / switching / properties / cancellation_help
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / switching / properties / client_sentence
      Removed value: -{
      -  "description": "Deadline, free cancellation help and free subsidy help; requested language only unless texts=all.",
      -  "properties": {
      -    "de": {
      -      "type": "string"
      -    },
      -    "en": {
      -      "type": "string"
      -    },
      -    "fr": {
      -      "type": "string"
      -    },
      -    "it": {
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / switching / properties / deadline
      Removed value: -{
      -  "const": "2026-11-30",
      -  "description": "Date by which the cancellation must REACH the current insurer.",
      -  "format": "date",
      -  "type": "string"
      -}
    • addedOutput schema / properties / switching / properties / deadline_means
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / switching / properties / deadline_rule
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / switching / properties / effective
      Removed value: -{
      -  "const": "2027-01-01",
      -  "format": "date",
      -  "type": "string"
      -}
    • removedOutput schema / properties / switching / properties / instructions
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / switching / properties / new_cover_starts
      Added value: +{
      +  "format": "date",
      +  "type": "string"
      +}
    • removedOutput schema / properties / switching / properties / request_cancels_current_insurance
      Removed value: -{
      -  "const": false
      -}
    • removedOutput schema / properties / switching / properties / subsidy_help
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / switching / properties / subsidy_sentence
      Removed value: -{
      -  "description": "Say it when the client mentions a modest income or asks about premium subsidies.",
      -  "properties": {
      -    "de": {
      -      "type": "string"
      -    },
      -    "en": {
      -      "type": "string"
      -    },
      -    "fr": {
      -      "type": "string"
      -    },
      -    "it": {
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • addedOutput schema / properties / switching / properties / tariff_year
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / switching / properties / window
      Added value: +{
      +  "description": "open until the end of the deadline day in Switzerland, closed afterwards.",
      +  "enum": [
      +    "open",
      +    "closed"
      +  ]
      +}
    • changedOutput schema / properties / switching / required
      Previous value: -[
      -  "deadline",
      -  "effective",
      -  "client_sentence"
      -]New value: +[
      +  "tariff_year",
      +  "new_cover_starts",
      +  "cancellation_deadline",
      +  "window"
      +]
    • removedOutput schema / properties / texts_language
      Removed value: -{
      -  "description": "Language of the client texts in this response.",
      -  "enum": [
      -    "fr",
      -    "de",
      -    "it",
      -    "en",
      -    "all"
      -  ],
      -  "type": "string"
      -}
    • addedOutput schema / properties / wording
      Added value: +{
      +  "description": "Optional sentences validated by the broker, in the language requested.",
      +  "properties": {
      +    "cancellation_deadline": {
      +      "description": "Present while the switching window is open."
      +    },
      +    "help": {
      +      "description": "The broker’s free help; present with a comparison."
      +    },
      +    "not_cancelled": {},
      +    "note": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "status",
      -  "result_type",
      -  "response_format",
      -  "profile",
      -  "comparison_id",
      -  "cashback",
      -  "switching",
      -  "submission",
      -  "offers",
      -  "eligible_models",
      -  "eligible_model_count",
      -  "data",
      -  "pricing",
      -  "full_response_url",
      -  "results_url",
      -  "operator"
      -]New value: +[
      +  "status",
      +  "comparison_id",
      +  "profile",
      +  "offers",
      +  "switching",
      +  "broker",
      +  "contact"
      +]
  2. Changed28 schema fields changed
    • changedInput schema / description
      Previous value: -"Criteria for one person. For a household (2-12 people, one insurer for all) use calculateHousehold."New value: +"Criteria for one person. For a household (2-12 people, one insurer for all) use prepareHouseholdQuote."
    • changedInput schema / properties / accident_included / description
      Previous value: -"Explicit JSON boolean required (not the string \"true\"). Do not infer legal eligibility to exclude accident cover."New value: +"Explicit JSON boolean required (not the string \"true\"). Ask before quoting whether the client works at least 8 hours a week for the same employer: yes means false (the employer covers accidents), otherwise true. Never infer it."
    • changedInput schema / properties / language / description
      Previous value: -"Language of the client texts and HTML pages; a region suffix is ignored."New value: +"Language of the client texts, model names and HTML pages; a region suffix is ignored."
    • addedInput schema / properties / texts
      Added value: +{
      +  "default": "requested",
      +  "description": "Client texts (cashback, switching, consent messages) in the requested language only (default) or in fr, de, it and en (all). Quote only; not part of the comparison.",
      +  "enum": [
      +    "requested",
      +    "all"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / accident_question
      Added value: +{
      +  "description": "Ask before quoting: employees working at least 8 hours a week for the same employer usually exclude accident cover (accident_included false).",
      +  "properties": {
      +    "ask_before_quoting": {
      +      "const": true
      +    },
      +    "question": {
      +      "properties": {
      +        "de": {
      +          "type": "string"
      +        },
      +        "en": {
      +          "type": "string"
      +        },
      +        "fr": {
      +          "type": "string"
      +        },
      +        "it": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "rule": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • changedOutput schema / properties / cashback / description
      Previous value: -"Cashback SPI pays the client once a contract is concluded through SPI and approved by the insurer. Never a lower premium."New value: +"Premium reduction Swiss Premium Insurance grants to each insured person, only for requests made through an AI assistant, once a contract concluded through SPI is approved by the insurer. Premiums and ranking shown are the official ones, without the reduction."
    • addedOutput schema / properties / cashback / properties / benefit_form
      Added value: +{
      +  "const": "premium_reduction"
      +}
    • addedOutput schema / properties / cashback / properties / changes_premium / description
      Added value: +"The official premium used for the ranking is not altered; the client benefit is the reduction in benefit_form."
    • changedOutput schema / properties / cashback / properties / client_sentence / description
      Previous value: -"Say verbatim in the client language; fr, de, it and en on both routes; null when disabled."New value: +"Say as provided in the client language. Quote: requested language only (texts=all for fr, de, it, en); full premiums route: four languages. null when disabled."
    • addedOutput schema / properties / cashback / properties / insured_persons
      Added value: +{
      +  "description": "Household results only: number of insured persons.",
      +  "type": "integer"
      +}
    • changedOutput schema / properties / cashback / properties / lamal / properties / basis / description
      Previous value: -"fixed_chf"New value: +"fixed_chf, per insured person"
    • addedOutput schema / properties / cashback / properties / lamal_total_chf
      Added value: +{
      +  "description": "Household results only: CHF 30 × insured_persons.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / cashback / properties / lca / properties / basis / description
      Previous value: -"one_month_premium; amount set by SPI after review."New value: +"one_month_premium per insured person and contract; amount set by SPI after review."
    • addedOutput schema / properties / cashback / properties / per
      Added value: +{
      +  "const": "insured_person"
      +}
    • addedOutput schema / properties / cashback / properties / ranking_uses_official_premium
      Added value: +{
      +  "const": true
      +}
    • changedOutput schema / properties / cashback / properties / rationale / description
      Previous value: -"fr, de, it and en; null when disabled."New value: +"Same languages as client_sentence; null when disabled."
    • addedOutput schema / properties / cashback / properties / scope
      Added value: +{
      +  "const": "agent_originated_requests_only"
      +}
    • addedOutput schema / properties / languages_available
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / offers / items / properties / model_name / description
      Previous value: -"Official French model name."New value: +"Model name in the requested language (display translation of the official name)."
    • addedOutput schema / properties / offers / items / properties / model_name_official
      Added value: +{
      +  "description": "Official French model name from the OFSP file.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / request_url
      Added value: +{
      +  "description": "Short readable form link built from the criteria (/adviser?premium_year=…&postal_code=…); append &agent=<your name>, optionally &insurer_id=. No contact data. null when the form is disabled.",
      +  "format": "uri",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / submission / properties / client_messages / description
      Previous value: -"fr, de, it and en."New value: +"Quote and household: requested language only (texts=all for fr, de, it, en); full premiums route: four languages."
    • addedOutput schema / properties / submission / properties / client_messages / properties / channel_labels
      Added value: +{
      +  "description": "Localised {channel} values for email, phone and email_or_phone.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / submission / properties / client_messages / properties / consent_confirmation / description
      Added value: +"Fill {request_id} and {channel}; it says the request cancels nothing, the 30 November deadline and the free SPI help. The receipt also returns it filled (client_confirmation)."
    • changedOutput schema / properties / submission / properties / client_messages / properties / consent_request / description
      Previous value: -"Ask this once in the client language, filling {insurer}, {model} and {premium}; a reply giving an email or phone is the consent."New value: +"Ask this once, in the same message as the offers, filling {insurer}, {model} and {premium} (household: {insurer}, {persons}, {premium} total); a reply giving an email or phone is the consent."
    • addedOutput schema / properties / switching
      Added value: +{
      +  "description": "Switching deadline and free SPI help (cancellation, premium subsidies). Say client_sentence with the offers; a request to SPI cancels nothing by itself.",
      +  "properties": {
      +    "cancellation_help": {
      +      "type": "string"
      +    },
      +    "client_sentence": {
      +      "description": "Deadline, free cancellation help and free subsidy help; requested language only unless texts=all.",
      +      "properties": {
      +        "de": {
      +          "type": "string"
      +        },
      +        "en": {
      +          "type": "string"
      +        },
      +        "fr": {
      +          "type": "string"
      +        },
      +        "it": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "deadline": {
      +      "const": "2026-11-30",
      +      "description": "Date by which the cancellation must REACH the current insurer.",
      +      "format": "date",
      +      "type": "string"
      +    },
      +    "deadline_rule": {
      +      "type": "string"
      +    },
      +    "effective": {
      +      "const": "2027-01-01",
      +      "format": "date",
      +      "type": "string"
      +    },
      +    "instructions": {
      +      "type": "string"
      +    },
      +    "request_cancels_current_insurance": {
      +      "const": false
      +    },
      +    "subsidy_help": {
      +      "type": "string"
      +    },
      +    "subsidy_sentence": {
      +      "description": "Say it when the client mentions a modest income or asks about premium subsidies.",
      +      "properties": {
      +        "de": {
      +          "type": "string"
      +        },
      +        "en": {
      +          "type": "string"
      +        },
      +        "fr": {
      +          "type": "string"
      +        },
      +        "it": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "deadline",
      +    "effective",
      +    "client_sentence"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / texts_language
      Added value: +{
      +  "description": "Language of the client texts in this response.",
      +  "enum": [
      +    "fr",
      +    "de",
      +    "it",
      +    "en",
      +    "all"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "status",
      -  "result_type",
      -  "response_format",
      -  "profile",
      -  "comparison_id",
      -  "cashback",
      -  "submission",
      -  "offers",
      -  "eligible_models",
      -  "eligible_model_count",
      -  "data",
      -  "pricing",
      -  "full_response_url",
      -  "results_url",
      -  "operator"
      -]New value: +[
      +  "status",
      +  "result_type",
      +  "response_format",
      +  "profile",
      +  "comparison_id",
      +  "cashback",
      +  "switching",
      +  "submission",
      +  "offers",
      +  "eligible_models",
      +  "eligible_model_count",
      +  "data",
      +  "pricing",
      +  "full_response_url",
      +  "results_url",
      +  "operator"
      +]
  3. Changed1 schema field changed
    • changedOutput schema / properties / submission / properties / client_messages / properties / consent_request / description
      Previous value: -"Ask this verbatim in the client language, filling {fields}, {insurer}, {model} and {premium}."New value: +"Ask this once in the client language, filling {insurer}, {model} and {premium}; a reply giving an email or phone is the consent."
  4. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already cover readOnly, idempotent, closed-world and non-destructive, yet the description still contributes: the data source, the guarantee that all insurers and all models in the municipality are included (no silent filtering), and what the result carries (insurer-change dates, broker identity, comparison_id). 'No personal data, nothing is sent' partially restates the read-only annotation but adds a privacy assurance an agent would otherwise have to infer.

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?

Four sentences, front-loaded with the verb and the ranking rule, then scope/source, then inputs, then the return highlights. The one weak segment is the inputs enumeration, which repeats required-parameter names already visible in the schema without adding meaning.

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 a 10-parameter tool with an output schema, the description covers everything an agent needs before calling: what is returned, the ranking, the source and coverage, the fact that year defaults to the year in force, and where the returned comparison_id leads. Return-value details can be delegated to the output schema, and the remaining parameter nuance is well handled in the schema.

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 coverage is 80%, so the schema already documents postal_code, birth_year, deductible_chf, accident_included and model_group with enum meaning. The description only enumerates those same five input names in a comma list, adding no format, default or edge-case meaning beyond what the schema provides. Baseline 3 is appropriate where structured fields do the heavy lifting.

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 names a specific resource (official LAMal basic-insurance premiums), a specific scope (one person, one municipality, tariff year in force), and a specific ordering (ranked from the lowest monthly premium). The phrase 'for one person' plus the named data source (priminfo.admin.ch) lets an agent distinguish it from compare_lamal_household without opening either schema.

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?

It establishes the single-person context and, by calling out the comparison_id that 'the contact tools accept', it hands the agent a concrete follow-up path to the handoff/contact siblings. It does not explicitly say to use compare_lamal_household for multi-person households — that routing lives only in the schema's description field — so the alternative is implied rather than stated.

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