Skip to main content
Glama
Google Ads MCP Server

Google Ads MCP Server

get_performance_by_device

Retrieve Google Ads performance metrics broken down by device type to compare desktop, mobile, and tablet results and guide campaign optimization decisions.

Instructions

Get performance metrics broken down by device type.

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

Input Schema

NameRequiredDescriptionDefault
dateRangeNoLAST_30_DAYS
campaignIdNo
customerIdYesThe customer ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/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, yet it says nothing about return shape, metric set, aggregation granularity, rate limits, or any side effects. A single read-only-sounding sentence is insufficient disclosure for a metrics query tool with no structured safety metadata.

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?

The single sentence is front-loaded and free of filler, but its brevity comes at the cost of under-specification rather than efficiency. It is concise to a fault, leaving essentials unstated.

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 three-parameter metrics tool with an enum date range, an optional campaign filter, no annotations, and no output schema, the definition should explain default behavior and filtering. As written, an agent can guess the intent but cannot confidently predict what it will get back or how campaignId constrains results.

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?

Schema coverage is only 33% and the one documented parameter ('customerId') is described only as 'The customer ID', which adds nothing. The description never mentions the three parameters, so it does not explain the meaning of the optional campaignId filter or the dateRange default and its interaction with the breakdown.

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 states a specific verb ('Get') and resource ('performance metrics') plus the breakdown dimension ('by device type'), which lets an agent distinguish it from siblings such as get_performance_by_day_of_week or get_performance_by_network. It stops short of explicitly naming those alternatives or stating scope limits.

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 this tool is the wrong choice versus the other performance breakdown tools, and no prerequisites such as required permissions. An agent must infer the selection logic from the name alone.

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