Skip to main content
Glama

ads_keyword_historical_metrics

Read-onlyIdempotent

Google Keyword Planner: search volume and bid ranges for specific keywords. Returns { text, avg_monthly_searches, competition, competition_index, low_bid, high_bid, monthly_searches: [{ year, month, searches }] } per keyword. Creates nothing. Google Ads only; other networks answer 501.

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": {
      "ad_account_id": "<ad_account_id>",
      "keywords": "<keywords>"
    },
    "name": "ads_keyword_historical_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordsYesKeywords to look up, up to 20
languageNoLanguage id from ads_targeting_search (type=language)
locationsNoNumeric location ids from ads_targeting_search
profile_idNoAds profile hashid (the profile_id of an ad account in ads_accounts_list). Optional when exactly one ads profile is connected; required when several are.
ad_account_idYesAd account id: the network's own id, from ads_accounts_list (id field)
profile_group_idNoProfile group hashid, to scope the call to one profile group. Usually not needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.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=false, so 'Creates nothing' largely restates structured data. The genuinely additive disclosure is the predicted return shape per keyword and the 501 behavior for non-Google Ads networks. With annotations carrying the safety profile, this is useful but not rich – no note on latency, quota, or handling of keywords with no volume data.

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

Conciseness5/5

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

Three short sentences: purpose first, return shape second, constraints last. The literal field list is dense but directly substitutes for the missing output schema, and nothing is wasted.

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?

For a read-only lookup with no output schema, the description supplies the return contract and the network restriction, which is what an agent needs to call it and interpret the result. Minor gaps remain around what happens when a keyword has no data or when multiple profiles are connected (the schema covers the latter).

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%, including the 'up to 20' keyword cap and the pointer to ads_targeting_search for language and location ids, so the schema does the heavy lifting. The description adds no parameter-level meaning beyond that, which is the expected baseline for full coverage.

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 names a specific source and resource: 'Google Keyword Planner: search volume and bid ranges for specific keywords.' The agent knows exactly what data comes back. It stops short of naming the close sibling ads_keyword_ideas_generate to contrast 'look up existing keywords' vs 'generate new ideas', so sibling differentiation is left implicit.

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

Usage Guidelines4/5

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

'Google Ads only; other networks answer 501' gives an explicit when-not condition, which is real routing guidance. It doesn't point the agent to a sibling when the keyword is a new idea rather than an existing term, so the alternative path is implied rather than stated.

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.