Skip to main content
Glama

Outil.io

Create ad campaign

create_ad_campaign

Créer la campagne publicitaire EN PAUSE : par l’API Meta quand la régie est connectée, sinon tâche navigateur dans le gestionnaire de publicités. Aucune dépense ne démarre sans le client.

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": {
      "id": "<id>"
    },
    "name": "create_ad_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and openWorldHint=true. The description adds genuinely useful context beyond that: the campaign is created paused, no spend can start without the client, and the mechanism varies between an API call and a browser task. The one gap is that it never says whether an in-progress browser task must be polled or claimed later.

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?

One dense sentence that front-loads the action, the paused state, and the safety guarantee, with no filler. The all-caps emphasis on 'EN PAUSE' is slightly unusual but does draw attention to the most consequential fact.

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?

The description covers state and execution mechanism well for a one-parameter tool with no output schema, but it leaves the parameter meaning and the expected outcome (a campaign record? a queued browser task?) unexplained. For an open-world creation tool that may hand off to a browser, that is a meaningful omission.

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?

There is a single required parameter, 'id', with 0% schema description coverage, so the description carries the full burden of explaining it — and it says nothing. An agent cannot tell whether 'id' identifies a client, a campaign plan, a project, or an ad account, which is a real risk of passing the wrong value.

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 states a specific verb and resource ('Créer la campagne publicitaire') and adds a key qualifier ('EN PAUSE'), which immediately separates it from check_ad_campaign and subscribe_to_campaign. What it does not do is explicitly name a sibling or state the boundary against them, so it stops short of a 5.

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

Usage Guidelines3/5

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

It describes the execution path — Meta API when the ad network is connected, otherwise a browser task in the ads manager — which tells the agent what will happen but not when a caller should choose this tool over alternatives. There are no explicit when-not conditions or sibling routing beyond the connection-state branch.

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.