Skip to main content
Glama
bama-ir-mcp

bama-ir-mcp

by sepehr071

Brands, models and trims

ba_vehicles
Read-onlyIdempotent

Find valid Bama brand, model, and trim values for vehicle searches, market statistics, and price lookups; use a name query or list a brand's models and trims.

Instructions

Look up the brand, model and trim values that ba_search, ba_market_stats and ba_new_prices take.

query finds matches (up to 25); brand lists its models and trims; neither lists all brands. Values look like 'samand', 'samand,lx', 'peugeot,206ir,type2'. vehicle_type motorcycle/truck feeds ba_search_bikes_trucks.

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_vehicles"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandNoBrand value, e.g. 'peugeot': lists its models and trims.
queryNoBrand/model/trim name, Persian or English, e.g. 'پژو 206'.
vehicle_typeNoSection.car

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.2.0
    • removedInput schema / properties / brand / anyOf
      Removed value: -[
      -  {
      -    "maxLength": 40,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / brand / description
      Previous value: -"A brand value, e.g. 'peugeot': lists all its models and trims."New value: +"Brand value, e.g. 'peugeot': lists its models and trims."
    • addedInput schema / properties / brand / maxLength
      Added value: +40
    • addedInput schema / properties / brand / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / query / anyOf
      Removed value: -[
      -  {
      -    "maxLength": 60,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / query / description
      Previous value: -"Brand, model or trim name in Persian or English, e.g. 'پژو 206', 'samand', 'soren'."New value: +"Brand/model/trim name, Persian or English, e.g. 'پژو 206'."
    • addedInput schema / properties / query / maxLength
      Added value: +60
    • addedInput schema / properties / query / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / vehicle_type / description
      Previous value: -"Section to look in (default car)."New value: +"Section."
  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 declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely non-obvious behavior: query caps at 25 matches, brand expands to models and trims rather than returning brands, and neither mode enumerates the full brand list. Those are the traits an agent would otherwise learn only by probing.

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?

Front-loads the core purpose in the first sentence, then a compact second block covering the two modes and the value format. Dense but every clause carries information; the line break before the mode explanation is slightly awkward but not wasteful.

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 correctly takes on the burden of describing return shape: matches capped at 25 and comma-delimited value strings such as 'samand,lx'. For a three-parameter, optional-parameter lookup tool with full annotation coverage this is close to sufficient; only failure/empty-result behavior is unaddressed.

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 baseline is 3, but the description earns more by explaining the semantic difference between the two lookup parameters (query = fuzzy match, brand = expansion into models/trims) and by showing canonical value shapes like 'peugeot,206ir,type2'. The vehicle_type routing to ba_search_bikes_trucks also gives section selection meaning beyond the enum labels.

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?

Opens with a specific verb and resource and states the exact role: resolving brand/model/trim values consumed by ba_search, ba_market_stats and ba_new_prices. It further differentiates its two internal modes (query vs brand) and names ba_search_bikes_trucks as the consumer of the motorcycle/truck section, so an agent can place it precisely among the eleven siblings.

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 clear routing: use this to obtain valid values before calling the three named search/stats/price tools, and use vehicle_type motorcycle/truck to feed ba_search_bikes_trucks. The caveat 'neither lists all brands' tells the agent not to expect exhaustive enumeration, which shapes fallback behavior. It stops short of an explicit when-not-to-use or what to do if a lookup misses.

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