Skip to main content
Glama
ido6

facebook-marketplace

by ido6

marketplace_compare

Compare Facebook Marketplace listings for a product across query variants and sorts to find fairly priced deals, group like-for-like items, benchmark prices, rank offers, and flag scams.

Instructions

Find the best-priced listings for a product and benchmark the market. Sweeps every query variant × sort order, merges, drops irrelevant/sold/reposted listings, groups like-for-like (e.g. 'pro · 256GB'), computes price stats per variant, ranks deals (price vs variant, price drops, recency, condition, distance), opens the top few for details, flags scams (too cheap, prepayment, parts/broken, buy requests, placeholder ₪1 prices) and suggests an opening offer. Pass several query variants: Hebrew + English + model spellings, e.g. ['iphone 13', 'אייפון 13']. Takes about 5-8 s per page; default 3 sorts per query, capped at 12 pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortsNoDefault ['relevance','price_asc','newest'].
top_nNo
excludeNoDrop titles containing these words (e.g. ['case','כיסוי']).
queriesYes
home_latNo
home_lngNo
locationNoIsraeli city name in English or Hebrew (Tel Aviv, ירושלים, Petah Tikva, Holon, Beersheba...), a Marketplace slug, or the numeric id from a Marketplace URL. Default: telaviv.
max_priceNo
min_priceNoAlso useful to cut accessories and placeholder prices.
radius_kmNo
conditionsNo
enrich_topNo
must_includeNoEvery title must contain these words (e.g. ['pro']).
export_reportNoAlso write CSV + HTML reports and return their paths.
reference_priceNoKnown fair USED price from outside Marketplace; enables vsReferencePct and a scam check.
days_since_listedNoOnly listings from the last N days.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=false and openWorldHint=true; the description adds substantial behavior: dedupe/sold/reposted filtering, like-for-like grouping, price stats, scam heuristics, and latency/page caps. It does not explain why the tool is flagged non-read-only (report/file export as a side effect), leaving one inconsistency in the safety profile unaddressed.

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?

Information-dense and front-loaded: the pipeline and output are stated first, then invocation guidance and constraints. The single run-on sentence is long but every clause carries distinct behavioral information; minor structural cost only.

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 a complex 16-param tool with no output schema, the description covers the analysis outputs (price stats, ranked deals, scam flags, opening offer) and operational limits well. It omits mention of the export_report side effect and doesn't describe result shape in detail, but is largely sufficient for correct invocation.

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?

With 16 parameters and only ~50% schema description coverage, the description compensates for some gaps (queries as multi-variant Hebrew/English strings, sorts default and page cap) but is silent on location, radius_km, conditions, price bounds, must_include/exclude, and enrichment depth. Partial compensation against a substantial coverage gap, so a baseline 3.

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?

States precise verbs and resource: finds best-priced listings, benchmarks the market, and enumerates the full analysis pipeline (merge, dedupe, group, rank, enrich, scam-flag, offer suggestion). Clearly differentiated from siblings like marketplace_search and marketplace_price_history, which do single narrow jobs.

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 invocation guidance: pass several query variants with a Hebrew+English example, default 3 sorts per query, cap of 12 pages, and 5-8s per page timing. It never explicitly names when to prefer marketplace_search or marketplace_price_history instead, so it stays at 4 rather than 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.