Skip to main content
Glama

Create a Microsoft Advertising campaign

msads_create_campaign

Creates a Search campaign with a daily budget in the ad account currency. It is created Paused unless status is Active, so nothing spends before ad groups, ads and keywords exist; msads_set_status activates it later. Returns the new campaignId. Languages defaults to All, timeZone to the ad account's.

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": {
      "adAccountId": "<adAccountId>",
      "name": "<name>",
      "dailyBudget": "<dailyBudget>"
    },
    "name": "msads_create_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCampaign name, unique in the account.
statusNoPaused (default) or Active.Paused
timeZoneNoMicrosoft time zone name (e.g. BrusselsCopenhagenMadridParis). Default: the ad account's.
accountIdNoFezola accountId of the connected Microsoft account (type microsoft_ads in list_accounts). Optional: the adAccountId is looked up in every connected Microsoft account.
languagesNoAd languages (e.g. ["French"]). Default ["All"].
adAccountIdYesMicrosoft Advertising ad account id (Id returned by msads_list_accounts).
dailyBudgetYesDaily budget, in the ad account currency (e.g. 20 = 20 EUR).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the bar is lower. The description adds real context beyond them: the Paused-by-default lifecycle, the currency basis of the budget, and the return value (campaignId). It does not discuss failure modes, validation errors, or what happens if the name collides.

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?

Four short sentences, front-loaded with the creation semantics before the lifecycle caveat, and the return value last. Every sentence carries information an agent would otherwise have to infer.

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

Completeness5/5

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

For a 7-parameter mutation with no output schema, the description covers the important gaps: default status and its spend implications, budget currency, defaults for languages and time zone, and the returned campaignId. An agent has enough to call it correctly and know what to do next.

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 coverage is 100%, so the schema already documents every parameter including the Paused default, the ad-account time zone default, and the languages default. The description largely restates those same defaults (languages to All, timeZone to the ad account's) rather than adding new meaning, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence states a specific verb and resource with scope qualifiers: creates a Search campaign with a daily budget in the ad account currency. It also names the lifecycle sibling (msads_set_status) that activates the campaign, so an agent can place it in the workflow without opening any schema.

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 explains the operative context clearly: campaigns are created Paused so nothing spends before ad groups, ads and keywords exist, and msads_set_status is the follow-up call. It stops short of explicit when-not-to-use guidance or naming sibling alternatives such as msads_update_campaign.

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