Skip to main content
Glama
iran-insurance-mcp

iran-insurance-mcp

by sepehr071

Quote car body insurance

ins_quote_car_body
Read-onlyIdempotent

Compare live car body insurance quotes from Iranian insurers, sorted cheapest first. Provide brand, model, production year, and car value to get comparable prices.

Instructions

Get live car body (بدنه) insurance prices from every insurer, cheapest first.

BimeBazar only. Needs a model from ins_vehicles; for car_value use ins_azki_car_value or the user's figure.

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_model": "<car_model>",
      "car_production_year": "<car_production_year>",
      "car_value": "<car_value>"
    },
    "name": "ins_quote_car_body"
  }
}

Input Schema

NameRequiredDescriptionDefault
car_brandYesBrand value from ins_vehicles, e.g. 'car_kia'.
car_modelYesModel value from ins_vehicles, e.g. 'car_kia_optima-jf'.
car_usageNoPrivate or agency.passenger
car_valueYesCar market value in Toman (minimum 50000000).
previous_companyNourl_name from ins_insurers, e.g. 'iran'.
accessories_valueNoAccessories in Toman.
car_production_yearYesProduction year, Jalali.
had_previous_policyNoHad a body policy before (only false verified).
previous_policy_endNoJalali YYYY-MM-DD.
years_without_claimNoClaim-free years on the old policy (-1 = paid a claim, 0 = none).
third_party_discount_yearsNoThird-party no-claim years.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed20 schema fields changedv0.2.0
    • changedInput schema / properties / accessories_value / description
      Previous value: -"Value of non-factory accessories in Toman, 0 if none."New value: +"Accessories in Toman."
    • changedInput schema / properties / car_brand / description
      Previous value: -"Brand value from ins_vehicles (bimebazar), e.g. 'car_kia'."New value: +"Brand value from ins_vehicles, e.g. 'car_kia'."
    • changedInput schema / properties / car_model / description
      Previous value: -"Model value from ins_vehicles (bimebazar), e.g. 'car_kia_optima-jf'. A model the site does not know returns no offers."New value: +"Model value from ins_vehicles, e.g. 'car_kia_optima-jf'."
    • changedInput schema / properties / car_production_year / description
      Previous value: -"Production year, Jalali (e.g. 1402)."New value: +"Production year, Jalali."
    • changedInput schema / properties / car_usage / description
      Previous value: -"Private or agency car."New value: +"Private or agency."
    • changedInput schema / properties / car_value / description
      Previous value: -"Market value of the car in Toman (site minimum 50000000)."New value: +"Car market value in Toman (minimum 50000000)."
    • changedInput schema / properties / had_previous_policy / description
      Previous value: -"The car had a body policy before. UNCONFIRMED: only false was verified live."New value: +"Had a body policy before (only false verified)."
    • 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"
      +]
    • removedInput schema / properties / previous_policy_end / anyOf
      Removed value: -[
      -  {
      -    "pattern": "^1[34]\\d\\d-\\d\\d-\\d\\d$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / previous_policy_end / description
      Previous value: -"Jalali date YYYY-MM-DD, e.g. 1404-09-10."New value: +"Jalali YYYY-MM-DD."
    • addedInput schema / properties / previous_policy_end / pattern
      Added value: +"^1[34]\\d\\d-\\d\\d-\\d\\d$"
    • addedInput schema / properties / previous_policy_end / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / third_party_discount_years / description
      Previous value: -"Years of third-party no-claim discount (the site asks for it)."New value: +"Third-party no-claim years."
    • removedInput schema / properties / years_without_claim / anyOf
      Removed value: -[
      -  {
      -    "maximum": 9,
      -    "minimum": -1,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / years_without_claim / description
      Previous value: -"Claim-free years on the old body policy (-1 = it paid a claim, 0 = no discount)."New value: +"Claim-free years on the old policy (-1 = paid a claim, 0 = none)."
    • addedInput schema / properties / years_without_claim / maximum
      Added value: +9
    • addedInput schema / properties / years_without_claim / minimum
      Added value: +-1
    • addedInput schema / properties / years_without_claim / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
  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 declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real value beyond that: live external pricing across all insurers, sorted cheapest-first output, and a dependency on a prior lookup. Minor ambiguity remains around the phrase 'BimeBazar only' (scope of availability vs. scope of results) and nothing is said about latency or failures.

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 sentences, front-loaded with the purpose and the ordering guarantee, then the prerequisite chain. Every clause carries information; nothing is repeated from the schema or annotations.

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 an 11-parameter, 4-required quoting tool, the definition covers the essential calling preconditions and output ordering. With no output schema present, a brief note on the response shape (list of quotes with insurer identity) would have closed the last gap.

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 description coverage is 100%, so baseline is 3; the description goes slightly beyond by telling the agent where to source car_value (ins_azki_car_value or the user's own figure), which the schema does not say. It adds nothing for the seven optional parameters, which the schema already documents thoroughly.

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

Purpose5/5

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

The description gives a specific verb and resource ('Get live car body (بدنه) insurance prices'), plus a result-ordering property ('cheapest first') and coverage scope ('from every insurer'). The resource is precise enough to separate it from ins_quote_third_party, ins_quote_motorcycle, ins_quote_fire, ins_quote_health and ins_quote_travel without opening any schema.

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

Usage Guidelines4/5

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

It states prerequisites and routes the agent to the right helper tools: a model must come from ins_vehicles and car_value can come from ins_azki_car_value. The only gap is the absence of an explicit 'when not to use' rule (e.g. use ins_quote_third_party for liability-only cover), though the resource name implies it.

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