Skip to main content
Glama
iran-insurance-mcp

iran-insurance-mcp

by sepehr071

Quote motorcycle third-party insurance

ins_quote_motorcycle
Read-onlyIdempotent

Compare live motorcycle third-party insurance quotes from all Iranian insurers, sorted by price from low to high, by motorcycle type and production year.

Instructions

Get live motorcycle third-party insurance prices from every insurer, cheapest first.

BimeBazar only. ins_vehicles is not needed; ins_insurers gives previous_company. Prices are Toman for the whole term.

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": {
      "motor_type": "<motor_type>",
      "production_year": "<production_year>"
    },
    "name": "ins_quote_motorcycle"
  }
}

Input Schema

NameRequiredDescriptionDefault
had_claimNo
motor_typeYesMotorcycle class.
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
production_yearYesProduction year, Jalali.
previous_companyNourl_name from ins_insurers, e.g. 'iran'.
last_policy_startNoJalali YYYY-MM-DD.
financial_coverageNoCover in Toman, from financial_coverages.
policy_term_monthsNoMonths.
third_party_discountNoOld-policy discount fraction (0.1 = 10%).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changedv0.2.0
    • 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: -"Cover in Toman from the financial_coverages in the answer. Omit for the site default."New value: +"Cover in Toman, from financial_coverages."
    • addedInput schema / properties / financial_coverage / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • 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 / motor_type / description
      Previous value: -"Motorcycle class: electric, single cylinder, two or more cylinders, three-wheeler."New value: +"Motorcycle class."
    • 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%)."
  2. First observedv0.1.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint false, openWorldHint true), so the description only needs to add context — and it does: results are live across all insurers and pre-sorted cheapest first, prices are in Toman, and quoted for the whole term. The ordering and currency/term semantics are the kind of detail annotations cannot express. It does not describe pagination limits or what happens when an insurer fails to respond, which keeps it off 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?

Three short lines: what it returns first, then prerequisite routing, then units. Every clause carries information an agent would otherwise have to infer or discover by error, and there is no filler.

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 quote tool with no output schema, the description supplies the missing return-value semantics — a sorted price list, in Toman, per term — plus the dependency routing for optional fields. It leaves the caller to rely on the schema for the conditional requirement that 'yes' needs previous_company plus dates and discounts, which is documented but not reinforced in prose.

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 description coverage is 91%, so enums, Jalali date patterns, and discount bounds are already documented. The description adds only indirect parameter value — pointing previous_company at ins_insurers and confirming ins_vehicles is unnecessary — while repeating that prices are in Toman. That is a modest supplement over an already-complete schema, matching the 3 baseline.

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 opening sentence names a specific verb and resource ("Get live motorcycle third-party insurance prices") plus the scope ("every insurer, cheapest first"). The motorcycle qualifier cleanly separates it from siblings like ins_quote_third_party and ins_quote_car_body without needing to open 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 gives real routing guidance: a platform constraint ("BimeBazar only"), an explicit dismissal of a sibling that an agent might otherwise call first ("ins_vehicles is not needed"), and the correct source for a dependent argument ("ins_insurers gives previous_company"). It stops short of stating when the motorcycle quote is inappropriate versus the generic third-party quote, but the resource naming makes that largely self-evident.

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