Skip to main content
Glama

set_campaign_conversion_goal

Assign specific conversion actions as a campaign-level goal to optimize Google Ads campaigns toward chosen conversions.

Instructions

Set a campaign to use campaign-level goals with a custom conversion goal targeting specific conversion actions.

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": {
      "campaign_id": "<campaign_id>",
      "conversion_action_ids": "<conversion_action_ids>"
    },
    "name": "set_campaign_conversion_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to execute.
campaign_idYesCampaign ID
customer_idNoGoogle Ads customer ID (no dashes). Uses active account if not provided.
conversion_action_idsYesConversion action IDs to optimize toward

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 must carry the full behavioral burden, and it does not. It never states that this overwrites or replaces existing campaign goal settings, whether the change is reversible, what happens to previously configured conversion goals, or what permissions/account constraints apply. Only the confirm gate in the schema hints at the mutation's weight.

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 well-formed sentence with the resource and scope front-loaded and no filler. It is slightly dense — 'campaign-level goals with a custom conversion goal' takes parsing — but nothing is wasted.

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 an unannotated mutation tool with four parameters, the description should disclose side effects and prerequisites; the existence of an output schema removes the need to explain return values, but nothing else compensates for the missing behavioral context.

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 all four parameters are documented (campaign_id, conversion_action_ids, customer_id, confirm). The description's phrase 'targeting specific conversion actions' merely echoes conversion_action_ids without adding format, cardinality, or selection semantics, so 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?

The description gives a specific verb+resource: it sets a campaign's conversion goal to campaign-level with a custom goal. It is clearly a write operation on campaign configuration, but it never names or contrasts with the sibling tools that touch the same object (get_campaign_conversion_goal_config, set_conversion_goal_biddable), so an agent must infer the distinction.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as set_conversion_goal_biddable or the corresponding config getter. The only invocation guidance present is in the schema ('confirm must be true to execute'), not the description.

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