Skip to main content
Glama

Camberstack: Google Ads

Apply an approved proposal

apply_changes
Destructive

Applies a proposal from propose_changes to the account. Only call this after the user has explicitly approved that proposal. All or nothing: every change is checked with Google first, and if one still fails the ones before it are rolled back. Each change is logged and, unless its summary says otherwise, can be reversed with undo_changes. If the account changed since the proposal, nothing is applied and the result (status "needs approval") is a new proposal with the updated summary: show it to the user and apply it only after they approve. When one request took several proposals (e.g. add exact negatives, delete the broad ones they replace), show the summaries together and, once approved, pass them all in proposal_ids: one apply, all or nothing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "apply_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
proposal_idNoThe proposal_id a propose tool returned
proposal_idsNoInstead of proposal_id: several proposals for the same account that the user approved together, applied as one

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / proposal_ids
      Added value: +{
      +  "description": "Instead of proposal_id: several proposals for the same account that the user approved together, applied as one",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 50,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "proposal_id"
      -]
  2. Changed1 schema field changed
    • changedInput schema / properties / proposal_id / description
      Previous value: -"The id returned by propose_changes"New value: +"The proposal_id a propose tool returned"
  3. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  4. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, but the description adds real substance beyond them: all-or-nothing validation against Google, rollback of earlier changes on failure, per-change logging, and per-change reversibility via undo_changes. The only thing not covered is what the response looks like beyond the 'needs approval' status case.

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?

Front-loads the action and the approval precondition, then layers the atomicity, rollback and multi-proposal guidance in a sensible order with no filler sentences. It is on the long side, but nearly every sentence carries a decision-relevant fact.

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 destructive, non-idempotent mutation with no output schema, the description covers the failure mode, the rollback consequence, reversibility, and the one return state that requires a follow-up action. Nothing an agent needs in order to call it safely is missing.

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 100%, so the baseline is 3, and the description adds operational meaning on top: proposal_ids exists for the case where several proposals were approved together for the same account and must be applied as a single atomic operation, with the add-negatives/delete-broad-negatives example. That clarifies the relationship between the two otherwise-overlapping parameters rather than merely restating the schema.

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?

States a specific verb and resource ('Applies a proposal from propose_changes to the account') and anchors the tool to the sibling that produces its input. An agent can immediately tell this apart from propose_changes, discard_proposal and undo_changes without opening any schema.

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?

Gives an explicit precondition ('Only call this after the user has explicitly approved that proposal') and names the alternative path via undo_changes for reversal. It also covers the non-obvious branch: when the account changed, nothing is applied and the result must be re-shown and re-approved rather than retried.

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.