Skip to main content
Glama

Assurs LAMal comparator

Official LAMal premiums for a household

compare_lamal_household
Read-onlyIdempotent

Returns the official basic health insurance (LAMal) premiums for a household of 2 to 12 people, with the same insurer for everyone, ranked from the lowest total monthly premium. Each person has their own birth year, deductible, accident cover and model category. Same source, same dates and same comparison_id as the comparison for one person. 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": {
      "members": "<members>"
    },
    "name": "compare_lamal_household"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoTariff year. Optional: the year in force is used when it is left out, and the result states it.
textsNorequested
membersYes2-12 insured persons, no names or contact data (one person: compare_lamal_premiums, POST /api/v1/lamal/quote).
languageNofr

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 insurers ranked from the lowest household total per month (premium_monthly_chf), with each person under people.
statusYes
contactYesHow a person who wants it can be contacted by the broker.
personsNo
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.
rankingNo
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.
readable_urlNoReadable household page built from the criteria.
comparison_idYesReference accepted by create_adviser_handoff_link, test_adviser_request and request_adviser_contact; valid 30 days.
link_expires_atNo
eligible_insurer_countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed50 schema fields changed
    • changedInput schema / properties / members / description
      Previous value: -"2-12 insured persons, no names or contact data (one person: prepareLamalQuote)."New value: +"2-12 insured persons, no names or contact data (one person: compare_lamal_premiums, POST /api/v1/lamal/quote)."
    • changedInput schema / properties / members / items / properties / accident / description
      Previous value: -"MIT: accident included. Ask each adult whether they work at least 8 hours a week for one employer: yes means OHN."New value: +"MIT: accident cover included; OHN: excluded. Employees who work 8 hours or more a week for one employer are insured against accidents by that employer (OHN). Everyone else needs it (MIT)."
    • removedInput schema / properties / year / const
      Removed value: -2027
    • addedInput schema / properties / year / description
      Added value: +"Tariff year. Optional: the year in force is used when it is left out, and the result states it."
    • changedInput schema / required
      Previous value: -[
      -  "year",
      -  "members"
      -]New value: +[
      +  "members"
      +]
    • removedOutput schema / description
      Removed value: -"Household comparison with everything needed to present, ask consent and send."
    • 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: -{
      -  "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: -"Send as comparison_id in submitOfferRequest."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"
      -]
    • removedOutput schema / properties / languages_available
      Removed value: -{
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / link_expires_at / format
      Removed value: -"date-time"
    • addedOutput schema / properties / offers / description
      Added value: +"Up to 10 insurers ranked from the lowest household total per month (premium_monthly_chf), with each person under people."
    • removedOutput schema / properties / offers / items / properties
      Removed value: -{
      -  "insurer_id": {
      -    "type": "integer"
      -  },
      -  "insurer_name": {
      -    "type": "string"
      -  },
      -  "model_name": {
      -    "type": "string"
      -  },
      -  "people": {
      -    "items": {
      -      "properties": {
      -        "birth_year": {
      -          "type": "integer"
      -        },
      -        "member_index": {
      -          "type": "integer"
      -        },
      -        "model_group": {
      -          "type": "string"
      -        },
      -        "model_name": {
      -          "type": "string"
      -        },
      -        "model_name_official": {
      -          "type": "string"
      -        },
      -        "premium_monthly_chf": {
      -          "type": "number"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "premium_annual_chf": {
      -    "type": "number"
      -  },
      -  "premium_monthly_chf": {
      -    "description": "Household total per month.",
      -    "type": "number"
      -  },
      -  "premium_monthly_net_cents": {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "rank": {
      -    "type": "integer"
      -  }
      -}
    • 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."
    • changedOutput schema / properties / profile / description
      Previous value: -"Household criteria: persons, postcode, members[]."New value: +"Criteria as applied, with the tariff year (premium_year) and the resolved municipality, canton and premium region."
    • changedOutput schema / properties / readable_url / description
      Previous value: -"Readable GET household page (/compare-household?…) for browsing tools."New value: +"Readable household page built from the criteria."
    • removedOutput schema / properties / readable_url / format
      Removed value: -"uri"
    • removedOutput schema / properties / response_format
      Removed value: -{
      -  "const": "household"
      -}
    • removedOutput schema / properties / result_type / const
      Removed value: -"non_binding_lamal_household_comparison"
    • addedOutput schema / properties / result_type / type
      Added value: +"string"
    • addedOutput schema / properties / results_url / description
      Added 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: -{
      -  "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",
      -  "response_format",
      -  "comparison_id",
      -  "profile",
      -  "offers",
      -  "cashback",
      -  "switching",
      -  "submission"
      -]New value: +[
      +  "status",
      +  "comparison_id",
      +  "profile",
      +  "offers",
      +  "switching",
      +  "broker",
      +  "contact"
      +]
  2. Changed84 schema fields changed
    • addedInput schema / properties / language
      Added value: +{
      +  "default": "fr",
      +  "enum": [
      +    "fr",
      +    "de",
      +    "it",
      +    "en"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / members / description
      Added value: +"2-12 insured persons, no names or contact data (one person: prepareLamalQuote)."
    • changedInput schema / properties / members / items / properties / accident / description
      Previous value: -"MIT : inclus ; OHN : exclu. Ne pas déduire ce choix de l’âge ou de la profession."New value: +"MIT: accident included. Ask each adult whether they work at least 8 hours a week for one employer: yes means OHN."
    • removedInput schema / properties / members / items / properties / accident / type
      Removed value: -"string"
    • changedInput schema / properties / members / items / properties / bfs / description
      Previous value: -"Commune OFS, obligatoire uniquement si le NPA couvre des régions ou des modèles disponibles différents. Vérifier requiresCommune dans places(postcode)."New value: +"Only when the postcode spans several communes; the error lists the choices."
    • removedInput schema / properties / members / items / properties / bfs / pattern
      Removed value: -"^[0-9]{1,6}$"
    • removedInput schema / properties / members / items / properties / birthYear / maximum
      Removed value: -2027
    • removedInput schema / properties / members / items / properties / birthYear / minimum
      Removed value: -1907
    • removedInput schema / properties / members / items / properties / careType / type
      Removed value: -"string"
    • removedInput schema / properties / members / items / properties / currentPremium
      Removed value: -{
      -  "description": "CHF par mois, base seule, nette de redistribution, avant subsides. Remplace la référence calculée.",
      -  "pattern": "^[0-9]{1,5}([.,][0-9]{1,2})?$",
      -  "type": "string"
      -}
    • removedInput schema / properties / members / items / properties / currentProduct
      Removed value: -{
      -  "description": "Clé renvoyée par searchReferences ; facultative.",
      -  "maxLength": 100,
      -  "pattern": "^[0-9]+\\|[^|]+$",
      -  "type": "string"
      -}
    • addedInput schema / properties / members / items / properties / franchise / description
      Added value: +"Child 0-600, adult 300-2500."
    • removedInput schema / properties / members / items / properties / franchise / enum
      Removed value: -[
      -  0,
      -  100,
      -  200,
      -  300,
      -  400,
      -  500,
      -  600,
      -  1000,
      -  1500,
      -  2000,
      -  2500
      -]
    • changedInput schema / properties / members / minItems
      Previous value: -1New value: +2
    • addedInput schema / properties / texts
      Added value: +{
      +  "default": "requested",
      +  "enum": [
      +    "requested",
      +    "all"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / title
      Previous value: -"SPI — comparaison LAMal 2027"New value: +"Household LAMal comparison"
    • changedOutput schema / description
      Previous value: -"Legacy engine result: integer centimes, one insurer for all members. No cashback object, client_messages or request_id here: take them from prepareLamalQuote and mint any RFC 4122 request_id."New value: +"Household comparison with everything needed to present, ask consent and send."
    • 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"
      +}
    • addedOutput schema / properties / adviser_url
      Added value: +{
      +  "format": "uri",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / cashback
      Added 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"
      +}
    • addedOutput schema / properties / comparison_id
      Added value: +{
      +  "description": "Send as comparison_id in submitOfferRequest.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / data
      Added value: +{
      +  "description": "Origin and freshness of the official data; manifest_url lists source files and the last official sync.",
      +  "properties": {
      +    "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"
      +    }
      +  },
      +  "required": [
      +    "authority",
      +    "dataset_version",
      +    "manifest_url",
      +    "limitations"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / properties / eligibleInsurerCount
      Removed value: -{
      -  "type": "integer"
      -}
    • addedOutput schema / properties / eligible_insurer_count
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / languages_available
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / link_expires_at
      Added value: +{
      +  "format": "date-time",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / offers / items / properties / annualCents
      Removed value: -{
      -  "minimum": 0,
      -  "type": "integer"
      -}
    • removedOutput schema / properties / offers / items / properties / insurerId
      Removed value: -{
      -  "description": "Send as insurer_id in submitOfferRequest.",
      -  "type": "integer"
      -}
    • removedOutput schema / properties / offers / items / properties / insurerName
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / offers / items / properties / insurer_id
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / offers / items / properties / insurer_name
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / offers / items / properties / model_name
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / offers / items / properties / monthlyCents
      Removed value: -{
      -  "description": "Household net premium per month, integer centimes.",
      -  "minimum": 0,
      -  "type": "integer"
      -}
    • addedOutput schema / properties / offers / items / properties / people / items / properties / birth_year
      Added value: +{
      +  "type": "integer"
      +}
    • removedOutput schema / properties / offers / items / properties / people / items / properties / careType
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / offers / items / properties / people / items / properties / memberIndex
      Removed value: -{
      -  "type": "integer"
      -}
    • addedOutput schema / properties / offers / items / properties / people / items / properties / member_index
      Added value: +{
      +  "type": "integer"
      +}
    • removedOutput schema / properties / offers / items / properties / people / items / properties / modelName
      Removed value: -{
      -  "description": "Official French model name.",
      -  "type": "string"
      -}
    • addedOutput schema / properties / offers / items / properties / people / items / properties / model_group
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / offers / items / properties / people / items / properties / model_name
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / offers / items / properties / people / items / properties / model_name_official
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / offers / items / properties / people / items / properties / monthlyNetCents
      Removed value: -{
      -  "minimum": 0,
      -  "type": "integer"
      -}
    • addedOutput schema / properties / offers / items / properties / people / items / properties / premium_monthly_chf
      Added value: +{
      +  "type": "number"
      +}
    • removedOutput schema / properties / offers / items / properties / people / items / properties / productKey
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / offers / items / properties / premium_annual_chf
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / offers / items / properties / premium_monthly_chf
      Added value: +{
      +  "description": "Household total per month.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / offers / items / properties / premium_monthly_net_cents
      Added value: +{
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • removedOutput schema / properties / ok
      Removed value: -{
      -  "const": true
      -}
    • addedOutput schema / properties / operator
      Added value: +{
      +  "properties": {
      +    "assistance_is_optional": {
      +      "const": true
      +    },
      +    "name": {
      +      "const": "Swiss Premium Insurance"
      +    },
      +    "role": {
      +      "const": "insurance_broker"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / persons
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / pricing
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / profile
      Added value: +{
      +  "description": "Household criteria: persons, postcode, members[].",
      +  "type": "object"
      +}
    • addedOutput schema / properties / ranking
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / readable_url
      Added value: +{
      +  "description": "Readable GET household page (/compare-household?…) for browsing tools.",
      +  "format": "uri",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / response_format
      Added value: +{
      +  "const": "household"
      +}
    • addedOutput schema / properties / result_type
      Added value: +{
      +  "const": "non_binding_lamal_household_comparison"
      +}
    • addedOutput schema / properties / results_url
      Added value: +{
      +  "format": "uri",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / status
      Added value: +{
      +  "const": "ok"
      +}
    • addedOutput schema / properties / submission / description
      Added value: +"How to send the client-approved request. Keep comparisonToken private; never put it in a link."
    • addedOutput schema / properties / submission / properties / clientConsentRequired
      Added value: +{
      +  "const": true
      +}
    • addedOutput schema / properties / submission / properties / client_messages
      Added value: +{
      +  "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"
      +}
    • addedOutput schema / properties / submission / properties / comparison
      Added value: +{
      +  "description": "Legacy criteria; copy unchanged with comparisonToken when comparison_id is unavailable.",
      +  "type": "object"
      +}
    • removedOutput schema / properties / submission / properties / comparisonToken / description
      Removed value: -"Send as comparison_token together with comparison = verification.criteria; valid 24 hours; never put it in a link."
    • addedOutput schema / properties / submission / properties / comparison_id
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / submission / properties / comparison_id_valid_until
      Added value: +{
      +  "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"
      +  ]
      +}
    • addedOutput schema / properties / submission / properties / content_type
      Added value: +{
      +  "const": "application/json"
      +}
    • addedOutput schema / properties / submission / properties / enabled
      Added value: +{
      +  "description": "false: sending is disabled; offer adviser_url instead.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / submission / properties / endpoint
      Added value: +{
      +  "description": "POST target of submitOfferRequest.",
      +  "format": "uri",
      +  "type": "string"
      +}
    • addedOutput schema / properties / submission / properties / expiresAt / deprecated
      Added value: +true
    • addedOutput schema / properties / submission / properties / expiresAt / description
      Added value: +"Alias of token_valid_until."
    • addedOutput schema / properties / submission / properties / instructions
      Added value: +{
      +  "description": "Numbered steps to follow.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": [
      +    "string",
      +    "array"
      +  ]
      +}
    • addedOutput schema / properties / submission / properties / method
      Added value: +{
      +  "const": "POST"
      +}
    • addedOutput schema / properties / submission / properties / no_post_tool
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / submission / properties / on_error
      Added value: +{
      +  "additionalProperties": {
      +    "type": "string"
      +  },
      +  "description": "Error code to action.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / submission / properties / request_id
      Added value: +{
      +  "description": "Fresh per response; copy it as request_id of the submission.",
      +  "format": "uuid",
      +  "type": "string"
      +}
    • addedOutput schema / properties / submission / properties / request_template
      Added value: +{
      +  "description": "submitOfferRequest body to fill; contact.email and contact.phone are empty strings: fill the ones you have.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / submission / properties / testEndpoint
      Added value: +{
      +  "deprecated": true,
      +  "description": "Alias of test_endpoint.",
      +  "format": "uri",
      +  "type": "string"
      +}
    • addedOutput schema / properties / submission / properties / test_endpoint
      Added value: +{
      +  "format": "uri",
      +  "type": "string"
      +}
    • addedOutput schema / properties / submission / properties / token_valid_until
      Added value: +{
      +  "description": "comparison_token lifetime (24 h).",
      +  "format": "date-time",
      +  "type": "string"
      +}
    • 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"
      +}
    • removedOutput schema / properties / tariffYear
      Removed value: -{
      -  "type": "integer"
      -}
    • addedOutput schema / properties / texts_language
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / verification
      Removed value: -{
      -  "properties": {
      -    "criteria": {
      -      "additionalProperties": false,
      -      "description": "Copy unchanged as comparison in submitOfferRequest.",
      -      "properties": {
      -        "members": {
      -          "items": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "accident": {
      -                "description": "MIT : inclus ; OHN : exclu. Ne pas déduire ce choix de l’âge ou de la profession.",
      -                "enum": [
      -                  "MIT",
      -                  "OHN"
      -                ],
      -                "type": "string"
      -              },
      -              "bfs": {
      -                "description": "Commune OFS, obligatoire uniquement si le NPA couvre des régions ou des modèles disponibles différents. Vérifier requiresCommune dans places(postcode).",
      -                "pattern": "^[0-9]{1,6}$",
      -                "type": "string"
      -              },
      -              "birthYear": {
      -                "maximum": 2027,
      -                "minimum": 1907,
      -                "type": "integer"
      -              },
      -              "careType": {
      -                "enum": [
      -                  "any",
      -                  "BASE",
      -                  "PRAXIS",
      -                  "FLEX",
      -                  "TEL_DIG",
      -                  "PHARM"
      -                ],
      -                "type": "string"
      -              },
      -              "currentPremium": {
      -                "description": "CHF par mois, base seule, nette de redistribution, avant subsides. Remplace la référence calculée.",
      -                "pattern": "^[0-9]{1,5}([.,][0-9]{1,2})?$",
      -                "type": "string"
      -              },
      -              "currentProduct": {
      -                "description": "Clé renvoyée par searchReferences ; facultative.",
      -                "maxLength": 100,
      -                "pattern": "^[0-9]+\\|[^|]+$",
      -                "type": "string"
      -              },
      -              "franchise": {
      -                "enum": [
      -                  0,
      -                  100,
      -                  200,
      -                  300,
      -                  400,
      -                  500,
      -                  600,
      -                  1000,
      -                  1500,
      -                  2000,
      -                  2500
      -                ],
      -                "type": "integer"
      -              },
      -              "postcode": {
      -                "pattern": "^[0-9]{4}$",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "birthYear",
      -              "postcode",
      -              "franchise",
      -              "accident",
      -              "careType"
      -            ],
      -            "type": "object"
      -          },
      -          "maxItems": 12,
      -          "minItems": 1,
      -          "type": "array"
      -        },
      -        "year": {
      -          "const": 2027,
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "year",
      -        "members"
      -      ],
      -      "title": "SPI — comparaison LAMal 2027",
      -      "type": "object"
      -    }
      -  },
      -  "type": "object"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "ok",
      -  "tariffYear",
      -  "offers",
      -  "verification",
      -  "submission"
      -]New value: +[
      +  "status",
      +  "response_format",
      +  "comparison_id",
      +  "profile",
      +  "offers",
      +  "cashback",
      +  "switching",
      +  "submission"
      +]
  3. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so 'Read-only: no personal data, nothing is sent' largely restates them, though it does add a privacy assurance about input data. Genuinely new behavioral facts are the ranking order of results and the shared comparison_id/source/dates with the single-person comparison, which help the agent reason about output, but return shape and any failure modes (e.g. commune ambiguity) are not described.

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?

Three front-loaded sentences with the core purpose first, then the per-member variation, then provenance and safety. The read-only clause is partly redundant with annotations, a small amount of waste in an otherwise dense statement.

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?

An output schema exists, so the description need not enumerate return values, and it still supplies the key output semantics (ranking, shared comparison_id). Given a nested-free but multi-parameter request with only 50% schema description coverage, the main residual gap is the unmentioned 'texts' and 'language' parameters.

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 50%, so some of the burden falls on the description. It usefully explains that each member carries their own birth year, deductible, accident cover and model category, which frames the nested member object, but the top-level 'texts' and 'language' parameters get no treatment and the member-level field meanings (franchise ranges, MIT/OHN) live only in the schema. Adequate, not compensating fully for the coverage gap.

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 ('Returns the official basic health insurance (LAMal) premiums for a household of 2 to 12 people'), plus the two defining constraints: one insurer for everyone and ranking by lowest total monthly premium. It implicitly contrasts with the single-person comparison ('the comparison for one person'), so an agent can tell which of the two premium tools fits a given request.

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 2-to-12-person scope and the phrase 'the comparison for one person' effectively delimit when this tool applies versus its single-person counterpart, and the 'same insurer for everyone' rule tells the agent this is not a mix-and-match optimizer. It stops short of an explicit routing sentence naming compare_lamal_premiums and gives no exclusions for the metadata tool.

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