Skip to main content
Glama

Google Ads & Meta Ads

Google Ads: Create Conversion Action

gads_create_conversion_action
DestructiveIdempotent

Create a conversion action in a Google Ads account: UPLOAD_CLICKS to import offline sales or leads tied to ad clicks, UPLOAD_CALLS to import calls from ads that later converted (send both with gads_upload_conversions), or WEBPAGE for a website tag, whose code snippets are returned to put on the site. Sets category, counting type, default value and currency, lookback windows and whether it is primary. Google makes a new action primary by default, which means Smart Bidding starts optimizing toward it; pass primary_for_goal false to only report it. An action with the same name is reused, not duplicated. To change an existing action use gads_update_conversion_action.

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": {
      "name": "<name>",
      "type": "<type>"
    },
    "name": "gads_create_conversion_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesAction name, unique in the account, at most 100 characters.
typeYesWhat the action counts.
categoryNoConversion category, e.g. PURCHASE, SUBMIT_LEAD_FORM, QUALIFIED_LEAD, PHONE_CALL_LEAD, SIGNUP. Defaults to DEFAULT.
customer_idNoGoogle Ads account to change: customer id or exact account name. Required when you have several accounts — the stored default is never used for a change then.
counting_typeNoONE_PER_CLICK for leads (one per click), MANY_PER_CLICK for purchases (every one).
default_valueNoValue used when a conversion arrives without one.
primary_for_goalNoTrue (Google's default) feeds Smart Bidding and the Conversions column; false only reports it under All conversions.
default_currency_codeNoISO currency of default_value, e.g. USD.
always_use_default_valueNoTrue ignores the values sent with conversions and always uses default_value.
view_through_lookback_daysNoDays after a view a conversion counts, 1-30. WEBPAGE only.
click_through_lookback_daysNoDays after a click a conversion counts, 1-90.

Output Schema

NameRequiredDescriptionDefault
nameYesAction name.
typeYesAction type.
createdYesFalse when an action with that name was reused.
customerIdYesAccount the action belongs to.
tagSnippetsYesWebsite tag code, for a WEBPAGE action. Empty otherwise.
primaryForGoalNoWhether it feeds bidding, as requested or by default.
conversionActionIdYesId of the action.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that Google makes new actions primary by default, which triggers Smart Bidding optimization, and that passing primary_for_goal=false limits it to All conversions reporting. It also explains the idempotent behavior (same-name actions are reused, not duplicated) and that WEBPAGE returns code snippets to install, which the annotations alone do not convey.

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-loaded with the action types and the primary/create-vs-update distinction, and every sentence carries information. It is dense to the point of being a single long chain of clauses, which slightly hurts scannability but not correctness.

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?

Covers the create-vs-update boundary, the type-specific follow-up tool, the default primary behavior, and the dedup rule for an 11-parameter mutation tool. With an output schema present, return values need no further explanation, and nothing an agent needs to call this 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; the description adds real meaning on top by explaining the consequence of primary_for_goal and the intent behind type choices. It does not add much for category, lookback windows, or currency beyond what the schema already documents.

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 (create a conversion action) and immediately disambiguates the three action types (UPLOAD_CLICKS, UPLOAD_CALLS, WEBPAGE) with the business meaning of each. It also names the sibling used for changes (gads_update_conversion_action), so an agent can route correctly without opening schemas.

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?

Explicitly routes work to alternatives: use gads_upload_conversions to send offline sales/calls, use gads_update_conversion_action to modify an existing action, and this tool to create. It also gives a concrete decision rule for primary_for_goal (false if you only want reporting under All conversions).

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.

Resources