Skip to main content
Glama
EfrainTorres

ArmaVita Meta Ads MCP

suggest_interests

Generate related interests from a base list to expand targeting options for Meta Ads campaigns.

Instructions

Fetch related interests from a base list of interests.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
interest_listYes
meta_access_tokenNo
page_sizeNo
page_cursorNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The main function handling the 'suggest_interests' tool, which constructs the API request to fetch interest suggestions.
    async def suggest_interests(
        interest_list: List[str],
        meta_access_token: Optional[str] = None,
        page_size: int = 25,
        page_cursor: str = "",
    ) -> str:
        """Fetch related interests from a base list of interests."""
        if not interest_list:
            return _as_json({"error": "No interest list provided"})
    
        params: Dict[str, Any] = {
            "type": "adinterestsuggestion",
            "interest_list": json.dumps(list(interest_list)),
            "page_size": int(page_size),
        }
        if page_cursor:
            params["page_cursor"] = page_cursor
    
        payload = await make_api_request("search", meta_access_token, params)
  • Registration of the 'suggest_interests' tool using the @mcp_server.tool() decorator.
    @mcp_server.tool()
    @meta_api_tool
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions 'Fetch related interests' but doesn't specify whether this is a read-only operation, requires authentication (implied by 'meta_access_token' parameter), involves rate limits, or describes the output format. This leaves significant gaps in understanding the tool's behavior.

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 no wasted words, making it easy to parse and front-loaded with the core purpose. It earns its place by being direct and to the point.

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 with 0% schema coverage, no annotations, but an output schema exists, the description is incomplete. It doesn't explain parameter meanings or behavioral traits, though the output schema may cover return values. This results in a minimal viable but gap-filled description.

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 for undocumented parameters. It only vaguely references 'a base list of interests' for 'interest_list', but doesn't explain the semantics of 'meta_access_token', 'page_size', or 'page_cursor', nor does it clarify the relationship between parameters. This fails to add meaningful context beyond the bare schema.

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 action ('Fetch related interests') and the resource ('from a base list of interests'), making the purpose understandable. However, it doesn't distinguish this tool from sibling tools like 'search_interests', which might have overlapping functionality, so it doesn't reach the highest score.

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?

The description provides no guidance on when to use this tool versus alternatives such as 'search_interests' or other sibling tools. It lacks context about prerequisites, use cases, or exclusions, leaving the agent without clear usage instructions.

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