Skip to main content
Glama
willhaben-mcp

willhaben-mcp

by Samxel

search_autos

Read-only

Search used cars on willhaben by make, model, fuel, price, mileage, year, power, transmission, and other filters; use keywords or exclude terms to narrow listings and skip unwanted ads.

Instructions

Search used cars. Everything is optional.

Prefer the structured filters to keyword: they match exact fields, a keyword searches the free text. Use a keyword for what has no filter, such as a chassis code ("E39") on top of make and model.

Hits name make and model and give power as power_kw and power_ps. willhaben tops a make search with a paid listing whatever the filters say; hits outside the requested ranges are dropped and counted in dropped_off_filter.

exclude, require and hide_reserved work as in search_willhaben and page on until rows cars pass, e.g. exclude=["motorschaden", "export", "bastler"]. Car hits carry no description, so require only looks at the title here.

Args: make: Make id or name, see list_car_makes. model: Model id or name, e.g. "3er-Reihe"; needs make. keyword: Free-text words. car_type: e.g. "Kombi / Family Van", "SUV / Geländewagen". fuel: e.g. "Diesel", "Benzin", "Elektro", "Hybrid Elektro/Benzin". transmission: "Automatik" or "Schaltgetriebe". wheel_drive: "Allrad", "Hinterrad" or "Vorderrad". condition: e.g. "Gebrauchtwagen", "Neuwagen", "Oldtimer". color: Exterior colour, e.g. "Schwarz". dealer: "Händler" or "Privat". equipment: e.g. "Sitzheizung vorne", "Anhängerkupplung". price_from / price_to: EUR. year_from / year_to: First registration. mileage_from / mileage_to: Kilometres. power_from / power_to: kW, not PS (150 PS is 110 kW). warranty / condition_report: Only cars with a warranty / a current "Pickerl" (§57a). last_48h: Only ads from the last two days.

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

Input Schema

NameRequiredDescriptionDefault
areaNo
fuelNo
makeNo
rowsNo
colorNo
modelNo
dealerNo
offsetNo
excludeNo
keywordNo
requireNo
sort_byNoactuality
year_toNo
car_typeNo
districtNo
last_48hNo
power_toNo
price_toNo
warrantyNo
conditionNo
equipmentNo
year_fromNo
mileage_toNo
power_fromNo
price_fromNo
wheel_driveNo
mileage_fromNo
transmissionNo
hide_reservedNo
condition_reportNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only cover read-only and open-world; the description adds substantial behavioral detail: willhaben injects a paid listing at the top of make searches regardless of filters, off-filter hits are dropped and counted in 'dropped_off_filter', pagination continues until 'rows' cars pass, and car hits carry no description so 'require' only inspects the title. It also flags unit traps (power in kW, not PS).

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 page-level guidance is front-loaded before the long Args block, and the Args list is justified by the zero schema coverage. A few sentences, such as the 'power_kw / power_ps' note, are dense but every line conveys usable information; nothing is pure 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?

For a 30-parameter, no-output-schema search tool, the definition covers filtering, keyword-vs-filter tradeoffs, result field naming, pagination, and post-filter behavior well. It falls short only on the geographic and sorting parameters (area, district, sort_by, offset), which an agent would need to use the tool fully.

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?

With 0% schema coverage across 30 parameters, the description carries the documentation burden and mostly succeeds, giving meaning, formats, and sample values for make, model, keyword, fuel, transmission, wheel_drive, equipment, price/year/mileage/power ranges, warranty, condition_report, and last_48h. Gaps remain for area, district, sort_by, and offset, which appear in the schema but are never explained.

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+resource ('Search used cars') and immediately establishes scope ('Everything is optional'). It also distinguishes itself from free-text siblings by explaining that hits name 'make' and 'model', making it clear this is a structured car-listing search rather than a generic site search.

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 explicit routing guidance between filter types: 'Prefer the structured filters to keyword' and 'Use a keyword for what has no filter, such as a chassis code'. It also anchors the exclude/require/hide_reserved semantics to search_willhaben, though it never states plainly when to use this tool instead of the general search_willhaben.

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