Skip to main content
Glama
Google Ads MCP Server

Google Ads MCP Server

compare_date_ranges

Compare Google Ads performance metrics between two date ranges to reveal period-over-period changes, such as this month versus last month.

Instructions

Compare performance metrics between two date ranges (e.g., this month vs last month).

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>",
      "startDate1": "<startDate1>",
      "endDate1": "<endDate1>",
      "startDate2": "<startDate2>",
      "endDate2": "<endDate2>"
    },
    "name": "compare_date_ranges"
  }
}

Input Schema

NameRequiredDescriptionDefault
endDate1YesPeriod 1 end date (YYYY-MM-DD)
endDate2YesPeriod 2 end date (YYYY-MM-DD)
campaignIdNo
customerIdYesThe customer ID
startDate1YesPeriod 1 start date (YYYY-MM-DD)
startDate2YesPeriod 2 start date (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description carries the entire behavioral burden. 'Compare' implies a read, but it never confirms read-only behavior, says which metrics are compared, whether output is deltas, percentages, or side-by-side totals, or whether the two ranges may overlap or must be disjoint. Only the surface intent is disclosed.

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 zero filler; the example is compact and clarifying rather than redundant. Brevity here reflects under-specification rather than verbosity, but no sentence wastes space.

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 six-parameter analytical tool with no annotations and no output schema, the description should explain what the comparison returns and how the periods relate. As written, an agent knows the intent but not the result shape, metric scope, or period semantics needed to invoke it confidently.

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 83%, so the schema already documents the four date parameters and customerId. The description adds only the framing that the dates form two distinct periods, and the 'this month vs last month' example weakly hints that period 1 is the baseline and period 2 the comparison. The optional campaignId filter and any ordering semantics of period 1 vs period 2 remain 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?

The description gives a specific verb plus resource ('Compare performance metrics') and clarifies the resource with 'between two date ranges', so the operation is unambiguous. It does not name or differentiate itself from performance-oriented siblings such as get_ad_group_performance or execute_gaql_query, which keeps it below 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 parenthetical 'e.g., this month vs last month' implies a typical comparative-analysis scenario but never states when to choose this tool over a single-period performance getter or an ad-hoc GAQL query. There are no exclusions, prerequisites, or alternative routing guidance.

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