Skip to main content
Glama
hamrah-mechanic-mcp

hamrah-mechanic-mcp

by sepehr071

Car market prices

hm_prices
Read-onlyIdempotent

Retrieve daily Iranian car market prices by brand, model, trim, and year, with used and zero-km price ranges from Hamrah Mechanic listings.

Instructions

Get today's market (used and zero-km) prices of cars from Hamrah Mechanic's daily price list.

Brand only: one line per model (price range, years, trims). With model: each trim and year. With model and year: that year's trims. Take type_id from rows to call hm_price_estimate.

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": {
      "brand": "<brand>"
    },
    "name": "hm_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoModel year; needs `model`.
brandYesBrand slug from hm_brands, e.g. kia, saipa.
limitNoMost rows returned.
modelNoModel slug. Omit for the whole brand.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.0
    • changedInput schema / properties / brand / description
      Previous value: -"Brand slug from hm_brands, e.g. kia, saipa, irankhodro."New value: +"Brand slug from hm_brands, e.g. kia, saipa."
    • changedInput schema / properties / limit / description
      Previous value: -"Most rows returned for a brand or model."New value: +"Most rows returned."
    • changedInput schema / properties / model / description
      Previous value: -"Model slug (from hm_models, or `model` in a brand listing). Omit for the whole brand."New value: +"Model slug. Omit for the whole brand."
    • changedInput schema / properties / year / description
      Previous value: -"Model year; needs `model`. Gives the price of every trim of that year."New value: +"Model year; needs `model`."
  2. First observedv0.1.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, open-world behavior, so the bar is lower. The description still adds real value: it discloses that prices are a daily snapshot, that result granularity changes with the parameters supplied, and that rows carry a type_id that feeds another call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first sentence and the granularity rules follow in tight conditional clauses with no filler. The telegraphic fragments ('With model and year: that year's trims.') are efficient but slightly clipped.

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?

With no output schema, the description usefully sketches the return shape at each granularity level and points at the field (type_id) needed for the follow-on call. It omits pagination/limit behavior and currency/units, which an agent might still need.

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 a baseline of 3 applies, but the description goes beyond per-parameter definitions by explaining how brand/model/year compose and what each combination returns. It says nothing about the limit parameter, which is the one gap.

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 names a specific verb and resource ('Get today's market prices of cars') and pins the source ('Hamrah Mechanic's daily price list'), plus the scope ('used and zero-km'). It is clearly distinct from the estimate sibling (hm_price_estimate) and the historical sibling (hm_price_history).

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 explicit progressive-provision guidance: brand alone yields one line per model, adding model yields each trim/year, adding year yields that year's trims. It also routes the agent onward to hm_price_estimate via type_id. It stops short of stating when to prefer hm_price_history or hm_price_list over this tool.

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