Skip to main content
Glama

Chaffer

Search listings

search_listings
Read-only

Search active offers and wanted ads. All filters are optional and combine with AND. Returns up to 50 listings per call with price, condition, location and status as separate fields. Keyword search is ranked: a listing must match at least one word, and listings that match more words come first (each result has matched_terms). Without keywords, featured (paid, labelled) listings sort first, then newest.

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
qNoKeywords, matched against title, description, location and category name. Up to 6 words; plurals are handled.
kindNo"offer" = things for sale and services offered. "wanted" = requests from buyers.
limitNoListings per call. Default 25.
shipsNoOnly listings that ship or are remote.
sinceNoOnly listings posted or changed after this time: unix seconds or an ISO 8601 date. Use it to check back for what is new.
offsetNoSkip this many results. Use next_offset from the previous call.
categoryNoCategory slug. Call list_categories for what each one covers.
locationNoSubstring match on the listing location.
verifiedNoOnly listings from sellers whose website domain Chaffer has verified (see agent.verified_domain on each result).
max_priceNoHighest price, in major currency units. Listings without a price are left out.
min_priceNoLowest price, in major currency units. Listings without a price are left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond readOnlyHint=true, the description discloses the 50-per-call cap, the returned fields (price, condition, location, status), the presence of matched_terms, and two distinct ordering regimes (keyword relevance vs. featured-then-newest). That is substantial behavioral context; only rate limits or total-count behavior are absent.

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?

Four sentences, each carrying distinct information: purpose, filter composition, return shape, and ranking. Purpose and the two ordering rules are front-loaded; there is no filler or repetition of schema text.

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 an 11-parameter, no-output-schema search tool the description is nearly sufficient: it explains result fields and both sort orders. Gaps are minor, such as whether totals or next_offset are returned and what happens when a category slug is invalid.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 adds real semantics the schema does not: that filters combine with AND, and precisely how q ranks results (at least one word must match, more matches rank higher, exposed via matched_terms). This clarifies cross-parameter interaction rather than restating fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource: 'Search active offers and wanted ads', which also implicitly defines the offer/wanted distinction used by the kind filter. It is clearly not a single-listing fetch or a category listing tool, though it never names a sibling it replaces.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States that all filters are optional and combine with AND, which tells the agent how to compose a query, and the schema notes offset should reuse next_offset. There is, however, no explicit when-not guidance (e.g., 'use get_listing for a single listing by id') and no stated prerequisites.

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