Skip to main content
Glama
Google Ads MCP Server

Google Ads MCP Server

get_campaign_performance

Retrieve campaign performance metrics such as impressions, clicks, cost, conversions, CTR, and CPC to analyze Google Ads results and optimize campaigns.

Instructions

Get performance metrics for campaigns (impressions, clicks, cost, conversions, CTR, CPC, etc.).

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": {
      "customerId": "<customerId>"
    },
    "name": "get_campaign_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
endDateNoCustom end date (YYYY-MM-DD)
dateRangeNoLAST_30_DAYS
startDateNoCustom start date (YYYY-MM-DD)
campaignIdNoFilter by campaign ID
customerIdYesThe customer ID
segmentByDateNoBreak down by date

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure, and it does little beyond naming return metrics. It never states that this is a read-only operation, how the limit/pagination behaves (default 100), whether results are truncated, or that startDate/endDate override dateRange — all behaviors that would materially change how the agent calls it.

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?

One front-loaded sentence with no filler and the resource stated first. It is efficient, though so terse that conciseness shades into under-specification.

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 a seven-parameter read tool with no annotations and no output schema, the description should explain date-window precedence, pagination, and result shape. None of that is present, so an agent cannot confidently construct a correct call from the description plus partial schema descriptions alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Seven parameters with 71% schema description coverage, yet the description names none of them. The highest-risk semantic — how startDate/endDate interact with the dateRange enum default — is undocumented in both places, and segmentByDate's effect on result shape is unexplained.

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?

It uses a specific verb ("Get") with a clearly scoped resource (campaign-level performance metrics) and lists the metric set, which distinguishes it from the many sibling tools that report the same metrics at ad group, ad, keyword, or device level. The only gap is that it never says explicitly that it operates at campaign granularity versus those siblings, relying on the reader to infer it from the name.

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 mention of when to prefer this over get_ad_group_performance or get_ad_performance, and no note about the default LAST_30_DAYS window or when a custom startDate/endDate pair is preferable to dateRange. The agent must infer all routing and default behavior from the schema.

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