Skip to main content
Glama
bama-ir-mcp

bama-ir-mcp

by sepehr071

New-car price list

ba_price_list
Read-onlyIdempotent

Search and rank Bama's daily new car and motorcycle price list by brand, cheapest, or biggest price change, with filters for model, vehicle type, and price provider.

Instructions

Search Bama's daily price list of new cars (or motorcycles) across all brands and rank it.

Each row is one trim, year and price type: Toman price and change since the last quote. Use sort for "cheapest" or "biggest_rise". One model's history: ba_new_prices; specs: ba_car_specs.

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": "ba_price_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNobrand
limitNoMost rows to return.
searchNoBrand/model/trim words, English or Persian, e.g. 'tiggo'.
importedNoTrue = imported/assembled; False = domestic.
price_typeNoOnly this price provider.
vehicle_typeNocar

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changedv0.2.0
    • removedInput schema / properties / imported / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / imported / description
      Previous value: -"True = imported and assembled cars; False = domestic."New value: +"True = imported/assembled; False = domestic."
    • addedInput schema / properties / imported / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
    • removedInput schema / properties / price_type / anyOf
      Removed value: -[
      -  {
      -    "enum": [
      -      "market",
      -      "agency",
      -      "factory"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / price_type / description
      Previous value: -"Only market (free-market), agency (dealer) or factory prices."New value: +"Only this price provider."
    • addedInput schema / properties / price_type / enum
      Added value: +[
      +  "market",
      +  "agency",
      +  "factory",
      +  null
      +]
    • addedInput schema / properties / price_type / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / search / anyOf
      Removed value: -[
      -  {
      -    "maxLength": 40,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / search / description
      Previous value: -"Brand, model or trim words in English or Persian, e.g. 'soren', 'tiggo'."New value: +"Brand/model/trim words, English or Persian, e.g. 'tiggo'."
    • addedInput schema / properties / search / maxLength
      Added value: +40
    • addedInput schema / properties / search / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / vehicle_type / description
      Removed value: -"Price list to read."
  2. First observedv0.1.1

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered; the description usefully adds that the list is 'daily' and that each row carries a Toman price plus change since the last quote, which is exactly the behavior an agent needs to interpret results. It says nothing about result volume or pagination behavior, which is the remaining gap relative to the 150-row cap.

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: purpose first, then row semantics, then sort guidance and sibling pointers. Nothing is repeated from the schema and no sentence is 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?

With no output schema, the description does most of the work by explaining the row shape and the price/change fields, which is the key return-value information. It does not mention how the limit interacts with ranking (whether sorting happens before truncation), a minor but real omission for a ranked-list tool.

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?

At 67% schema coverage the baseline is 3. The description does clarify row granularity ('one trim, year and price type') and the meaning of the change column, which makes the rise/drop sort values interpretable, but it leaves the price_type enum values (market/agency/factory) and the imported flag to the schema.

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 opens with a specific verb and resource ('Search Bama's daily price list of new cars (or motorcycles)') and states the scope ('across all brands'), then explicitly routes two adjacent needs to sibling tools ('One model's history: ba_new_prices; specs: ba_car_specs'). An agent can tell this apart from ba_vehicles and ba_new_prices without reading either 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 concrete when-to-use signals via 'Use sort for "cheapest" or "biggest_rise"' and names the alternatives for history and spec lookups. It stops short of stating when NOT to use this tool (e.g. vs. ba_search or ba_vehicles for broader queries), so it is clear context rather than full exclusion guidance.

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