Skip to main content
Glama

craigslist_search

Read-only

Search Craigslist classifieds in one area and category and get the first window of up to 360 postings (total_result_count says how many match) with id, title, URL, posted time, price, location, coordinates and images, plus job compensation and employer and car odometer where served. area is a slug from craigslist_areas (sfbay), category a category id from craigslist_categories (sss for sale, cta cars+trucks, apa apartments, jjj jobs) or a hub name from craigslist_category_filters (e-bikes). q, sort (date, dateoldest, rel, priceasc, pricedsc, dist), min_price, max_price, has_pic, posted_today, title_only, postal, lat and lon with search_distance in miles narrow it. filters takes the category-specific names and values from craigslist_category_filters (bicycle_type, purveyor, min_bedrooms and so on) as lists. applied_params shows what the site applied and ignored_params what it dropped. No cursor exists beyond the first 360 matches, so narrow a large result with filters. Use craigslist_posting for one listing's full text.

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": {
      "area": "<area>",
      "category": "<category>"
    },
    "name": "craigslist_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional. Search text.
latNoOptional. Latitude to search around; requires lon.
lonNoOptional. Longitude to search around; requires lat.
areaYesRequired. Area slug from craigslist_areas (for example sfbay).
sortNoOptional. date (newest), dateoldest, rel (relevant), priceasc, pricedsc or dist (distance, needs a location).
postalNoOptional. Postal or ZIP code to search around; overrides the area's own center.
filtersNoOptional. Category-specific filters as name to value list, with names and values from craigslist_category_filters (for example bicycle_type: [10] or purveyor: [owner]).
has_picNoOptional. Only postings with images.
categoryYesRequired. Category id from craigslist_categories (for example sss, bia, cta, apa) or a hub name from craigslist_category_filters (for example e-bikes).
max_priceNoOptional. Maximum price.
min_priceNoOptional. Minimum price.
title_onlyNoOptional. Search titles only.
posted_todayNoOptional. Only postings from today.
search_distanceNoOptional. Radius in miles around postal or lat and lon.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations by disclosing the hard 360-result cap with no cursor, the applied_params/ignored_params reporting so the agent can detect silently dropped filters, and the fact that total_result_count reflects the full match set rather than the returned window. These are exactly the operational traits an agent needs before trusting 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?

Front-loads purpose and result shape, then parameters, then the pagination caveat and sibling routing — a sensible order. It is dense and runs long as essentially three packed sentences, but nearly every clause carries usable information for a 14-parameter tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers the full calling path: where area, category, and filter names come from, how to narrow an over-broad result, and the hard limit on result depth. The return-field enumeration is somewhat redundant given an output schema exists, but nothing an agent needs to invoke this correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds interpretive value: it groups the resulting narrowers (q, sort, price, has_pic, posted_today, title_only, postal, lat/lon + search_distance) and explains that filters accepts category-specific name/value lists sourced from craigslist_category_filters, including the hub-name alternative for category. Most of this restates the schema, which caps it at 4.

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 and resource ("Search Craigslist classifieds in one area and category") and states the exact result window (up to 360 postings) and the fields returned. It also distinguishes itself from the sibling craigslist_posting by scoping this tool to search results rather than full listing text.

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 concrete when-to-use routing ("Use craigslist_posting for one listing's full text") and a clear constraint-driven workaround ("No cursor exists beyond the first 360 matches, so narrow a large result with filters"). It also tells the agent where area/category/filter values come from. It stops short of naming when to prefer the other search-family siblings such as craigslist_new_postings or craigslist_suggest.

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.