Skip to main content
Glama

Assurs LAMal comparator

Send a contact request to Swiss Premium Insurance

request_adviser_contact
Idempotent

Sends a contact request by email to Swiss Premium Insurance (contact@sp-insurance.ch) on behalf of a person who asked to be contacted about an offer. Input: the comparison_id, the insurer chosen, the person’s email address or phone number, and client_consent, which states that the person agreed to this transfer. Returns a receipt with a reference. The receipt means the email service accepted the message; it is not an insurance contract and it does not cancel the current insurance. The same request sent again with the same request_id within 24 hours does not send a second email.

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": {
      "request_id": "<request_id>",
      "comparison_id": "<comparison_id>",
      "contact": "<contact>",
      "client_consent": "<client_consent>"
    },
    "name": "request_adviser_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentNoOptional. Who is calling; self-declared, used for statistics only.
contactYesThe person’s own details: an email address or a phone number, and optionally a name and a message.
languageNoLanguage of the person; defaults to the comparison language. fr, de, it, en have localised texts and pages; es, pt, zh are recorded for SPI (preview and pages fall back to en/fr).
offer_idNooffers[].offer_id or source_offer_id; alternative to insurer_id.
insurer_idNoinsurer_id of the chosen offer, from offers[].
request_idYesIdentifier of this request, as returned by the comparison (any UUID is accepted). The same request sent again with the same identifier within 24 hours is not sent twice.
comparison_idYescomparison_id from the quote; valid 30 days. Preferred.
client_consentYestrue when the person has agreed that their contact details, the comparison criteria and the chosen offer are sent to Swiss Premium Insurance. The request is refused without it.
subsidy_requestedNoThe person wants information on premium subsidies.
supplementary_interestNoThe person also wants offers for supplementary insurance (LCA).

Output Schema

