Skip to main content
Glama

Create a Microsoft Advertising ad group

msads_create_ad_group
Idempotent

Create an ad group in a campaign. It is ALWAYS created paused. Give it a default max CPC bid (keywords without a bid of their own use it). Names must be unique within the campaign. Language is only needed if the campaign has none set. Use dryRun to review.

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": {
      "campaignId": "<campaignId>",
      "name": "<name>",
      "cpcBid": "<cpcBid>"
    },
    "name": "msads_create_ad_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesAd group name, up to 256 characters, unique in the campaign.
cpcBidYesDefault max CPC bid, in the account currency.
dryRunNoPreview only. Microsoft has no validate-only mode, so Caybl reads the current value and shows exactly what would change (before and after) without sending anything. Free, and cannot affect spend.
networkNoWhere it can show. Default: Microsoft and partner sites.OwnedAndOperatedAndSyndicatedSearch
languageNoOnly if the campaign has no language set, e.g. English.
accountIdNoMicrosoft Advertising account id or account number (e.g. 'F123ABCD'), as listed by msads_list_accounts. Only needed when the sign-in can reach more than one account.
campaignIdYesCampaign id, from msads_get_campaigns.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / campaignId / pattern
      Added value: +"^\\d+$"
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true, openWorldHint=true), so the description's job is to add beyond that, which it does: the ad group always starts paused, names must be unique within the campaign, and dryRun previews without spending. It stops short of mentioning permissions or any follow-up step needed to activate the paused group.

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, each carrying a distinct operational fact, with the most surprising constraint (always paused) placed early. Nothing is padded or repeated from the schema.

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

Completeness4/5

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

For a seven-parameter write tool with no output schema, the description covers the pause default, name uniqueness, bid semantics, the conditional language parameter, and the dryRun preview path. It omits what happens on a name collision (error vs. reuse) and how to later resume the paused group, which keeps it from a 5.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning the schema lacks: cpcBid is the default used by keywords that carry no bid of their own, and language is only required when the campaign has no language. The network and accountId parameters are left entirely to their schema descriptions.

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?

States a specific verb and resource ('Create an ad group in a campaign') and immediately adds the decisive behavioral fact that it is ALWAYS created paused. It does not explicitly differentiate itself from the near-duplicate sibling create_ad_group or from msads_create_campaign, so it falls 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?

Gives two conditional usage hints: language is only needed when the campaign has none set, and dryRun should be used to review first. However, it never names an alternative tool or states when not to use this one, so the guidance is implied-by-constraint rather than explicit routing.

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