Skip to main content
Glama

facebook_marketplace_search

Read-only

Fetch public Facebook Marketplace listing rows for a location, with titles, prices, and thumbnails. Only the initial server-rendered page is available; further pagination requires login and is unsupported. Omit query and category for a browse feed. Price, sort, age, and condition filters normally require query or category; property_rentals uses its own filtered page. Retries can take roughly a minute. Use facebook_page for a public page profile.

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

Input Schema

NameRequiredDescriptionDefault
queryNoFree-text search terms. Omit (with category) for the location's browse feed.
sort_byNoResult order. Allowed values: best_match, distance_ascend, creation_time_descend, price_ascend, price_descend. Requires query or category.
categoryNoMarketplace category. Allowed values: vehicles, property_rentals, classifieds, apparel, electronics, entertainment, family, free, garden_outdoors, hobbies, home_goods, home_improvement, musical_instruments, office_supplies, pet_supplies, property_sale, sporting_goods, toys_games.
locationYesFacebook Marketplace location vanity slug, e.g. austin or nyc.
conditionNoComma-separated listing conditions. Allowed values: new, used_like_new, used_good, used_fair. Requires query or category.
max_priceNoMaximum price in whole currency units. Requires query or category.
min_priceNoMinimum price in whole currency units. Requires query or category.
days_since_listedNoRestrict to listings posted within this many days. Allowed values: 1, 7, 30. Requires query or category.

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. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, it discloses that only the initial server-rendered page is retrievable and that pagination requires login and is unsupported — a real capability limit an agent could not infer otherwise. It also warns about latency on retries, though that sentence is ambiguous (internal retries vs. caller retries) and no guidance is given on error or rate-limit behavior.

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 core capability is front-loaded in sentence one, and each later sentence carries distinct information (pagination limit, browse-feed mode, filter dependency, latency, sibling routing). The only weak spot is the terse, slightly cryptic retry-latency sentence.

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?

The tool has an output schema, so return values need not be explained; the description instead covers the operational constraints (pagination, filter dependencies, latency, sibling boundary) that an agent needs. Nothing material for a correct call 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 a cross-parameter rule the schema only states per-field: the filter family's dependency on query/category, plus the property_rentals exception that appears nowhere in the schema. That conditional relationship meaningfully improves correct invocation.

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 first sentence gives a specific verb (fetch), resource (public Facebook Marketplace listing rows), scope (for a location), and the fields returned (titles, prices, thumbnails). It also explicitly routes public page profiles to the facebook_page sibling, so the tool is distinguishable 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 Guidelines5/5

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

It states concrete selection rules: omit query and category for the browse feed, filters generally require query or category, property_rentals uses its own filtered page, and facebook_page handles page profiles. Both when-to-use and when-to-use-something-else are covered.

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.