Skip to main content
Glama
bama-ir-mcp

bama-ir-mcp

by sepehr071

Ad details

ba_ad
Read-onlyIdempotent

Retrieve full details for a single Bama car, motorcycle, or truck ad—including price, specs, condition, seller, description, and photos—after finding its ad code via search.

Instructions

Get one Bama ad (car, motorcycle or truck) in full: price, specs, condition, seller, description and photos.

Use after ba_search or ba_search_bikes_trucks. ads_of_same_model / ads_of_same_trim are the real live ad counts; similar_total counts Bama's wider pool. Phone numbers are not available.

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": {
      "code": "<code>"
    },
    "name": "ba_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesAd code from ba_search, e.g. 4avpuyq7.
kindNoSection; auto tries car, motorcycle, truck.auto
similarNoAlso list this many similar car ads (cars only).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • changedInput schema / properties / kind / description
      Previous value: -"Section of the ad. auto tries car, then motorcycle, then truck."New value: +"Section; auto tries car, motorcycle, truck."
    • changedInput schema / properties / similar / description
      Previous value: -"Also list this many similar car ads (0 = none). Car ads only."New value: +"Also list this many similar car ads (cars only)."
  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 and non-destructive, so the safety profile is covered. The description adds value beyond them: it discloses the phone-number exclusion and explains the semantics of the returned count fields (ads_of_same_model / ads_of_same_trim are live counts, similar_total is the wider pool). That is real behavioral context the annotations cannot express.

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 tight paragraphs with the capability statement front-loaded, followed by the prerequisite and the caveats. No filler sentences. Minor deduction because the count-fields sentence ('ads_of_same_model / ads_of_same_trim are the real live ad counts; similar_total counts Bama's wider pool') is dense and slightly ambiguous out of context.

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?

There is no output schema, so the description carries the burden of describing the return payload, and it does: it lists the main fields and covers the count fields and the phone-number gap. For a three-parameter detail lookup this is close to complete; only return shape/pagination details are left implicit.

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 code format, the kind enum fallback, and that similar is cars-only. The description restates the car/motorcycle/truck scope but adds no new syntax or constraints beyond the schema, so the baseline 3 applies. Its extra detail is aimed at output fields rather than parameters.

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 ('Get one Bama ad') plus the scope ('in full') and enumerates what comes back: price, specs, condition, seller, description, photos. The vehicle-type parenthetical (car, motorcycle or truck) ties it to the 'kind' parameter, so an agent can distinguish it from the search siblings without opening the 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?

'Use after ba_search or ba_search_bikes_trucks' gives explicit sequencing and names the prerequisite tools, which is exactly the context an agent needs to avoid calling this cold. It also warns 'Phone numbers are not available', preventing a doomed attempt. It does not name a when-not-to-use case or point to alternatives for spec data (e.g., ba_car_specs), which keeps it short of a 5.

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