Skip to main content
Glama
iran-insurance-mcp

iran-insurance-mcp

by sepehr071

Quote fire insurance

ins_quote_fire
Read-onlyIdempotent

Fetch live home fire insurance quotes from Iranian insurers, ordered cheapest first, using province, city, building details, area, and optional contents or perils.

Instructions

Get live home fire insurance (آتش‌سوزی) prices from every insurer, cheapest first.

BimeBazar only. Get province and city from ins_places first. Prices the building at cost_per_m2 x area plus optional contents and perils.

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": {
      "province": "<province>",
      "city": "<city>",
      "building_type": "<building_type>",
      "structure": "<structure>",
      "building_year": "<building_year>",
      "area_m2": "<area_m2>"
    },
    "name": "ins_quote_fire"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesCity value from ins_places, e.g. 'tehran'.
coversNoExtra perils; all nine at once returns no offers.
area_m2YesFloor area in square metres.
provinceYesProvince value from ins_places, e.g. 'tehran'.
structureYesBuilding frame.
cost_per_m2NoRebuild cost per m2 in Toman (site minimum 10000000).
building_typeYesComplex needs apartment_count.
building_yearYesYear built, Jalali.
contents_valueNoContents value in Toman.
apartment_countNoUnits, for building_type='complex'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changedv0.2.0
    • removedInput schema / properties / apartment_count / anyOf
      Removed value: -[
      -  {
      -    "maximum": 10000,
      -    "minimum": 1,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / apartment_count / description
      Previous value: -"Units in the complex, only for building_type='complex'."New value: +"Units, for building_type='complex'."
    • addedInput schema / properties / apartment_count / maximum
      Added value: +10000
    • addedInput schema / properties / apartment_count / minimum
      Added value: +1
    • addedInput schema / properties / apartment_count / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • changedInput schema / properties / area_m2 / description
      Previous value: -"Floor area in square metres (9 to 100000)."New value: +"Floor area in square metres."
    • changedInput schema / properties / building_type / description
      Previous value: -"Apartment unit, house, or residential complex (then give apartment_count)."New value: +"Complex needs apartment_count."
    • changedInput schema / properties / city / description
      Previous value: -"City value from ins_places (BimeBazar name), e.g. 'tehran'."New value: +"City value from ins_places, e.g. 'tehran'."
    • changedInput schema / properties / contents_value / description
      Previous value: -"Value of household contents to insure in Toman, 0 for none."New value: +"Contents value in Toman."
    • changedInput schema / properties / cost_per_m2 / description
      Previous value: -"Rebuild cost per square metre in Toman; the site's minimum is 10000000 (answers list the choices)."New value: +"Rebuild cost per m2 in Toman (site minimum 10000000)."
    • changedInput schema / properties / covers / description
      Previous value: -"Extra perils. The site suggests earthquake and rain_snow_damage. All nine at once returned no offers."New value: +"Extra perils; all nine at once returns no offers."
    • changedInput schema / properties / province / description
      Previous value: -"Province value from ins_places (BimeBazar name), e.g. 'tehran'."New value: +"Province value from ins_places, e.g. 'tehran'."
    • changedInput schema / properties / structure / description
      Previous value: -"Building frame: steel, concrete, brick, or built to code 2800."New value: +"Building frame."
  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 behavioral value beyond that: results are live quotes ranked cheapest-first, and the underlying pricing model is cost_per_m2 × area plus optional contents and perils. It does not disclose the empty-result or failure conditions (e.g. all-nine-perils yields no offers lives only in the schema).

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?

Four short lines with the headline capability front-loaded, then the platform and prerequisite constraints, then the pricing formula. Every sentence adds information an agent needs, and nothing is repeated from the 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 10-parameter, 6-required quoting tool with no output schema, the description covers the pricing inputs and result ordering an agent needs to call it sensibly. It leaves the returned offer structure implicit ('prices from every insurer') and omits the empty-result condition, which is the main remaining 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 the baseline is 3; the description earns above that by explaining the relationship between cost_per_m2 and area_m2 and that contents and perils are optional add-ons to the price. It doesn't note the 'complex' → apartment_count dependency, which remains schema-only.

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 home fire insurance prices from every insurer' — plus the Persian term (آتش‌سوزی) and the result ordering. This clearly separates it from ins_quote_health, ins_quote_travel, and ins_quote_car_body in the sibling list.

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 a concrete prerequisite chain ('Get province and city from ins_places first') and a platform constraint ('BimeBazar only'), which tells the agent when this tool is valid. It stops short of explicit when-not guidance (e.g. what to use if the user is not on BimeBazar or wants non-fire cover).

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