Skip to main content
Glama
JanNafta

PropellerAds MCP Server

by JanNafta

get_creative_performance

Retrieve performance statistics for advertising creatives to analyze campaign effectiveness and optimize ad content based on data-driven insights.

Instructions

Get performance statistics for creatives.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaign_idNoFilter by campaign ID
date_fromNoStart date (YYYY-MM-DD)
date_toNoEnd date (YYYY-MM-DD)

Implementation Reference

  • Handler logic for the 'get_creative_performance' tool, which fetches and formats creative performance statistics using the PropellerAdsClient.
    elif name == "get_creative_performance":
        creatives = client.get_creative_statistics(
            campaign_id=args.get("campaign_id"),
            date_from=args.get("date_from"),
            date_to=args.get("date_to"),
        )
    
        if not creatives:
            return "No creative statistics found."
    
        enriched = [calculate_metrics(c) for c in creatives]
    
        lines = ["# Creative Performance\n\n"]
        for c in enriched:
            lines.append(
                f"**Creative {c.get('creative_id', 'N/A')}**\n"
                f"- Impressions: {c.get('impressions', 0):,}\n"
                f"- Clicks: {c.get('clicks', 0):,}\n"
                f"- CTR: {format_percentage(c.get('ctr'))}\n"
                f"- Conversions: {c.get('conversions', 0)}\n"
                f"- Spend: {format_currency(c.get('spend', c.get('cost', 0)))}\n\n"
            )
    
        return "".join(lines)
  • Registration of the 'get_creative_performance' tool definition in the TOOLS list.
        name="get_creative_performance",
        description="Get performance statistics for creatives.",
        inputSchema={
            "type": "object",
            "properties": {
                "campaign_id": {
                    "type": "integer",
                    "description": "Filter by campaign ID",
                },
                "date_from": {"type": "string", "description": "Start date (YYYY-MM-DD)"},
                "date_to": {"type": "string", "description": "End date (YYYY-MM-DD)"},
            },
        },
    ),
Behavior2/5

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

No annotations are provided, so the description carries full burden but offers minimal behavioral insight. It implies a read-only operation but does not disclose details like data freshness, rate limits, authentication needs, or what 'performance statistics' entail (e.g., metrics, format). This leaves significant gaps for an agent to understand 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.

Conciseness4/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. However, it is front-loaded but overly brief, potentially sacrificing clarity for brevity, as it lacks elaboration that could aid agent selection.

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

Completeness2/5

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

Given the complexity of performance statistics and lack of annotations or output schema, the description is incomplete. It does not explain what 'creatives' refers to, what statistics are returned, or any behavioral traits, leaving the agent with insufficient context to use the tool effectively without trial and error.

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?

The schema description coverage is 100%, with clear parameter descriptions in the input schema. The description adds no additional meaning beyond the schema, such as explaining how parameters interact or default behaviors. This meets the baseline for high schema coverage but does not enhance parameter understanding.

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 states the tool's purpose as 'Get performance statistics for creatives,' which is clear but vague. It specifies the verb 'Get' and resource 'performance statistics for creatives,' but does not differentiate from siblings like 'get_campaign_performance' or 'get_zone_performance,' leaving ambiguity about scope and distinctions.

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 on when to use this tool versus alternatives. The description lacks context, prerequisites, or exclusions, such as whether it's for specific creative types or how it differs from other performance-related tools like 'get_performance_report' or 'compare_periods.'

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/JanNafta/propellerads-mcp'

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