NameRequiredDescriptionDefault
statusYes
sent_toYes
wordingNoOptional sentences validated by the broker, in the language requested.
referenceYesThe request_id of this request.
switchingNoDates of the ordinary change of insurer for the tariff year.
accepted_atNo
accepted_meansNo
what_happens_nextNo
to_correct_or_withdrawNo
this_is_an_insurance_contractNo
this_cancels_the_current_insuranceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed61 schema fields changed
    • removedInput schema / anyOf
      Removed value: -[
      -  {
      -    "required": [
      -      "comparison_id"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "comparison",
      -      "comparison_token"
      -    ]
      -  }
      -]
    • changedInput schema / description
      Previous value: -"Send exactly one of comparison_id or comparison + comparison_token. Copy request_id, comparison_id and insurer_id from the quote."New value: +"The comparison_id of a comparison, the insurer chosen, the person’s contact details and their agreement."
    • changedInput schema / properties / agent / description
      Previous value: -"Who is calling: { name:\"chatgpt\" } etc. Self-declared, not authentication."New value: +"Optional. Who is calling; self-declared, used for statistics only."
    • removedInput schema / properties / agent / properties / cashbackRequested
      Removed value: -{
      -  "default": true,
      -  "description": "Records a request for SPI to consider a benefit. Not a claim, eligibility, approval, amount or payment promise. Does not change prices or ranking.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / agent / properties / cashback_requested
      Removed value: -{
      -  "default": true,
      -  "description": "Records a request for SPI to consider a benefit. Not a claim, eligibility, approval, amount or payment promise. Does not change prices or ranking.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / agent / properties / displayName
      Removed value: -{
      -  "description": "Optional custom agent name, no client name or conversation content.",
      -  "maxLength": 80,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedInput schema / properties / agent / properties / display_name
      Removed value: -{
      -  "description": "Optional custom agent name, no client name or conversation content.",
      -  "maxLength": 80,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedInput schema / properties / agent / properties / integrationId
      Removed value: -{
      -  "description": "Self-declared integration identifier, NOT authentication.",
      -  "pattern": "^[a-zA-Z0-9._-]{1,80}$",
      -  "type": "string"
      -}
    • removedInput schema / properties / agent / properties / integration_id
      Removed value: -{
      -  "description": "Self-declared integration identifier, NOT authentication.",
      -  "pattern": "^[a-zA-Z0-9._-]{1,80}$",
      -  "type": "string"
      -}
    • removedInput schema / properties / agent / properties / kind
      Removed value: -{
      -  "description": "Optional. Accepted values: personal_assistant, conversational_assistant, coding_agent (personal_agent and chat_assistant are read as personal_assistant and conversational_assistant).",
      -  "enum": [
      -    "personal_assistant",
      -    "conversational_assistant",
      -    "coding_agent"
      -  ],
      -  "type": "string"
      -}
    • changedInput schema / properties / agent / properties / name / description
      Previous value: -"Agent name, lower-cased by the server (spaces become _; a literal <placeholder> counts as other). Known names: chatgpt, claude, gemini, grok, openclaw, muse, codex, claude_code, copilot, perplexity, mistral, coding_agent, other; any other short identifier is accepted."New value: +"Name of the assistant or product making the call."
    • removedInput schema / properties / cashback_terms_version
      Removed value: -{
      -  "description": "cashback.version shown to the client; 409 cashback_terms_outdated when stale.",
      -  "type": "string"
      -}
    • changedInput schema / properties / client_consent / description
      Previous value: -"true only after the client explicitly answered yes to consent_request. Never infer consent from a comparison."New value: +"true when the person has agreed that their contact details, the comparison criteria and the chosen offer are sent to Swiss Premium Insurance. The request is refused without it."
    • removedInput schema / properties / comparison
      Removed value: -{
      -  "description": "submission.comparison copied unchanged; only with comparison_token.",
      -  "type": "object"
      -}
    • removedInput schema / properties / comparison_token
      Removed value: -{
      -  "description": "submission.comparisonToken with the identical submission.comparison; alternative to comparison_id.",
      -  "maxLength": 1000,
      -  "type": "string"
      -}
    • changedInput schema / properties / contact / description
      Previous value: -"Fill email or phone; leave the other as an empty string or omit it. Never invent a client name, email or phone."New value: +"The person’s own details: an email address or a phone number, and optionally a name and a message."
    • changedInput schema / properties / contact / properties / email / description
      Previous value: -"Client email such as client@example.ch; an empty string or an omitted key means the client gave a phone instead."New value: +"Email address such as client@example.ch; an empty string or an omitted key means a phone number is given instead."
    • changedInput schema / properties / contact / properties / phone / description
      Previous value: -"Client telephone, 8-15 digits, optional spaces and + country code; an empty string or an omitted key means the client gave an email instead."New value: +"Telephone, 8-15 digits, optional spaces and + country code; an empty string or an omitted key means an email address is given instead."
    • changedInput schema / properties / insurer_id / description
      Previous value: -"insurer_id of the offer the client chose, from offers[]."New value: +"insurer_id of the chosen offer, from offers[]."
    • changedInput schema / properties / language / description
      Previous value: -"Client language; defaults to the comparison language. fr, de, it, en have localised client texts and pages; es, pt, zh are recorded for SPI (preview and pages fall back to en/fr)."New value: +"Language of the person; defaults to the comparison language. fr, de, it, en have localised texts and pages; es, pt, zh are recorded for SPI (preview and pages fall back to en/fr)."
    • changedInput schema / properties / request_id / description
      Previous value: -"Copy submission.request_id from the quote (any RFC 4122 UUID). Reuse the same value and body on every retry."New value: +"Identifier of this request, as returned by the comparison (any UUID is accepted). The same request sent again with the same identifier within 24 hours is not sent twice."
    • changedInput schema / properties / subsidy_requested / description
      Previous value: -"Client wants information on premium subsidies."New value: +"The person wants information on premium subsidies."
    • changedInput schema / properties / supplementary_interest / description
      Previous value: -"Client also wants supplementary (LCA) offers; enables the LCA cashback."New value: +"The person also wants offers for supplementary insurance (LCA)."
    • changedInput schema / required
      Previous value: -[
      -  "request_id",
      -  "contact",
      -  "client_consent"
      -]New value: +[
      +  "request_id",
      +  "comparison_id",
      +  "contact",
      +  "client_consent"
      +]
    • removedOutput schema / properties / accepted_at / format
      Removed value: -"date-time"
    • addedOutput schema / properties / accepted_means
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / cashback
      Removed value: -{
      -  "properties": {
      -    "contract_status": {
      -      "const": "not_verified"
      -    },
      -    "lamal_amount_chf": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "lca_basis": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "next_steps": {
      -      "description": "Tell the client this.",
      -      "type": "string"
      -    },
      -    "payment_created": {
      -      "const": false
      -    },
      -    "program_status": {
      -      "enum": [
      -        "active",
      -        "disabled"
      -      ]
      -    },
      -    "program_version": {
      -      "type": "string"
      -    },
      -    "requested": {
      -      "type": "boolean"
      -    },
      -    "terms_url": {
      -      "format": "uri",
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / client_confirmation
      Removed value: -{
      -  "description": "consent_confirmation filled in the client language; say it to the client.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / correction_or_cancellation
      Removed value: -{
      -  "description": "mailto link to correct or withdraw; give it to the client.",
      -  "format": "uri",
      -  "type": "string"
      -}
    • removedOutput schema / properties / email_sent
      Removed value: -{
      -  "const": true,
      -  "description": "Provider acceptance; not inbox delivery or a contract."
      -}
    • removedOutput schema / properties / expected_contact_channel
      Removed value: -{
      -  "enum": [
      -    "email",
      -    "phone",
      -    "email_or_phone"
      -  ],
      -  "type": "string"
      -}
    • removedOutput schema / properties / expected_contact_channel_label
      Removed value: -{
      -  "description": "expected_contact_channel in the client language.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / follow_up_by
      Removed value: -{
      -  "const": "Swiss Premium Insurance"
      -}
    • removedOutput schema / properties / message
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / recipient
      Removed value: -{
      -  "const": "contact@sp-insurance.ch"
      -}
    • addedOutput schema / properties / reference
      Added value: +{
      +  "description": "The request_id of this request.",
      +  "type": "string"
      +}
    • removedOutput schema / properties / request_id
      Removed value: -{
      -  "format": "uuid",
      -  "type": "string"
      -}
    • addedOutput schema / properties / sent_to
      Added value: +{
      +  "type": "string"
      +}
    • 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"
      +]
    • addedOutput schema / properties / this_cancels_the_current_insurance
      Added value: +{
      +  "const": false
      +}
    • addedOutput schema / properties / this_is_an_insurance_contract
      Added value: +{
      +  "const": false
      +}
    • addedOutput schema / properties / to_correct_or_withdraw
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / what_happens_next
      Added 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",
      -  "request_id",
      -  "email_sent",
      -  "recipient",
      -  "accepted_at",
      -  "follow_up_by",
      -  "message"
      -]New value: +[
      +  "status",
      +  "reference",
      +  "sent_to"
      +]
  2. Changed4 schema fields changed
    • addedInput schema / properties / agent / properties / kind / description
      Added value: +"Optional. Accepted values: personal_assistant, conversational_assistant, coding_agent (personal_agent and chat_assistant are read as personal_assistant and conversational_assistant)."
    • addedOutput schema / properties / client_confirmation
      Added value: +{
      +  "description": "consent_confirmation filled in the client language; say it to the client.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / expected_contact_channel_label
      Added value: +{
      +  "description": "expected_contact_channel in the client language.",
      +  "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"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior5/5

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

The description discloses the external email side effect, the meaning and limits of the returned receipt, and that the receipt is neither an insurance contract nor a cancellation of current insurance. It also explains the 24-hour idempotency behavior, which is valuable beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short, front-loaded with the action, and each sentence carries useful information: purpose, inputs, receipt semantics, legal caveat, and idempotency. There is no wasted wording.

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 mutation tool with nested objects, annotations, and an output schema, the description covers the operation, consent requirement, external email effect, receipt meaning, and idempotency. The remaining parameter details are fully handled by the rich 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?

The schema has 100% description coverage and already documents all parameters, including nested contact details, consent, language, and offer/insurer identifiers. The description only restates the required inputs at a high level and adds no syntax or edge-case meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: sending a contact request by email to Swiss Premium Insurance on behalf of a person who asked to be contacted. It does not explicitly distinguish this tool from siblings such as test_adviser_request or create_adviser_handoff_link, so it stops short of a 5.

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 gives clear usage context: the person asked to be contacted about an offer, and the request is sent on their behalf. It does not state when not to use the tool or name alternative tools, so it lacks the explicit routing guidance that would earn a 5.

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