Skip to main content
Glama
EfrainTorres

ArmaVita Meta Ads MCP

search_pages

Search for Facebook Pages associated with an ad account to identify potential targets for advertising campaigns using the Meta Marketing API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ad_account_idYes
meta_access_tokenNo
queryNo

Implementation Reference

  • Implementation of the `search_pages` MCP tool, which uses `_search_pages_core` to perform the search.
    async def search_pages(
        ad_account_id: str,
        meta_access_token: Optional[str] = None,
        query: Optional[str] = None,
    ) -> str:
        if not ad_account_id:
            return _json({"error": "No account ID provided"})
        return await _search_pages_core(meta_access_token, ad_account_id, query)

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/EfrainTorres/armavita-meta-ads-mcp'

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