Skip to main content
Glama

Groundsocial

Search Facebook Marketplace

facebook_marketplace_search
Read-onlyIdempotent

Search Facebook Marketplace listings near a place, with price, condition, delivery, date and sort filters.

Listings matching q near a point (lat/lng, or a place name as location, resolved with facebook_marketplace_locations), as Marketplace shows a logged-out visitor: title, price, city, photo, listed time. Filters: radius_km (default 40), min_price/max_price, sort_by, condition (comma list), delivery_method, date_listed (1, 7, 30 days), availability, category_id. One page (up to ~24): Marketplace does not page further for a logged-out visitor.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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": {
      "q": "<q>"
    },
    "name": "facebook_marketplace_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesWhat to search for.
latNoLatitude of the search centre.
lngNoLongitude of the search centre.
sort_byNo
locationNoA place name instead of lat/lng (first match).
conditionNoComma list: new, used_like_new, used_good, used_fair.
max_priceNoMaximum price, in the local currency.
min_priceNoMinimum price, in the local currency.
radius_kmNoSearch radius in km (1-500, default 40).
category_idNoA listing’s marketplace_listing_category_id.
date_listedNo
availabilityNo
delivery_methodNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations it discloses the credit cost with automatic refund on failure, the exact return fields (title, price, city, photo, listed time), and a significant behavioral limitation: results are what a logged-out visitor sees and only one page of ~24 items is returned with no further paging. It also states that cost_credits and credits_remaining appear in the response.

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-loaded with the core action and scope, then a dense but well-organized filter inventory and a short cost/limits trailer. Every sentence carries information; the filter list is long but earns its place given 13 parameters.

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?

For a 13-parameter search tool with no output schema, the description covers return fields, result-count limits, cost, refund behavior, and data visibility (public, logged-out). Nothing an agent needs in order to call it correctly and set expectations on results 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?

With 69% schema coverage, the description compensates by explaining the lat/lng vs location-name tradeoff (location resolves the first match), restating the radius default of 40, the comma-list format for condition, and the 1/7/30-day windows for date_listed. It adds little for sort_by and category_id beyond naming them, and the 1/7/30 wording is looser than the schema's enum values.

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?

The opening sentence states a specific verb and resource (search Marketplace listings) plus the scope 'near a place', and the body enumerates the supported filters. It also names facebook_marketplace_locations as the sibling used to resolve a place name, so an agent can distinguish the two without opening either 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?

It clearly establishes the usage context (geospatial keyword search with optional price/condition/date filters) and points at facebook_marketplace_locations for turning a place name into coordinates. It stops short of explicit exclusions, e.g. it never says to use facebook_marketplace_item instead when the agent already has a listing id.

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.