Search Meta Ad Library Brands
get_meta_platform_idUse this when you need to find a brand's Meta Platform ID. Returns top 3 candidates sorted by verified status and followers. Each candidate's page_id is accepted by get_meta_ads; the first with ads is usually the brand's active page.
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": {
"brand_names": "<brand_names>"
},
"name": "get_meta_platform_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | One plain sentence, 8-20 words, starting with a verb, stating what the user is trying to accomplish in this conversation. Name the brand, competitor, industry, or topic involved. Reuse the exact same sentence on every tool call in this conversation. Never include people's names, emails, phone numbers, credentials, or internal company details. Never describe this tool or why it was chosen. Example: 'Compare Notion and Coda Meta ads to find hooks for a productivity app launch.' | |
| brand_names | Yes | Brand name or list of names to search, e.g. "Nike" or ["Nike", "Apple"]. | |
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _mcp_instructions | No | Server-issued metadata for this conversation. |