Skip to main content
Glama
Google Ads MCP Plus

Google Ads MCP Plus

by marcvrn

generate_keyword_historical_metrics

Read-only

Retrieves historical keyword metrics from Google Ads for a customer, helping you assess past performance and plan keyword strategy.

Instructions

Get historical keyword metrics. Request is GenerateKeywordHistoricalMetricsRequest JSON without customer_id. Availability and quotas depend on Google Ads API access.

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": {
      "customer_id": "<customer_id>",
      "request": "<request>"
    },
    "name": "generate_keyword_historical_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes
customer_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds real value by noting quotas/availability depend on Google Ads API access, but says nothing about the shape or size of the returned data despite there being no output schema.

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?

Three short sentences, front-loaded with the purpose, then the request-shape caveat. No redundancy, though the quota sentence is somewhat generic.

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?

For a thin API passthrough with an opaque nested request object and no output schema, naming the request type and the customer_id split is the minimum an agent needs, but the description gives no hint about what metrics come back or what the request may contain. Adequate rather than complete.

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 0% and the request object is an untyped nested object with additionalProperties, so the schema tells the agent nothing. The description partially compensates by identifying the payload as GenerateKeywordHistoricalMetricsRequest JSON and clarifying that customer_id is passed at the top level, not inside the request. The actual fields of that nested request remain undocumented and must be known from the Google Ads API.

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 verb and resource ("Get historical keyword metrics") and names the underlying request type, so an agent knows it retrieves past metrics rather than forecasts. It does not differentiate from the sibling forecasting/ideas tools, so it stops short of 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?

No statement of when to use this versus generate_keyword_forecast or generate_keyword_ideas, and no prerequisite conditions described beyond a vague note that availability depends on API access. The agent must infer selection 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.