Skip to main content
Glama
karnameh-mcp

karnameh-mcp

by sepehr071

New-car market prices

kn_price_list
Read-onlyIdempotent

List today's market prices for new zero-km cars by brand, model, year, origin, or price range, returning each variant in Toman for quick price checks.

Instructions

List today's market prices of new (zero-km) cars from Karnameh's car-price pages.

Use for "how much is a new X". Each row is a variant and production year, in Toman. Older variants (Pars, 405) are only in kn_latest_prices. For trends call kn_price_history with a row's name.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "kn_price_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage of 10 model groups.
yearNoProduction year (Persian, 1405).
brandNoEnglish brand, e.g. Peugeot, Toyota.
modelNoEnglish model, e.g. 207i.
originNoIranian-made or imported.
searchNoPersian free text, e.g. سمند.
countryNoChina, Iran, Japan, Korea, German, France or Italia.
max_priceNoMaximum price, Toman.
min_priceNoMinimum price, Toman.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed30 schema fields changedv0.2.0
    • removedInput schema / properties / brand / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / brand / description
      Previous value: -"English brand name as in the price list, e.g. Peugeot, Toyota, Changan."New value: +"English brand, e.g. Peugeot, Toyota."
    • addedInput schema / properties / brand / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / country / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / country / description
      Previous value: -"Country of manufacture in English: China, Iran, Japan, Korea, German, France or Italia."New value: +"China, Iran, Japan, Korea, German, France or Italia."
    • addedInput schema / properties / country / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / max_price / anyOf
      Removed value: -[
      -  {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / max_price / description
      Previous value: -"Maximum market price, Toman."New value: +"Maximum price, Toman."
    • addedInput schema / properties / max_price / minimum
      Added value: +0
    • addedInput schema / properties / max_price / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • removedInput schema / properties / min_price / anyOf
      Removed value: -[
      -  {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / min_price / description
      Previous value: -"Minimum market price, Toman."New value: +"Minimum price, Toman."
    • addedInput schema / properties / min_price / minimum
      Added value: +0
    • addedInput schema / properties / min_price / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • removedInput schema / properties / model / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / model / description
      Previous value: -"English model name within the brand, e.g. 207i."New value: +"English model, e.g. 207i."
    • addedInput schema / properties / model / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / origin / anyOf
      Removed value: -[
      -  {
      -    "enum": [
      -      "domestic",
      -      "foreign"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / origin / description
      Previous value: -"Iranian-made or imported cars."New value: +"Iranian-made or imported."
    • addedInput schema / properties / origin / enum
      Added value: +[
      +  "domestic",
      +  "foreign",
      +  null
      +]
    • addedInput schema / properties / origin / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / page / description
      Previous value: -"Page of 10 model groups; the answer says how many pages exist."New value: +"Page of 10 model groups."
    • removedInput schema / properties / search / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / search / description
      Previous value: -"Free text in Persian, e.g. سمند."New value: +"Persian free text, e.g. سمند."
    • addedInput schema / properties / search / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / year / anyOf
      Removed value: -[
      -  {
      -    "maximum": 1450,
      -    "minimum": 1380,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / year / description
      Previous value: -"Only this production year (Persian, e.g. 1405)."New value: +"Production year (Persian, 1405)."
    • addedInput schema / properties / year / maximum
      Added value: +1450
    • addedInput schema / properties / year / minimum
      Added value: +1380
    • addedInput schema / properties / year / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
  2. First observedv0.1.1

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 safety is covered. The description's real contribution is a coverage caveat — older variants (Pars, 405) are absent — plus the row shape and Toman units, which prevent an agent from concluding "no results" means "doesn't exist". It stops short of noting freshness/pagination limits beyond what the schema shows.

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 sentences, front-loaded with the purpose, then the use case, then the sibling boundaries. No restatement of the title and 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 a 9-parameter, zero-required, no-output-schema tool, the description covers purpose, scope limits, row structure and alternatives — enough to call it correctly. Missing only a note on result volume/pagination behavior across the 10-model-group pages, which matters for a broad unfiltered query.

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 100% and the schema already explains page size, Persian year, English brand/model, origin enum, Persian free text, and Toman price bounds. The description adds essentially nothing on how `brand` vs `model` vs `search` vs `country` interact, which is the one genuinely ambiguous area. Baseline 3 applies.

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 (list today's market prices of new/zero-km cars) and pins the source (Karnameh's car-price pages). It also notes the row granularity (variant + production year, in Toman), so an agent knows exactly what unit of data comes back.

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

Usage Guidelines5/5

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

Gives an explicit trigger ("Use for 'how much is a new X'") and names two alternatives with the conditions that select them: kn_latest_prices for older variants like Pars/405, and kn_price_history for trends using a row's `name`. This is routing-level guidance, not just context.

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