Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

Facebook Marketplace Location Search

facebook_marketplace_location_search

Resolve ambiguous city names into exact Facebook Marketplace hubs with IDs and coordinates so you can target listings by location. Include a state for a single match; cache hits cost no credits.

Instructions

Disambiguate city names into Marketplace hubs — id + lat/lng. Flat 2 credits. Costs 2 credits. Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

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_location_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesCity/place query. Bare names like 'Austin' may return multiple candidates (TX/MN/IN); include a state for a single hit (e.g. 'Austin, TX').
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.
limitNoMax items to return (default 10, max 50). Flat 2 credits per call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden: it discloses cost (2 credits), the billing policy (empty results and failures never charged), and cache semantics (cache=true yields a free 24h hit, default is fresh). That is meaningful behavioral context, but it omits other operational traits an agent would want, such as rate limits, auth requirements, or what a partial/ambiguous result set looks like.

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 primary purpose and kept short, but "Flat 2 credits. Costs 2 credits." is a redundant duplication that wastes a sentence and slightly muddies the pricing statement.

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 three-parameter resolver with no output schema and no annotations, the definition covers purpose, cost, failure billing, and caching — enough to call it correctly. The return shape is only sketched as "id + lat/lng," which leaves some ambiguity, but the core decisions are supported.

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 coverage is 100%, so all three parameters are already documented with equal or greater detail — the description's cache clause essentially restates the schema's cache description. It adds no syntax, format, or edge-case meaning beyond the schema, so baseline 3 applies.

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?

Names a specific action ("Disambiguate city names into Marketplace hubs") and the returned payload (id + lat/lng), which distinguishes it from the sibling facebook_marketplace_search by making clear this is a resolver, not a listing search. It stops short of explicitly naming the follow-up tool, so the differentiation is implied rather than stated.

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 (turn ambiguous city names into hub ids) but never states when to call this versus facebook_marketplace_search, nor any prerequisite ordering. Guidance about including a state for a single hit lives only in the schema, not the description.

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

Deploy Server

Other Tools