Skip to main content
Glama

get_competitive_metrics

Retrieve impression share and competitive positioning metrics for Google Ads campaigns to see how often ads appear and whether budget or ad rank causes lost impressions.

Instructions

Get impression share and competitive positioning metrics for campaigns.

Shows how often your ads appear vs. the total eligible impressions, and why you're losing impressions (budget vs. rank). Available to ALL accounts.

Key metrics:

  • search_impression_share: % of impressions you received out of total eligible

  • search_top_impression_share: % of impressions shown above organic results

  • search_abs_top_impression_share: % of impressions shown as the very first ad

  • search_budget_lost_impression_share: % of impressions lost due to budget

  • search_rank_lost_impression_share: % of impressions lost due to ad rank (QS + bid)

  • search_exact_match_impression_share: impression share for exact match queries

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_competitive_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
date_rangeNoDate range: LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH, etc.LAST_30_DAYS
campaign_idNoFilter to a specific campaign ID
customer_idNoGoogle Ads customer ID (no dashes). Uses active account if not provided.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden; it does disclose the access condition ('Available to ALL accounts') and explains what each metric means in domain terms. It is silent on data freshness/lag and on whether impression-share metrics can return null for low-volume campaigns, which are the practical behavioral pitfalls here. The name plus the access note cover the basic read-only nature.

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?

Purpose and the loss-reason framing are front-loaded, and the metric bullet list is genuinely informative for interpreting the output rather than restating parameter names. The six-item glossary is slightly long but each line earns its place by defining a field name the agent will see in the response.

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?

With an output schema present, return values need no explanation, and all three parameters default to null/last-30-days so the tool is callable with no arguments. The remaining gap is guidance on metric availability (null impression share under volume thresholds) and routing versus the auction-insights sibling.

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 description coverage is 100%, with date_range enumerations and account/campaign fallback behavior already documented in the schema, so the baseline is 3. The description adds nothing about how filtering by campaign_id narrows the metrics or how customer_id interacts with the active account, but it does not need to.

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 resource (impression share and competitive positioning metrics) and scope (campaigns), then enumerates the six returned fields, which separates it from generic performance siblings like get_campaign_performance. It never names an alternative tool, so the differentiation is implicit through the metric list rather than asserted.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description frames the use case ('show how often your ads appear… and why you're losing impressions'), which implies when to reach for it. It also states 'Available to ALL accounts', hinting at an access restriction other tools may not have. However, there is no explicit when-not guidance and no mention of the overlapping sibling get_auction_insights, leaving the agent to infer which to call.

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