Skip to main content
Glama

Google Ads & Meta Ads

Google Ads: Declare EU Political Advertising

gads_declare_eu_political_ads
Idempotent

Record whether a Google Ads campaign contains political advertising in the European Union. Google requires this declaration on every campaign and refuses every change to a campaign that has none — targeting, budget, bidding and ads alike — with "This operation is only allowed after you confirm if this campaign has European Union political ads". Campaigns created outside this server, or before the rule, are the ones missing it. The declaration is a legal statement the advertiser makes about their own ads: ask the person whose account it is and pass their answer. Never assume it, and never call this tool to clear an error without asking first. Declaring political advertising also obliges the advertiser to complete Google's EU political advertising verification before those ads may run.

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>",
      "contains_political_ads": "<contains_political_ads>"
    },
    "name": "gads_declare_eu_political_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesCampaign to declare for.
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.
contains_political_adsYesThe advertiser's answer: true if this campaign runs political advertising in the EU, false if it does not. Pass what the advertiser told you, not a guess.

Output Schema

NameRequiredDescriptionDefault
campaignIdYesCampaign that was declared for.
declarationYesGoogle's own value: CONTAINS_EU_POLITICAL_ADVERTISING or DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING.
campaignNameYesName of that campaign.
containsPoliticalAdsYesThe declaration now on the campaign.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and openWorldHint=true, but the description adds substantial context beyond them: the exact API error text that blocks all downstream edits, the legal nature of the declaration, and the follow-on obligation to complete Google's EU political advertising verification. It does not describe what a successful response contains, but an output schema exists to cover that.

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?

Five sentences, front-loaded with the purpose and then escalating to consequence, obligation, and guardrail; most sentences carry unique operational information. The 'never assume it' and 'never call this tool to clear an error without asking first' clauses overlap slightly, costing a bit of economy.

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 three-parameter mutation tool this covers everything an agent needs: the trigger situation, the required human input, the API failure it resolves, and the compliance follow-on. Return values are handled by the existing output schema, so nothing material 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 earns credit by explaining the provenance requirement for contains_political_ads ('ask the person whose account it is and pass their answer. Never assume it'), which the schema only hints at with 'Pass what the advertiser told you, not a guess.' campaign_id and customer_id add nothing beyond 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+resource ('Record whether a Google Ads campaign contains political advertising in the European Union'), which is distinctive among the sibling set of campaign CRUD and listing tools. An agent can tell this apart from gads_create_campaign or gads_activate_campaign without opening either 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 explicit when-to-use ('campaigns created outside this server, or before the rule, are the ones missing it') and when-not-to-use guidance ('never call this tool to clear an error without asking first'). It also names the blocking consequence (every change refused) that makes the tool necessary, so the agent knows the trigger condition and the prohibition.

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