Skip to main content
Glama
MCP Google Ads Server

MCP Google Ads Server

by rusik-denver

get_campaign_metrics

Retrieve Google Ads campaign performance metrics by account, date range, and status to analyze spend, clicks, and conversions.

Instructions

Pull campaign performance metrics via GAQL.

Args: account_id: Google Ads customer ID (e.g. "123-456-7890"). Defaults to first account. date_range: LAST_7_DAYS, LAST_30_DAYS, LAST_90_DAYS, or THIS_MONTH. status_filter: ALL, ENABLED, or PAUSED.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_campaign_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idNo
date_rangeNoLAST_30_DAYS
status_filterNoALL

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. "Pull" implies read-only, but nothing states permission requirements, quota/rate-limit costs of GAQL queries, multi-account behavior, or whether an empty date range returns rows or errors.

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?

The lead sentence is front-loaded and the argument block is terse with no filler. The docstring-style "Args:" formatting is a minor stylistic artifact but costs no reading effort here.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 values need not be described, and all three parameters are fully explained. However, with no annotations the definition still leaves the read-only/mutation profile and query-cost behavior unstated, which is a real gap for a metrics tool.

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

Parameters5/5

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

Schema coverage is 0% with no enums declared, so the description is the sole source of parameter meaning. It documents account_id format with an example and default fallback, plus the exact accepted values for date_range and status_filter—information found nowhere in the schema.

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 ("Pull campaign performance metrics") and names the query mechanism (GAQL). It is distinguishable from siblings like get_keyword_metrics or get_geo_performance by the campaign scope, though the description never explicitly routes the agent to those alternatives.

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 or when-not-to-use guidance, and no mention of alternatives such as get_keyword_metrics for keyword-level data. The only orienting information is the parameter list; the agent must infer that this tool covers campaign-level aggregates only.

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