Skip to main content
Glama
bama-ir-mcp

bama-ir-mcp

by sepehr071

Dealers selling a model

ba_dealers
Read-onlyIdempotent

Find car dealers and showrooms with matching ads for a vehicle model or region, including address, rating, and ad counts to compare inventory.

Instructions

List car dealers (showrooms) with ads for a model or city on Bama, with address, rating and how many ads match.

Scans the first pages of dealer-only ads. Then ba_dealer_ads for one showroom or ba_search seller=dealer.

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

Input Schema

NameRequiredDescriptionDefault
pagesNoPages to scan (30 ads each).
regionNoba_filters kind=region values.
vehicleNoValues from ba_vehicles: brand, brand,model or brand,model,trim, e.g. ['samand,lx']. Several = any.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv0.2.0
    • changedInput schema / properties / pages / description
      Previous value: -"Result pages to scan (30 ads each)."New value: +"Pages to scan (30 ads each)."
    • removedInput schema / properties / region / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "maxItems": 10,
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / region / description
      Previous value: -"State or city values from ba_filters kind=region."New value: +"ba_filters kind=region values."
    • addedInput schema / properties / region / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / region / maxItems
      Added value: +10
    • addedInput schema / properties / region / type
      Added value: +[
      +  "array",
      +  "null"
      +]
    • removedInput schema / properties / vehicle / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "maxItems": 10,
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / vehicle / description
      Previous value: -"Brand, model or trim values from ba_vehicles, e.g. ['samand'], ['samand,lx'], ['peugeot,206ir,type2']. Several values mean any of them."New value: +"Values from ba_vehicles: brand, brand,model or brand,model,trim, e.g. ['samand,lx']. Several = any."
    • addedInput schema / properties / vehicle / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / vehicle / maxItems
      Added value: +10
    • addedInput schema / properties / vehicle / type
      Added value: +[
      +  "array",
      +  "null"
      +]
  2. First observedv0.1.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so safety is covered. The description adds genuinely new context the annotations do not: results come from scanning only the first pages of dealer-only ads, so the dealer set is partial rather than exhaustive — an important caveat for interpreting results.

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?

Two short sentences, front-loaded with the verb and output fields, with no wasted wording. The second sentence is a telegraphic fragment that reads slightly tersely, but it earns its place by routing to alternatives.

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 read-only listing tool with three optional parameters, full schema coverage, and no output schema, the description covers what it returns, the sampling limitation, and the alternatives. Nothing critical to correct invocation is missing.

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 coverage is 100%, so pages, region and vehicle are already fully documented, and the description adds little beyond loosely implying a model/city filter. The phrase "scans the first pages" echoes the pages parameter's meaning but gives no extra format or interaction detail.

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 car dealers (showrooms) with ads") plus the scoping dimensions (model or city) and the returned fields (address, rating, matching ad count). It also names the sibling tools it is not (ba_dealer_ads, ba_search), so an agent can distinguish it without opening another 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?

The second sentence routes the agent explicitly: ba_dealer_ads for a single showroom, ba_search with seller=dealer for broader dealer ad searches. That is clear alternative guidance, though there is no explicit statement of when this tool is a poor choice or what happens when no dealers match.

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