Skip to main content
Glama
TrendPulse - Google News & Trends

TrendPulse - Google News & Trends

get_interest_by_region

Read-only

Compare search interest for keywords across countries, regions, cities, or DMA areas to identify where geographic attention is highest. Returns normalized Google Trends relative interest, not absolute demand.

Instructions

Compare which countries, regions, or cities search most for a given keyword. Return normalized geographic Google Trends search interest across countries, regions, cities, or DMA areas; this is relative search attention, not absolute demand, users, or buyers. Use get_interest_by_region for geographic comparisons; use get_trends for interest over time instead.

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

Input Schema

NameRequiredDescriptionDefault
catNoCategory ID (default: 0 for all).
geoNoGeographic region code (e.g. 'US' or empty '' for worldwide).US
gpropNoGoogle property filter.
keywordsYesSearch keyword(s) to analyze.
timeframeNoTimeframe for search volume analysis (e.g., 'today 12-m').today 12-m
resolutionNoGeographic resolution.REGION
inc_low_volNoInclude regions with low search volume.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.2.22
    • changedInput schema / properties / gprop / description
      Previous value: -"Google property filter (e.g., '', 'youtube', 'news', 'images', 'froogle')."New value: +"Google property filter."
    • addedInput schema / properties / gprop / enum
      Added value: +[
      +  "",
      +  "youtube",
      +  "news",
      +  "images",
      +  "froogle"
      +]
    • changedInput schema / properties / keywords / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "maxItems": 5,
      +    "minItems": 1,
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / resolution / description
      Previous value: -"Geographic resolution: 'COUNTRY', 'REGION', 'CITY', or 'DMA'."New value: +"Geographic resolution."
    • addedInput schema / properties / resolution / enum
      Added value: +[
      +  "COUNTRY",
      +  "REGION",
      +  "CITY",
      +  "DMA"
      +]
  2. Changed1 schema field changedv0.2.13
    • removedOutput schema / description
      Removed value: -"Generic wrapper for non-object return types."
  3. First observed

TDQS

A4.4/5.0
Behavior4/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 genuinely non-structured context by defining the returned metric as normalized relative search attention rather than absolute demand, users, or buyers, which prevents the most likely misinterpretation. It stops short of discussing rate limits or empty/low-volume result behavior, so it isn't exhaustive.

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?

The core purpose and the normalization caveat are front-loaded, and every sentence carries useful information. The final sentence partially restates the opening ('for geographic comparisons') but earns its place by naming the concrete alternative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, a fully described 7-parameter schema, and complete annotations, the description only needed to supply purpose, metric semantics, and alternative routing, all of which it does. Nothing an agent needs in order to call this correctly is missing.

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%, so every parameter including resolution (COUNTRY/REGION/CITY/DMA) and geo is already documented in structured form. The description echoes the geographic resolutions but adds no syntax, default, or constraint detail beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('compare which countries, regions, or cities search most for a given keyword') and immediately names the sibling it is not (get_trends, for time-series interest). An agent can distinguish it from get_interest_by_region-style temporal tools without opening any schema.

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

Usage Guidelines5/5

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

It explicitly routes the agent: geographic comparisons go here, interest over time goes to get_trends. The when-to-use condition is stated outright rather than implied, which is exactly the differentiation this catalog needs.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.