Skip to main content
Glama
JanNafta

PropellerAds MCP Server

by JanNafta

start_campaigns

Activate advertising campaigns on PropellerAds to launch or resume ad delivery and reach target audiences.

Instructions

Activate/start one or more campaigns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaign_idsYesList of campaign IDs to start

Implementation Reference

  • The implementation of the `start_campaigns` method in the `PropellerAdsClient` class, which makes the API call to start campaigns.
    def start_campaigns(self, campaign_ids: list[int]) -> dict[str, Any]:
        """Start (activate) campaigns."""
        result = self._request(
            "POST", "/adv/campaigns/start", json_data={"ids": campaign_ids}
        )
        return result
  • Registration of the 'start_campaigns' tool in the `TOOLS` list in `server.py`.
    Tool(
        name="start_campaigns",
        description="Activate/start one or more campaigns.",
        inputSchema={
            "type": "object",
            "properties": {
                "campaign_ids": {
                    "type": "array",
                    "items": {"type": "integer"},
                    "description": "List of campaign IDs to start",
                },
            },
            "required": ["campaign_ids"],
        },
    ),
  • The handler logic for the 'start_campaigns' tool within the `handle_tool` function in `server.py`.
    elif name == "start_campaigns":
        result = client.start_campaigns(args["campaign_ids"])
        return f"Started campaigns: {args['campaign_ids']}\n\n{json.dumps(result, indent=2)}"
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 offers minimal behavioral insight. It implies a mutation action ('Activate/start') but doesn't disclose permission requirements, whether the operation is reversible, rate limits, or what happens if some campaigns fail to start. This is inadequate for a mutation tool.

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 extremely concise (one sentence) and front-loaded with the core action. There's no wasted verbiage or unnecessary elaboration, making it efficient for quick comprehension.

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?

For a mutation tool with no annotations and no output schema, the description is insufficient. It doesn't explain what 'Activate/start' entails operationally, what the expected outcome is, or potential error conditions. Given the complexity of campaign management, more context is needed.

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%, with the single parameter 'campaign_ids' clearly documented in the schema. The description adds no additional parameter context beyond what's already in the structured data, so it meets the baseline for high schema coverage.

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 ('Activate/start') and resource ('one or more campaigns'), making the purpose immediately understandable. However, it doesn't differentiate from sibling tools like 'stop_campaigns' or 'create_campaign' beyond the basic verb difference.

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 'create_campaign' or 'stop_campaigns'. The description doesn't mention prerequisites (e.g., campaigns must exist and be in a stoppable state) or contextual constraints.

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