Skip to main content
Glama

Create a Microsoft Advertising responsive search ad

msads_create_responsive_search_ad
Idempotent

Create a responsive search ad in an ad group from headlines and descriptions that Microsoft mixes and matches. It is created PAUSED unless status is 'Active', so it does not serve until someone turns it on. Text limits are checked before anything is sent. Use dryRun to review the ad first. Write ads for the business honestly: do not invent offers, prices or claims the user did not give you.

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": {
      "adGroupId": "<adGroupId>",
      "headlines": "<headlines>",
      "descriptions": "<descriptions>",
      "finalUrl": "<finalUrl>"
    },
    "name": "msads_create_responsive_search_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
path1NoOptional display path, up to 15 characters, no '/'.
path2NoOptional second display path (needs path1).
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.
statusNoPaused (default) or Active.Paused
finalUrlYesLanding page, a full URL (https://...).
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.
adGroupIdYesAd group id, from msads_get_ad_groups.
headlinesYes3 to 15 headlines, each 1 to 30 characters (count them: longer ones are rejected) and all different.
descriptionsYes2 to 4 descriptions, each 1 to 90 characters (count them: longer ones are rejected) and all different.
pinnedHeadlinesNoHeadlines to pin to a fixed position (1 = first, up to 3); several can share a position and Microsoft rotates them.
pinnedDescriptionsNoDescriptions to pin to a fixed position (1 = first, up to 2); several can share a position and Microsoft rotates them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / pinnedDescriptions
      Added value: +{
      +  "description": "Descriptions to pin to a fixed position (1 = first, up to 2); several can share a position and Microsoft rotates them.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "position": {
      +        "maximum": 2,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "text": {
      +        "description": "One of the ad's descriptions, exactly as written.",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "text",
      +      "position"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / pinnedHeadlines
      Added value: +{
      +  "description": "Headlines to pin to a fixed position (1 = first, up to 3); several can share a position and Microsoft rotates them.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "position": {
      +        "maximum": 3,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "text": {
      +        "description": "One of the ad's headlines, exactly as written.",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "text",
      +      "position"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed7 schema fields changed
    • addedInput schema / properties / adGroupId / pattern
      Added value: +"^\\d+$"
    • changedInput schema / properties / descriptions / description
      Previous value: -"2 to 4 descriptions, each up to 90 characters and all different."New value: +"2 to 4 descriptions, each 1 to 90 characters (count them: longer ones are rejected) and all different."
    • addedInput schema / properties / descriptions / items / maxLength
      Added value: +90
    • addedInput schema / properties / descriptions / items / minLength
      Added value: +1
    • changedInput schema / properties / headlines / description
      Previous value: -"3 to 15 headlines, each up to 30 characters and all different."New value: +"3 to 15 headlines, each 1 to 30 characters (count them: longer ones are rejected) and all different."
    • addedInput schema / properties / headlines / items / maxLength
      Added value: +30
    • addedInput schema / properties / headlines / items / minLength
      Added value: +1
  3. Added

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=true), the description discloses meaningful behavior: default PAUSED state so no spend until activated, validation of text limits occurring before the request is sent, and that dryRun is free and cannot affect spend. It does not explain what happens if the same ad is submitted twice, despite idempotentHint=true, nor any permission or rate considerations for an open-world write.

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 tight sentences, front-loaded with what the tool builds, followed by operational traits, then the preview guidance and a content-integrity instruction. The PAUSED clause slightly restates the schema default, but the repetition earns its place by warning about live serving status.

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 an 11-parameter write tool with full schema coverage, no output schema, and annotations already declaring safety, the description covers the operationally important points: resulting status, pre-send validation, preview option, and honest copy constraints. Only error/duplicate behavior and any account-permission caveats are left unaddressed.

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%, so every parameter including dryRun, status, and the pinned arrays is already documented, and the baseline is 3. The description reinforces the status default and the dryRun workflow but adds little parameter-level meaning that the schema does not already state, such as character-counting syntax or pinning rules.

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: 'Create a responsive search ad in an ad group from headlines and descriptions that Microsoft mixes and matches,' which tells the agent exactly what is produced and how the creative assets combine. It does not explicitly flag the boundary against the sibling msads_update_responsive_search_ad, so sibling differentiation rests on the names rather than the text.

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?

Clear context is given for the creation workflow: the ad lands PAUSED unless status is 'Active' and 'does not serve until someone turns it on,' plus a recommended pattern to 'Use dryRun to review the ad first.' There is no explicit exclusion or pointer to the update tool for editing an existing ad, so the when-not guidance is absent.

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