Skip to main content
Glama
Google Ads MCP

Google Ads MCP

by gabogabucho

Get Campaign Performance

get_campaign_performance

Retrieve Google Ads campaign metrics—impressions, clicks, cost, conversions, CTR, and average CPC—for a date range to compare spend and results.

Instructions

Get performance metrics for all campaigns in a Google Ads account.

Returns impressions, clicks, cost (USD), conversions, CTR, and average CPC. Results are sorted by spend (highest first), limited to 100 campaigns.

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": {
      "customer_id": "<customer_id>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "get_campaign_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateYesEnd date in YYYY-MM-DD format
start_dateYesStart date in YYYY-MM-DD format
customer_idYesGoogle Ads account ID (with or without dashes, e.g. "123-456-7890")

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose valuable behavior: the exact metric set, USD cost, descending spend sort, and a hard 100-campaign limit. However it does not say what happens past that limit (truncation vs pagination), nor mention read-only/permission characteristics, leaving real gaps for a reporting tool.

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?

Two sentences, front-loaded with the purpose, followed by return values and the sort/limit constraint. No filler or redundancy.

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?

An output schema exists so return fields needn't be spelled out, yet the description still names the key metrics and the 100-row cap. The one material omission is what happens beyond 100 campaigns and whether pagination is possible, which an agent would want to know.

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% with three fully documented parameters (customer_id with dash format, start/end dates in YYYY-MM-DD), so the schema does the work. The description adds no parameter meaning beyond implying a date range and account scoping; 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 ('Get performance metrics for all campaigns') plus the account scope, which naturally separates it from get_ad_performance and get_keyword_performance. It does not explicitly name or contrast with any sibling, so it stops short of a 5.

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?

The description never says when to use this versus alternatives such as get_ad_performance or run_gaql_query, and gives no exclusions or prerequisites. Usage is only implied by the word 'campaigns'.

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