Skip to main content
Glama

create_structured_snippet

Builds a Google Ads structured snippet extension and links it to a campaign or ad group using predefined headers and value lists.

Instructions

Create a structured snippet extension asset and link it to a campaign or ad group.

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

Input Schema

NameRequiredDescriptionDefault
headerYesSnippet header (e.g. 'Types', 'Brands', 'Styles'). Must be a predefined Google Ads header value.
valuesYesList of snippet values (3-10 recommended, e.g. ['Type A', 'Type B'])
confirmNoMust be true to execute the creation.
ad_group_idNoAd group ID to link to. Provide either this or campaign_id.
campaign_idNoCampaign ID to link to. Provide either this or ad_group_id.
customer_idNoGoogle Ads customer ID (no dashes). Uses active account if not provided.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and delivers little. It does not mention that creation requires confirm=true, that it is an irreversible mutation on a live ad account, what permissions or customer_id scoping are needed, or what happens if both/neither campaign_id and ad_group_id are passed.

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?

A single front-loaded sentence with no filler. It is efficient, though the terseness edges toward under-specification rather than optimal density for a mutating tool with six parameters.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a write operation with zero annotation coverage, six parameters, and a two-step confirm requirement, the description omits everything an agent needs beyond the schema: the confirmation gate, the customer_id fallback behavior, and the one-of linking constraint. An output schema exists, so return values need not be explained, but the operational gaps remain significant.

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 is already documented in the schema, including the confirm gate and the campaign/ad-group exclusivity. The description adds no parameter meaning beyond noting that the asset gets linked, 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 ('Create'), a specific resource ('structured snippet extension asset'), and the linking side effect. An agent can distinguish it from sibling creators like create_callout or create_sitelink by the resource name, though the description never explicitly contrasts them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use, when-not-to-use, or prerequisite guidance. The phrase 'link it to a campaign or ad group' hints at context but does not tell an agent when a structured snippet is the right extension versus a callout, sitelink, or image extension, all of which are sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools