Skip to main content
Glama

Metadata MCP Connector

Create or Update Microsoft Ads Ad

create_update_microsoft_ads_ad
Destructive

Create or update a Microsoft Ads text ad. An id selects an existing ad for update. Headlines are limited to 30 characters and descriptions to 90; repeated copy is rejected. Returns the ad definition or a validation/platform error.

Input Schema

NameRequiredDescriptionDefault
idNoThe existing ad ID to update. If omitted, a new ad will be created.
nameYesThe name/label for the ad in Metadata platform (max 50 characters)
headlinesYesList of headline texts for the Microsoft Ads ad (minimum 3, maximum 15 headlines, each max 30 characters). Every headline must be DISTINCT — the platform rejects the ad if two share the same text — and must not contain '!'.
descriptionsYesList of description texts for the Microsoft Ads ad (2 to 4 descriptions — 2 is the platform minimum, a single-description ad is rejected). Each description MUST be 90 characters or fewer and MUST be distinct from the others. Count every character (incl. spaces/punctuation/emoji); target 70-85 chars to leave margin for sanitization.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, and the description adds useful validation behavior (repeated copy rejected, validation/platform error returned). But it never tells the agent that an update replaces the existing headlines/descriptions wholesale, which is the key destructive consequence the annotations imply.

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?

Three short sentences, front-loaded with the create-vs-update rule, then constraints, then return behavior. The character limits largely repeat the schema, but the paragraph stays tight and wastes little space.

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?

With no output schema, the description still covers the return contract (ad definition or validation/platform error) and the id semantics. It is nearly complete for a 4-param write tool; only the overwrite behavior on update is missing.

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 30-char headline and 90-char description limits restated in the description are already fully documented in the schema. The description adds no syntax or format guidance beyond that, so the baseline of 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 description states a specific verb pair (create or update) and resource (Microsoft Ads text ad), and explicitly says an id selects update vs. create. This cleanly separates it from siblings like create_update_google_ads_ad or create_update_image_ad.

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 gives a clear selection rule: include an id to update, omit it to create. However, it names no alternatives or exclusions (e.g., use archive_ad to retire an ad, or the Google counterpart for other platforms), so the agent is left to infer cross-tool 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