Skip to main content
Glama

Get Google Ads campaign stats

google_ads_campaign_stats
Read-onlyIdempotent

A campaign's impressions, clicks, spend, conversions and CTR.

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_resource": "<campaign_resource>"
    },
    "name": "google_ads_campaign_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
date_rangeNoDefault LAST_30_DAYS.
project_idNo
campaign_resourceYesResource name, e.g. 'customers/123/campaigns/456' (google_ads_list_campaigns).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / campaign_resource / description
      Previous value: -"The campaign's resource name, e.g. 'customers/123/campaigns/456' (from google_ads_list_campaigns)."New value: +"Resource name, e.g. 'customers/123/campaigns/456' (google_ads_list_campaigns)."
    • removedInput schema / properties / project_id / description
      Removed value: -"Workspace to work in (from list_projects). Leave out for the default one."
  2. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered. The description's only addition is listing the metrics returned, which is genuinely useful given there is no output schema, but it says nothing about aggregation level, currency, or whether zero-data campaigns return empty rows.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Extremely short with zero wasted words, but it is a sentence fragment rather than a front-loaded statement of purpose and return content. Brevity here comes at the cost of specification rather than from discipline.

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?

With no output schema, the description does well to enumerate the returned metrics, which is the minimum an agent needs to decide the tool fits. It still leaves gaps a stats tool should cover: whether results are per-campaign rows or totals, and how the default date range and project_id affect the response.

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 67%: date_range documents its LAST_30_DAYS default and campaign_resource documents the expected format plus the resolving sibling. The description adds no meaning to any parameter, and project_id remains undocumented in both places — baseline 3 given the schema does most of the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment names the resource ("a campaign's") and enumerates the metrics returned, which places it beyond a tautology of the title and signals single-campaign scope versus a workspace-wide overview. However, it is a noun phrase with no verb and never explicitly distinguishes itself from google_ads_list_campaigns or get_overview_stats, so an agent must infer the difference.

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 at all: nothing says to call this after resolving a campaign resource, nor when to prefer it over get_overview_stats or google_ads_list_campaigns. Only the tool title implies usage context.

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.