Skip to main content
Glama

Search listings

search_listings
Read-only

Search active listings on Bettan, newest first. All filters are optional. Returns compact results; use get_listing for the full description. When more match, the result has next: pass it as after (with the same filters) for the next page.

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

Input Schema

NameRequiredDescriptionDefault
cityNoTown name, e.g. "Zürich".
sortNo
afterNoThe `next` value from an earlier result with the same filters, for the next page.
limitNo
queryNoWords to look for in the title and description, e.g. "road bike".
yearMaxNoVehicles: latest model year.
yearMinNoVehicles: earliest model year.
categoryNo
currencyNoCurrency of minPrice and maxPrice. Defaults to the one the countries share. Listings in other currencies are left out when a price filter is set.
handoverNo
maxPriceNoIn `currency`.
minPriceNoIn `currency`.
conditionNo
countriesNoISO country codes to search in. Leave out to search all countries.
mileageMaxNoVehicles: highest mileage.
mileageUnitNo
vehicleTypeNoOnly with category "vehicles".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / countries / items / enum
      Previous value: -[
      -  "AT",
      -  "BE",
      -  "BG",
      -  "HR",
      -  "CY",
      -  "CZ",
      -  "DK",
      -  "EE",
      -  "FI",
      -  "FR",
      -  "DE",
      -  "GR",
      -  "HU",
      -  "IS",
      -  "IE",
      -  "IT",
      -  "LV",
      -  "LI",
      -  "LT",
      -  "LU",
      -  "MT",
      -  "NL",
      -  "NO",
      -  "PL",
      -  "PT",
      -  "RO",
      -  "SK",
      -  "SI",
      -  "ES",
      -  "SE",
      -  "CH",
      -  "GB",
      -  "US"
      -]New value: +[
      +  "AT",
      +  "BE",
      +  "BG",
      +  "HR",
      +  "CY",
      +  "CZ",
      +  "DK",
      +  "EE",
      +  "FI",
      +  "FR",
      +  "DE",
      +  "GR",
      +  "HU",
      +  "IS",
      +  "IE",
      +  "IT",
      +  "LV",
      +  "LI",
      +  "LT",
      +  "LU",
      +  "MT",
      +  "NL",
      +  "NO",
      +  "PL",
      +  "PT",
      +  "RO",
      +  "SK",
      +  "SI",
      +  "ES",
      +  "SE",
      +  "CH",
      +  "GB",
      +  "US",
      +  "CA"
      +]
    • changedInput schema / properties / currency / enum
      Previous value: -[
      -  "CHF",
      -  "EUR",
      -  "GBP",
      -  "SEK",
      -  "NOK",
      -  "DKK",
      -  "ISK",
      -  "CZK",
      -  "HUF",
      -  "PLN",
      -  "RON",
      -  "USD"
      -]New value: +[
      +  "CHF",
      +  "EUR",
      +  "GBP",
      +  "SEK",
      +  "NOK",
      +  "DKK",
      +  "ISK",
      +  "CZK",
      +  "HUF",
      +  "PLN",
      +  "RON",
      +  "USD",
      +  "CAD"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / countries / items / enum
      Previous value: -[
      -  "AT",
      -  "BE",
      -  "BG",
      -  "HR",
      -  "CY",
      -  "CZ",
      -  "DK",
      -  "EE",
      -  "FI",
      -  "FR",
      -  "DE",
      -  "GR",
      -  "HU",
      -  "IS",
      -  "IE",
      -  "IT",
      -  "LV",
      -  "LI",
      -  "LT",
      -  "LU",
      -  "MT",
      -  "NL",
      -  "NO",
      -  "PL",
      -  "PT",
      -  "RO",
      -  "SK",
      -  "SI",
      -  "ES",
      -  "SE",
      -  "CH",
      -  "GB"
      -]New value: +[
      +  "AT",
      +  "BE",
      +  "BG",
      +  "HR",
      +  "CY",
      +  "CZ",
      +  "DK",
      +  "EE",
      +  "FI",
      +  "FR",
      +  "DE",
      +  "GR",
      +  "HU",
      +  "IS",
      +  "IE",
      +  "IT",
      +  "LV",
      +  "LI",
      +  "LT",
      +  "LU",
      +  "MT",
      +  "NL",
      +  "NO",
      +  "PL",
      +  "PT",
      +  "RO",
      +  "SK",
      +  "SI",
      +  "ES",
      +  "SE",
      +  "CH",
      +  "GB",
      +  "US"
      +]
    • changedInput schema / properties / currency / enum
      Previous value: -[
      -  "CHF",
      -  "EUR",
      -  "GBP",
      -  "SEK",
      -  "NOK",
      -  "DKK",
      -  "ISK",
      -  "CZK",
      -  "HUF",
      -  "PLN",
      -  "RON"
      -]New value: +[
      +  "CHF",
      +  "EUR",
      +  "GBP",
      +  "SEK",
      +  "NOK",
      +  "DKK",
      +  "ISK",
      +  "CZK",
      +  "HUF",
      +  "PLN",
      +  "RON",
      +  "USD"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / category / enum
      Previous value: -[
      -  "vehicles",
      -  "vehicle_parts",
      -  "bikes",
      -  "computers",
      -  "electronics",
      -  "cameras",
      -  "games",
      -  "furniture",
      -  "home",
      -  "garden",
      -  "fashion",
      -  "watches",
      -  "kids",
      -  "toys",
      -  "sports",
      -  "music",
      -  "books",
      -  "collectibles",
      -  "art",
      -  "tickets",
      -  "pets",
      -  "office"
      -]New value: +[
      +  "vehicles",
      +  "vehicle_parts",
      +  "bikes",
      +  "computers",
      +  "electronics",
      +  "cameras",
      +  "games",
      +  "furniture",
      +  "home",
      +  "garden",
      +  "fashion",
      +  "watches",
      +  "kids",
      +  "toys",
      +  "sports",
      +  "music",
      +  "books",
      +  "collectibles",
      +  "art",
      +  "tickets",
      +  "pets",
      +  "office",
      +  "other"
      +]
  4. Changed1 schema field changed
    • addedInput schema / properties / after
      Added value: +{
      +  "description": "The `next` value from an earlier result with the same filters, for the next page.",
      +  "type": "string"
      +}
  5. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, it discloses active-only scope, newest-first ordering, compact results, and the next/after pagination contract. It does not cover auth or rate limits, but those are not central for this read-only search.

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?

The description is four short sentences, front-loaded with purpose and followed by return and pagination behavior. Every sentence carries useful information with no 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 17-parameter search with no output schema, it explains that results are compact and how to page through them. It leaves the exact compact result fields unspecified, which is a minor gap rather than a blocking omission.

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 65%, and the description reinforces optional filters and the after/next relationship. It adds little meaning for many parameters such as sort, currency, price, category, and mileage beyond what the schema already provides.

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: "Search active listings on Bettan, newest first." It also distinguishes the tool from get_listing by routing full-detail needs there.

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?

Explicitly says all filters are optional, directs users to get_listing for full descriptions, and explains pagination with next/after. It does not mention the browse sibling or give conditions for choosing it over this search.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources