Skip to main content
Glama

Crawlora MCP

datasets_facebook_pages_facets

Read-only

Returns terms aggregation counts for the Facebook Pages dataset under search filters. Use alongside the related search tool to inspect filter counts under the same query filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoOptional full-text query over title and address, max 256 characters.
pageNoResult page number, 1-based, default 1; page times page_size must not exceed 10000.
sortNoOptional sort order. Allowed values: relevance, likes_desc, likes_asc, hydrated_at_desc, hydrated_at_asc. Defaults to relevance with q, otherwise likes_desc.
afterNoContinue after next_after from the preceding value_asc response. Keep filters unchanged.
facetYesRequired facet to aggregate. Allowed values: category, discovery_source.
limitNoFacet values per response, default 50, max 200.
orderNoFacet order: count_desc (default) or value_asc for complete pagination.
page_idNoOptional exact Facebook Page id filter, max 128 characters.
categoryNoOptional exact Page category filter (case-insensitive), max 128 characters.
has_emailNoOptional filter for Pages with a public contact email.
has_phoneNoOptional filter for Pages with at least one public phone number.
max_likesNoOptional maximum Page like count, 0 or greater.
min_likesNoOptional minimum Page like count, 0 or greater.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.
identifierNoOptional exact Page username/identifier filter (case-insensitive), max 128 characters.
has_websiteNoOptional filter for Pages with a linked website.
has_whatsappNoOptional filter for Pages with a public WhatsApp contact.
hydrated_afterNoOptional filter for records last refreshed on or after this date (RFC3339 or YYYY-MM-DD).
hydrated_beforeNoOptional filter for records last refreshed on or before this date (RFC3339 or YYYY-MM-DD).
discovery_sourceNoOptional exact filter for how the Page was discovered (e.g. wikidata), max 128 characters.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true and openWorldHint=true, so the description needn't state safety. It adds valuable context about the facet-application behavior and the relationship to the search tool's query filters. It doesn't cover pagination behavior beyond what the schema says, but given the annotations the bar is lower.

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?

Two short sentences with zero waste, front-loading what the tool returns and then the usage note. Appropriately sized for a facet tool.

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?

An output schema exists, so the description needn't explain return values. The description provides the key context—that it returns aggregation counts and should be used with the search tool—without over-explaining. A bit more on how facets interact with pagination would help, but it's sufficient.

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 20 parameters in detail. The description doesn't add parameter-level syntax or meaning beyond noting that facets are applied 'under search filters.' Baseline 3 is appropriate when the schema does the heavy lifting.

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 a specific verb+resource: 'Returns terms aggregation counts for the Facebook Pages dataset under search filters.' This distinguishes it from sibling datasets_facebook_pages_search and _item, though it doesn't explicitly contrast with them.

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 says 'Use alongside the related search tool to inspect filter counts under the same query filters,' which implies when to use it relative to the search tool. However, it doesn't name the sibling tool explicitly or describe when NOT to use it.

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.

Resources