Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

Facebook Event Search

facebook_event_search

Search Facebook events by topic and city, filter by start date or upcoming, and optionally reuse a 24-hour cache for free repeat lookups.

Instructions

Search Facebook events by topic and city — local startDate/timezone, venue. 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_event_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesTopic keyword, e.g. 'comedy'. Pair with location for city-scoped results.
toNoInclusive local start date filter YYYY-MM-DD.
fromNoInclusive local start date filter YYYY-MM-DD. Use for upcoming-only windows — Facebook/SERP may return past events.
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.
limitNoMax items to return (default 20, max 200). Flat 2 credits per call. Response `source` is native or extended (fetch path — not a price change).
locationNoCity/place geo filter (e.g. London). Matches timezone, location.city, or coords near the city — not a title substring.
upcomingNoWhen true and from is omitted, sets from to today's UTC date so past events are dropped.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations present, the description carries the full load and does disclose non-obvious behavior: a flat 2-credit cost, the fact that empty results and failures are never charged, and the 24h cache semantics with a fresh-by-default policy. It omits auth requirements, rate limits, and pagination behavior, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The scope statement is front-loaded and the whole thing is short, but '2 credits. Costs 2 credits.' is a literal duplication that wastes a sentence, and the cache clause repeats what the schema already says in nearly identical wording.

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 7-parameter, no-annotation, no-output-schema tool, the description covers the essentials an agent needs: what it searches, what it costs, when it is free, and how caching behaves. The missing piece is routing guidance against sibling tools, which is a usage rather than a completeness gap.

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 the schema already documents all seven parameters including q, from/to, cache, and limit. The description only re-touches cache ('free 24h cache hit (default always fresh)'), which is largely duplicative of the schema text, so the 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?

The description gives a specific verb and resource ('Search Facebook events') plus scope ('by topic and city') and names the filter facets (startDate/timezone, venue). It stops short of distinguishing itself from the obvious sibling, facebook_event_details, so an agent must infer that this is the discovery tool and that one is the detail lookup.

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?

It states how to bill-efficiently (pass cache=true for a free cache hit, default is fresh) and implies city-scoping via location, but never says when to use this versus facebook_event_details or the other search siblings, and offers no exclusions or prerequisites.

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