Skip to main content
Glama

Edit a Microsoft Advertising responsive search ad

msads_update_responsive_search_ad
DestructiveIdempotent

Change a responsive search ad's headlines, descriptions, final URL or display paths. Only what you pass is changed, but a list of headlines or descriptions REPLACES the whole existing list, so send the complete new set. Editing a live ad sends it back for Microsoft's review. Returns the previous text so it can be restored. Use dryRun first.

Input Schema

NameRequiredDescriptionDefault
adIdYesAd id, from msads_get_ads (must be a responsive search ad).
path1NoNew first display path.
path2NoNew second display path.
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.
finalUrlNoNew landing page URL.
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.
headlinesNo3 to 15 headlines, each up to 30 characters and all different.
descriptionsNo2 to 4 descriptions, each up to 90 characters and all different.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses the destructive list-replacement semantics (partial lists wipe existing values), warns that editing a live ad triggers Microsoft review, states the return value (previous text, so it can be restored), and explains dryRun is free and cannot affect spend. This is exactly the mutation-risk context annotations alone (destructiveHint/idempotentHint) cannot convey.

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 what changes, then the replacement caveat, then the review consequence, then the dryRun recommendation. Every sentence carries distinct operational information with no filler.

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 9-parameter mutation tool with no output schema, the description covers the mutation risk, the review side-effect, the return payload, and the safe-preview path. An agent has everything needed to invoke it responsibly.

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, and the description earns a bump by clarifying the non-obvious semantics of 'headlines'/'descriptions' as whole-list replacement rather than merge, plus steering to dryRun. It adds no character limits or counts, but those are already in the schema.

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?

States a specific verb (Change) and resource (responsive search ad) and enumerates the editable fields: headlines, descriptions, final URL, display paths. This cleanly separates it from msads_create_responsive_search_ad and from status-only siblings like update_ad_status, without the agent needing to open another 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?

Gives explicit operating guidance: use dryRun first, and send the complete new set when passing lists. It does not spell out when to prefer a sibling tool (e.g. update_ad_status for pausing), but the field list implicitly excludes those cases and the dryRun-first instruction is a concrete usage rule.

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