Skip to main content
Glama

Google Ads: create structured snippet asset

create_structured_snippet_asset

Creates a structured snippet asset that can be linked to campaigns or ad groups.

Creating it changes no ad: it shows only once linked with
link_asset_to_campaign, link_asset_to_ad_group or
link_assets_to_customer.

Structured snippets highlight specific aspects of your products/services
(e.g., header "Brands" with values ["Nike", "Adidas", "Puma"]).

Args:
    customer_id: The Google Ads customer ID (numbers only, no hyphens).
    header: The snippet header. One of: Amenities, Brands, Courses, Degree programs,
        Destinations, Featured hotels, Insurance coverage, Models, Neighborhoods,
        Service catalog, Shows, Styles, Types.
    values: List of values for the snippet (min 3 values recommended).

Returns:
    Dictionary with the created asset resource name.

Tools revision: d80f65c0.

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": {
      "customer_id": "<customer_id>",
      "header": "<header>",
      "values": "<values>"
    },
    "name": "create_structured_snippet_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
headerYes
valuesYes
customer_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent behavior, so the bar is lower; the description still adds the non-obvious behavioral fact that the asset is inert until linked, which annotations cannot convey. It does not discuss duplicate creation or asset-name reuse, which would matter given idempotentHint=false, but the linking dependency is the key disclosure.

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 core purpose and the linking caveat are front-loaded, and the parameter constraints are scannable. The Args:/Returns: docstring formatting and the Returns line duplicate the output schema and required-parameter list, adding modest redundancy without obscuring the content.

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 three-parameter mutation tool with an output schema already covering the return value, the description supplies everything an agent needs: the resource concept, the required follow-up linking call, all valid header values, and the customer_id format. Nothing material is left unstated.

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

Parameters5/5

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

Schema description coverage is 0% and no parameter has enum constraints, yet the description documents all three parameters: customer_id format ('numbers only, no hyphens'), the full allowed header vocabulary (13 valid values that the schema does not enforce), and the values list with a minimum-size recommendation. This compensates fully for the empty schema and prevents the most likely invocation errors.

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 and resource ('Creates a structured snippet asset') and goes further to explain what a structured snippet actually is, with a concrete header/values example. It is unmistakable against the other create_*_asset siblings by resource name, though it never explicitly contrasts itself with them (e.g. callout vs. snippet assets).

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 clearly states the critical usage fact that creation alone changes no ad and that the asset only shows once linked, naming the three concrete follow-up tools (link_asset_to_campaign, link_asset_to_ad_group, link_assets_to_customer). That is strong when-and-how guidance, but there is no when-not guidance (e.g. when to prefer text or callout assets instead).

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