Skip to main content
Glama

Draft a structured snippet edit

update_structured_snippet

Draft changing a structured snippet asset in place — returns a PREVIEW.

Replaces the snippet's values (and header, if given). The asset keeps its ID and performance history everywhere it is linked. The preview pins the current header and values; an edit in Google Ads before the apply stops it.

Google Ads API: https://developers.google.com/google-ads/api/docs/start

Input Schema

NameRequiredDescriptionDefault
headerNoNew header (English or translated, as in draft_structured_snippets); empty keeps the current one as Google stores it, whatever its language.
valuesYesThe complete new list of 3-10 values, each at most 25 characters.
asset_idYesNumeric ID of the structured snippet asset.
customer_idNoGoogle Ads customer ID (digits, dashes optional). Defaults to the configured account.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / header / description
      Previous value: -"New header (same list as draft_structured_snippets); empty\nkeeps the current one."New value: +"New header (English or translated, as in\ndraft_structured_snippets); empty keeps the current one as Google\nstores it, whatever its language."
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false) by explaining that the call does not mutate anything yet, that the asset retains its ID and performance history across all links, and that the preview pins the current header/values so a concurrent Google Ads edit aborts the apply. That optimistic-concurrency detail is genuinely useful and not derivable from structured fields.

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?

The preview-returning nature is front-loaded in the first line, and the follow-up sentences each carry real information about identity retention and stale-edit handling. The trailing Google Ads API link is filler that doesn't earn its place.

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 a full output schema, 100% parameter coverage, and annotations present, the description only needs to supply behavioral context — which it does through the preview semantics, ID/history preservation, and abort-on-stale-edit rule. Only the missing explicit apply-step routing keeps it from being complete.

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% and each parameter (header, values, asset_id, customer_id) is already documented in the schema, including the 3-10 values / 25-character limits. The description only echoes the header/values pinning behavior without adding format or constraint detail, so the baseline 3 applies.

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 ('Draft changing a structured snippet asset in place') and immediately flags the key output property ('returns a PREVIEW'). The word 'in place' plus 'keeps its ID' signals an update rather than a create, distinguishing it implicitly from draft_structured_snippets, though the sibling is never named.

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?

The draft/preview framing implies this is a proposal step that must be followed by an apply ('an edit in Google Ads before the apply stops it'), but the description never says explicitly when to pick this over draft_structured_snippets or how it relates to confirm_and_apply. Usage is inferable rather than stated.

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.