Skip to main content
Glama
JanNafta

PropellerAds MCP Server

by JanNafta

get_performance_report

Retrieve detailed advertising campaign performance data including impressions, clicks, conversions, spend, and ROI metrics for analysis and optimization.

Instructions

Get detailed performance statistics with metrics like impressions, clicks, conversions, spend, CTR, CVR, CPC, CPA, and ROI.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
date_fromNoStart date (YYYY-MM-DD). Defaults to 7 days ago.
date_toNoEnd date (YYYY-MM-DD). Defaults to today.
group_byNoGroup results by: date, campaign, zone, country, creative, device_type, browser, os
campaign_idNoFilter by specific campaign ID

Implementation Reference

  • The handler for the 'get_performance_report' tool, which calls the client's get_statistics method and processes the results.
    elif name == "get_performance_report":
        stats = client.get_statistics(
            date_from=args.get("date_from"),
            date_to=args.get("date_to"),
            group_by=args.get("group_by"),
            campaign_id=args.get("campaign_id"),
        )
    
        if not stats:
            return "No statistics found for the specified period."
    
        # Calculate metrics for each entry
        enriched = [calculate_metrics(s) for s in stats] if isinstance(stats, list) else [calculate_metrics(stats)]
    
        lines = ["# Performance Report\n"]
        for s in enriched:
  • The registration of the 'get_performance_report' tool in the server configuration.
    Tool(
        name="get_performance_report",
        description="Get detailed performance statistics with metrics like impressions, clicks, conversions, spend, CTR, CVR, CPC, CPA, and ROI.",
        inputSchema={
            "type": "object",
            "properties": {
                "date_from": {
                    "type": "string",
                    "description": "Start date (YYYY-MM-DD). Defaults to 7 days ago.",
                },
                "date_to": {
                    "type": "string",
                    "description": "End date (YYYY-MM-DD). Defaults to today.",
                },
                "group_by": {
                    "type": "array",
                    "items": {"type": "string"},
                    "description": "Group results by: date, campaign, zone, country, creative, device_type, browser, os",
                },
                "campaign_id": {
                    "type": "integer",
                    "description": "Filter by specific campaign ID",
                },
            },
        },
    ),
    Tool(
        name="get_campaign_performance",
        description="Get performance summary for a specific campaign with calculated metrics and insights.",
        inputSchema={
            "type": "object",
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 states this is a 'Get' operation, implying read-only behavior, but doesn't mention authentication requirements, rate limits, pagination, error handling, or what the output format looks like (e.g., structured data vs. raw metrics). For a tool with no annotation coverage, this leaves significant gaps in understanding its 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 that front-loads the core purpose. It lists relevant metrics concisely without unnecessary elaboration. However, it could be slightly more structured by explicitly mentioning it's for aggregated reporting versus other performance tools.

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 no annotations and no output schema, the description is minimally adequate for a read operation but incomplete. It specifies the metrics returned but lacks details on output format, error cases, or behavioral constraints. With 4 parameters and sibling tools that may overlap, more context would help an agent use it correctly.

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?

Schema description coverage is 100%, so the input schema fully documents all four parameters (date_from, date_to, group_by, campaign_id) with descriptions and defaults. The description adds no additional parameter semantics beyond implying metrics are returned, which doesn't compensate for schema details. This meets the baseline of 3 when schema coverage is high.

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 tool retrieves detailed performance statistics with specific metrics listed (impressions, clicks, conversions, etc.). It uses a specific verb ('Get') and identifies the resource ('performance statistics'), but it doesn't explicitly differentiate from sibling tools like 'get_campaign_performance' or 'compare_periods' that might also provide performance data.

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. With sibling tools like 'get_campaign_performance', 'compare_periods', and 'find_top_zones' that likely overlap in functionality, there's no indication of this tool's specific scope, prerequisites, or when other tools might be more appropriate.

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