Skip to main content
Glama
shopify-chatgpt-ads-mcp

shopify-chatgpt-ads-mcp

by Avada-AI

Edit ad group

update_ad_group

Update an ad group's name, description, context hints, or product filters without changing its status or bid.

Instructions

Change name, description, context hints or the product filters of an ad group. Never changes status or bid (use set_bid). context_hints and product_filters replace the whole list. MEASURED: a list read right after can still show old hints; get_ad_group by id is current.

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": {
      "ad_group_id": "<ad_group_id>"
    },
    "name": "update_ad_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
ad_group_idYesAd group id
descriptionNo
context_hintsNo
product_feed_idNoFeed id of the campaign, needed with product_filters
product_filtersNoComplete new filter list; [] removes all filters

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare readOnly=false, destructive=false, openWorld=true, so the description carries real weight and delivers it: list-replacing semantics for context_hints and product_filters, plus an eventual-consistency warning that a list read may be stale and get_ad_group is current. It does not say whether omitted fields are left untouched (partial update) or what happens to the nested product_filters validity, which are meaningful gaps for a mutation tool.

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?

Three compact sentences, front-loaded with the mutable field set, then the exclusion, then the replacement semantics and consistency caveat. No redundant restatement of the title or schema.

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?

For a six-parameter mutation tool with a nested filter array and no output schema, this covers the essentials: what changes, what cannot change, replacement behavior, and read-after-write consistency. The remaining gap is partial-update semantics for omitted fields and the coupling of product_feed_id with product_filters, which is left entirely to the schema.

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 50%, so the description compensates where it matters: "replace the whole list" clarifies the merge-vs-replace question for context_hints, which the schema does not state (only product_filters documents this). It says nothing about product_feed_id's requirement, though the schema already covers that, nor about null description semantics.

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 names a specific verb ("Change") and enumerates exactly which fields are mutable (name, description, context hints, product filters) on a named resource (ad group). It immediately delineates the boundary against a sibling by stating it never changes status or bid and pointing to set_bid.

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

Usage Guidelines5/5

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

It gives an explicit when-not (status/bid edits) and routes those cases to set_bid, and it directs the agent to get_ad_group for an authoritative read instead of a list. The guidance is actionable without opening any other schema.

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