Skip to main content
Glama
iran-insurance-mcp

iran-insurance-mcp

by sepehr071

Quote third-party car insurance

ins_quote_third_party
Read-onlyIdempotent

Fetch live third-party car insurance quotes from all BimeBazar insurers, cheapest first, to compare prices by vehicle, coverage, and policy term.

Instructions

Get live third-party (شخص ثالث) car insurance prices from every insurer BimeBazar sells, cheapest first.

BimeBazar only. Call ins_vehicles first for brand/model values, ins_insurers for previous_company. Prices are Toman for the whole term; no personal data needed.

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": {
      "car_brand": "<car_brand>",
      "car_production_year": "<car_production_year>"
    },
    "name": "ins_quote_third_party"
  }
}

Input Schema

NameRequiredDescriptionDefault
car_brandYesBrand value from ins_vehicles, e.g. 'car_peugeot'.
car_modelNoModel value from ins_vehicles, e.g. 'car_peugeot_206-type2'; omit if the brand has none.
car_usageNoOther vehicle types use passenger.passenger
had_claimNoThe previous policy paid a claim.
vehicle_typeNoOnly car is verified.car
driver_discountNoOld-policy discount fraction (0.1 = 10%).
last_policy_endNoJalali YYYY-MM-DD.
previous_policyNo'yes' needs previous_company, last_policy_start, last_policy_end (and the discounts).none
previous_companyNourl_name from ins_insurers, e.g. 'iran'.
last_policy_startNoJalali YYYY-MM-DD.
financial_coverageNoCover in Toman, from financial_coverages in the answer.
policy_term_monthsNoMonths.
car_production_yearYesProduction year, Jalali.
third_party_discountNoOld-policy discount fraction (0.1 = 10%).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed26 schema fields changedv0.2.0
    • changedInput schema / properties / car_brand / description
      Previous value: -"Brand value from ins_vehicles (bimebazar), e.g. 'car_pride', 'car_peugeot'."New value: +"Brand value from ins_vehicles, e.g. 'car_peugeot'."
    • removedInput schema / properties / car_model / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / car_model / description
      Previous value: -"Model value from ins_vehicles (bimebazar), e.g. 'car_peugeot_206-type2'. Omit for brands without models (pride)."New value: +"Model value from ins_vehicles, e.g. 'car_peugeot_206-type2'; omit if the brand has none."
    • addedInput schema / properties / car_model / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / car_production_year / description
      Previous value: -"Production year, Jalali (e.g. 1400)."New value: +"Production year, Jalali."
    • changedInput schema / properties / car_usage / description
      Previous value: -"Use of a car; other vehicle types use passenger."New value: +"Other vehicle types use passenger."
    • changedInput schema / properties / driver_discount / description
      Previous value: -"Discount fraction on the old policy, 0 to 0.7 (0.1 = 10%)."New value: +"Old-policy discount fraction (0.1 = 10%)."
    • removedInput schema / properties / financial_coverage / anyOf
      Removed value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / financial_coverage / description
      Previous value: -"Property-damage cover in Toman, one of the financial_coverages in the answer, e.g. 100000000. Omit for the site default."New value: +"Cover in Toman, from financial_coverages in the answer."
    • addedInput schema / properties / financial_coverage / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • changedInput schema / properties / had_claim / description
      Previous value: -"The previous policy paid a claim (the discount then usually resets)."New value: +"The previous policy paid a claim."
    • removedInput schema / properties / last_policy_end / anyOf
      Removed value: -[
      -  {
      -    "pattern": "^1[34]\\d\\d-\\d\\d-\\d\\d$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / last_policy_end / description
      Previous value: -"Jalali date YYYY-MM-DD, e.g. 1404-09-10."New value: +"Jalali YYYY-MM-DD."
    • addedInput schema / properties / last_policy_end / pattern
      Added value: +"^1[34]\\d\\d-\\d\\d-\\d\\d$"
    • addedInput schema / properties / last_policy_end / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / last_policy_start / anyOf
      Removed value: -[
      -  {
      -    "pattern": "^1[34]\\d\\d-\\d\\d-\\d\\d$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / last_policy_start / description
      Previous value: -"Jalali date YYYY-MM-DD, e.g. 1404-09-10."New value: +"Jalali YYYY-MM-DD."
    • addedInput schema / properties / last_policy_start / pattern
      Added value: +"^1[34]\\d\\d-\\d\\d-\\d\\d$"
    • addedInput schema / properties / last_policy_start / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / policy_term_months / description
      Previous value: -"Policy length in months."New value: +"Months."
    • removedInput schema / properties / previous_company / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / previous_company / description
      Previous value: -"Previous insurer value from ins_insurers (BimeBazar url_name), e.g. 'iran', 'asia', 'saman'."New value: +"url_name from ins_insurers, e.g. 'iran'."
    • addedInput schema / properties / previous_company / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / previous_policy / description
      Previous value: -"'none': the vehicle never had this insurance (cheapest-to-compute, no discount). 'yes': it had a policy; then also give previous_company, last_policy_start, last_policy_end and the two discounts."New value: +"'yes' needs previous_company, last_policy_start, last_policy_end (and the discounts)."
    • changedInput schema / properties / third_party_discount / description
      Previous value: -"Discount fraction on the old policy, 0 to 0.7 (0.1 = 10%)."New value: +"Old-policy discount fraction (0.1 = 10%)."
    • changedInput schema / properties / vehicle_type / description
      Previous value: -"car = ordinary car (verified). Others are UNCONFIRMED."New value: +"Only car is verified."
  2. First observedv0.1.2

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, open-world), so the description's added value is what it discloses beyond them: results are live quotes across all insurers, sorted cheapest first, priced in Toman for the whole term, and no personal data is required. It doesn't cover failure modes (e.g. unverified vehicle_type) or result count, so not a 5.

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?

Two short blocks, front-loaded with the outcome and the call ordering. Every clause carries information an agent needs (scope, prerequisites, currency, ordering, no PII); nothing is redundant with the title or schema.

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?

For a 14-parameter quoting tool with no output schema, the description supplies the dependency chain across tools, the currency and term basis, and the sort order of results. It stops short of describing the response shape, though the reference to 'financial_coverages in the answer' signals it exists.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds provenance the schema cannot: brand/model come from ins_vehicles, previous_company is a url_name from ins_insurers, and financial_coverage comes from financial_coverages in the answer. It also fixes the unit expectation ('Toman for the whole term'), which meaningfully constrains interpretation of money-valued params.

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

Purpose5/5

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

States a specific verb and resource ('Get live third-party car insurance prices'), plus scope ('from every insurer BimeBazar sells') and ordering ('cheapest first'). The Persian term (شخص ثالث) disambiguates it from siblings like ins_quote_car_body and ins_quote_motorcycle without needing their schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit prerequisite sequencing: call ins_vehicles first for brand/model values and ins_insurers for previous_company, and restricts scope with 'BimeBazar only'. It does not explicitly contrast with the closest sibling (ins_quote_car_body), which keeps it off a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.