Skip to main content
Glama

SocialAPIs

Facebook: Marketplace Search

facebook_marketplace_search
Read-only

Search Facebook Marketplace items with filters for location, price, category, condition, and sort order. Pricing: 1 credit per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of items to return. Default: 24.
queryNoSearch term
end_cursorNoPagination cursor
exact_matchNoWhen "true", exact match search
category_urlNoCategory URL slug
posted_todayNoWhen "true", limit to items posted today
filter_radius_kmNoRadius in km
commerce_search_sort_byNoSort: BEST_MATCH, CREATION_TIME_DESCEND, PRICE_ASCEND, etc.
filter_location_latitudeNoGPS latitude
filter_price_lower_boundNoMinimum price
filter_price_upper_boundNoMaximum price
filter_location_longitudeNoGPS longitude
commerce_search_and_rp_conditionNoCondition: new, used_like_new, used_good, used_fair

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYesJSON response from the SocialAPIs REST endpoint, unchanged. Object or array depending on the endpoint; most include a `meta` block (statusCode, duration, creditsCharged, creditsRemaining).
creditsChargedNoCredits charged for this call, or null if the endpoint did not report it.
creditsRemainingNoCredits left on the API key after this call, or null if not reported.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful operational context beyond annotations by stating 'Pricing: 1 credit per call.' It does not cover auth needs, rate limits, or pagination behavior, so it is not fully exhaustive.

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 two sentences and front-loads the core purpose before the pricing note. Every sentence adds value: the first states what it searches and which filters exist, and the second gives cost information.

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?

With rich annotations, full schema coverage, and an output schema, the description does not need to explain return values or parameter formats. It covers the core action and cost, but it omits routing guidance relative to nearby marketplace siblings. That gap is not fatal, but it keeps the definition from being fully complete.

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 description coverage is 100%, so each of the 13 parameters is already documented in the input schema. The description lists broad filter categories but adds no syntax, format, or boundary details beyond what the schema provides. This matches the baseline of 3 when the schema does the heavy lifting.

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?

The description states a specific verb and resource: 'Search Facebook Marketplace items.' It also names the filter dimensions, making the tool's scope clear. However, it does not distinguish this general marketplace search from sibling tools like facebook_marketplace_vehicles, facebook_marketplace_rentals, or facebook_marketplace_listing.

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?

The description implies usage by naming the searchable filters and stating the credit cost. It does not say when to choose this tool over sibling marketplace or general search tools, nor does it list any exclusions or 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.