Skip to main content
Glama

Search Facebook

search_facebook
Read-only

Search Facebook for posts, groups, pages, or people and get structured results matching what your account sees on the web. Read-only, returns real UI data.

Instructions

Search Facebook and return structured results. result_type picks the search tab: posts, groups, pages or people. Read-only. Results are limited to what the Facebook UI actually renders for your account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum results to return
queryYesWhat to search for, exactly as you would type it into Facebook search
locationNoOptional place to bias the search, e.g. "UK" or "Manchester". Facebook web search has no structured location filter, so this is appended to the query text.
result_typeNoWhich search tab to readposts
scroll_roundsNoHow many times to scroll for more results. Each round costs a few seconds.
Behavior4/5

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

The read-only behavior is already declared in annotations, but the description adds useful context that results are limited to what the Facebook UI actually renders for the user's account. This gives insight into result variability beyond the schema.

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 three short sentences, front-loaded with the primary action, and contains no filler. Every sentence provides relevant 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?

The description covers the core purpose, safety, and a key limitation. There is no output schema, and the description mentions 'structured results' without specifying the structure, which is a minor gap. Overall, it is sufficient for a search tool with good annotations.

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 fully documents all five parameters. The description only restates the result_type behavior already present in the schema enum, adding no additional parameter-level meaning.

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 clearly states the tool performs a Facebook search and returns structured results, with result_type explicitly selecting the tab. However, it does not distinguish this from sibling tools like search_groups or search_pages, which are more specialized.

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 this is the general search entry point by mentioning the different tabs, but it does not explicitly state when to use this over the specialized sibling tools. There are no exclusions or alternative recommendations.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mrshahidali420/facebook-web-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server