Skip to main content
Glama

SocialAPIs

Facebook: Search Posts

facebook_search_posts
Read-only

Search for Facebook posts by keyword with optional location and time filters

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query
end_timeNoFilter posts before this date (YYYY-MM-DD)
end_cursorNoPagination cursor
start_timeNoFilter posts after this date (YYYY-MM-DD)
location_uidNoLocation UID for filtering
recent_postsNoWhen "true", shows only recent posts

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

B3.4/5.0
Behavior3/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 only the filter scope (keyword, location, time) and does not disclose auth needs, rate limits, or pagination behavior beyond what the schema already says.

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 definition is a single front-loaded sentence with no wasted words. It efficiently states the core action and optional filters.

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 full schema coverage, rich safety annotations, and an output schema, the description need not explain parameters or return values. It is complete enough for invocation, though sibling routing and pagination handling remain implicit.

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 the schema already documents all six parameters, including date formats and the pagination cursor. The description merely restates some parameter concepts (keyword, location, time filters) without adding syntax, defaults, or examples beyond the schema.

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 (Search) and resource (Facebook posts) and notes the keyword scope. It implicitly distinguishes itself from sibling video/page/people searches by saying 'posts,' but never names those alternatives explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

It states what the tool does but gives no when-to-use or when-not guidance, and no alternatives despite many sibling search tools (search_videos, search_pages, search_people). The agent receives no routing criteria for choosing this tool.

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.