Skip to main content
Glama

create_campaign

DestructiveIdempotent

Build and publish a campaign using existing AdeptAds credits and workers. The campaign is always created PAUSED; serving starts only through set_campaign_status ENABLED. currency_code must equal the account currency. Reusing a key never dispatches twice.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "account": "<account>",
      "request": "<request>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "create_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountYes
requestYes
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true; the description adds real value by explaining that credits/workers are consumed, that the created object is inert until enabled, and what key reuse actually means ('never dispatches twice'). It stops short of describing the dispatch/async nature implied by that sentence, what the response contains, or how to track completion, leaving meaningful behavioral gaps for a destructive, open-world mutation.

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?

Four short sentences, front-loaded with the action and then the constraints an agent most needs before calling. There is little waste, though the 'credits and workers' clause is mostly flavor and could be tightened into a cost statement.

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?

This is a complex creation call with a deeply nested request object and no output schema, so the description should say more about what comes back and how the dispatch resolves. It covers the paused-state and idempotency essentials but leaves the agent guessing about the returned campaign identifier and the async/status path (e.g., get_task_status) needed to confirm the build.

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?

Top-level schema coverage is 0% for the three required parameters (account, request, idempotency_key), so the description must carry the burden. It compensates for two of them—currency_code validation against the account currency and the semantics of idempotency_key reuse—but says nothing about the account reference or how request sub-objects (bidding strategy, geo, mode) trade off against each other.

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 opens with a specific verb+resource pair, 'Build and publish a campaign,' and immediately scopes it to 'existing AdeptAds credits and workers.' It partially differentiates from siblings by naming set_campaign_status as the tool that actually starts serving, so an agent can tell this is the creation step rather than a lifecycle control.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the key precondition (campaign is always created PAUSED and serving only starts via set_campaign_status ENABLED) and a hard input constraint (currency_code must equal the account currency). That is clear when-to-use and hand-off context, though it gives no explicit when-not-to-use or guidance on choosing between creation and update paths.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources