Skip to main content
Glama
Google Ads MCP Server

Google Ads MCP Server

get_performance_by_hour

Retrieve Google Ads performance metrics by hour of day to identify peak and low-performing times for campaign scheduling and optimization.

Instructions

Get performance broken down by hour of day.

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

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.9/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 disclosure burden, and it says almost nothing behavioral. Critically, "performance" is never defined — no indication of which metrics are returned, how hours with no data behave, whether results are timezone-adjusted, or what permissions are needed. For an analytics tool with zero annotation coverage, this is a substantial gap.

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?

A single front-loaded sentence with zero filler, which is appropriate for the length. Its economy is somewhat achieved by omission rather than by precision, but it is not padded or disorganized.

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?

With no annotations, no output schema, and only one of three parameters described, the definition leaves an agent unable to judge what a result row looks like or how to set dateRange and campaignId meaningfully. It states the breakdown axis but not enough to call the tool 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 only 33% (customerId is documented merely as "The customer ID"), yet the description adds nothing about dateRange values, the default LAST_30_DAYS window, or how campaignId scopes the hourly breakdown. With low coverage the description should compensate but does not; only the hour-of-day breakdown itself is conveyed, so it lands near the baseline rather than above it.

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?

"Get performance broken down by hour of day" names a specific verb (get) and resource (performance) plus the breakdown dimension, which separates it from siblings like get_performance_by_day_of_week or get_performance_by_device. It stops short of explicitly naming those alternatives, but the resource+dimension pattern is clear enough for an agent to distinguish it.

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 statement of when to use this tool versus the other breakdown tools, no prerequisites (e.g., that customerId is mandatory), and no exclusions or caveats. The agent must infer everything about usage context 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