Skip to main content
Glama
Google Ads MCP Server

Google Ads MCP Server

undo_change

Revert a logged Google Ads change by changeId: restores updates from snapshots and deletes created objects; note that REMOVE operations cannot be undone.

Instructions

Връща назад промяна от локалния change log по нейния changeId. Update-ите се възстановяват от записаната снимка, създадените обекти се премахват. REMOVE операциите НЕ могат да се върнат — Google Ads API не поддържа un-remove.

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": {
      "changeId": "<changeId>"
    },
    "name": "undo_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoПоказва какво би направил undo-то, без да го прилага.
changeIdYesID от list_changes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that updates are restored from a saved snapshot, created objects are deleted, and REMOVE operations are permanently irreversible due to an API limitation. Missing details are secondary (permissions, whether the undo itself is reversible, what the response contains).

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 short sentences, front-loaded with the action and its scope, followed by behavioral consequences and the critical exclusion. No filler.

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 mutation tool with no annotations and no output schema, the definition covers what gets restored versus deleted and the irreversibility caveat — enough to invoke it correctly. Return values and post-undo verification are left unstated, and the description is written in Bulgarian while the schema metadata is mixed-language.

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% and the schema already describes changeId as coming from list_changes and dryRun as a preview flag. The description adds no new meaning beyond the schema for either parameter, 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 — reverting a change from the local change log by changeId — which an agent can distinguish from change_history/list_changes. It does not explicitly name a sibling alternative, but the purpose itself is unambiguous.

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?

Implies when to use it (after identifying a changeId via list_changes) and supplies a hard exclusion: REMOVE operations cannot be reverted, so the agent should not attempt it. No explicit statement of when to prefer another tool instead.

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