Skip to main content
Glama
EfrainTorres

ArmaVita Meta Ads MCP

search_interests

Discover relevant audience interests for Meta Ads targeting by entering keywords to find matching topics and categories.

Instructions

Find audience interests by keyword.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
meta_access_tokenNo
page_sizeNo
page_cursorNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The implementation of the `search_interests` tool which searches for audience interests using the Meta API.
    @mcp_server.tool()
    @meta_api_tool
    async def search_interests(
        query: str,
        meta_access_token: Optional[str] = None,
        page_size: int = 25,
        page_cursor: str = "",
    ) -> str:
        """Find audience interests by keyword."""
        if not str(query or "").strip():
            return _as_json({"error": "No query provided"})
    
        params: Dict[str, Any] = {
            "type": "adinterest",
            "q": query,
            "page_size": int(page_size),
        }
        if page_cursor:
            params["page_cursor"] = page_cursor
    
        payload = await make_api_request("search", meta_access_token, params)
        return _as_json(payload)
Behavior2/5

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

With no annotations provided, the description carries full burden but only states the basic action without disclosing behavioral traits. It doesn't mention authentication needs (though 'meta_access_token' parameter hints at it), rate limits, pagination behavior (implied by 'page_size' and 'page_cursor' but not explained), or what 'find' entails (e.g., search algorithm, result format). This is inadequate for a tool with parameters and no annotation coverage.

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 a single, efficient sentence with zero waste—every word contributes to the core purpose. It's appropriately sized and front-loaded, making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 4 parameters, 0% schema coverage, no annotations, but an output schema exists, the description is incomplete. It doesn't provide enough context about behavior, parameters, or usage to compensate for the lack of annotations and schema descriptions, though the output schema mitigates some need for return value explanation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate but adds no parameter information beyond implying 'keyword' relates to 'query'. It doesn't explain 'meta_access_token', 'page_size', or 'page_cursor', leaving all 4 parameters with minimal semantic context. The description fails to bridge the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Find audience interests by keyword' clearly states the action (find) and target resource (audience interests), but it's vague about scope and doesn't distinguish from sibling tools like 'suggest_interests' or 'search_behaviors'. It provides basic purpose but lacks specificity about what 'interests' means in this context.

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?

No guidance is provided about when to use this tool versus alternatives like 'suggest_interests' or other search tools in the sibling list. The description doesn't mention prerequisites, context, or exclusions, leaving the agent with no usage differentiation.

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

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