Skip to main content
Glama

Get Google Trends interest by region

google_trends_interest_by_region_get
Read-onlyIdempotent

Get Google Trends search interest by place for one to five terms. Requires query. Costs credits; see meta.creditsCharged.

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": {
      "query": "<query>",
      "context": "<context>",
      "llm_model": "<llm_model>"
    },
    "name": "google_trends_interest_by_region_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
geoNoPlace: a country code (`US`, `DE`), a subdivision (`US-CA`, `DE-BY`) or an empty string for worldwide. Lowercase input is accepted and normalised to uppercase. Default: `US`.US
timeNoTime range: `now 1-H`, `now 4-H`, `now 1-d`, `now 7-d`, `today 1-m`, `today 3-m`, `today 12-m`, `today 5-y`, `all`, or a custom `YYYY-MM-DD YYYY-MM-DD` range (hourly `YYYY-MM-DDTHH` is accepted).today 12-m
queryYesRequired. One to five search terms, comma-separated or repeated when a term contains a comma. A topic is `id:` plus a Knowledge Graph id (`id:/m/02vqfm`), as the suggestions endpoint returns it.
sourceNoProperty to search: `web` (default), `images`, `news`, `youtube` or `shopping`.web
contextYesDescribe the user's underlying goal in one sentence, not the tool you are calling.
categoryNoCategory id from the categories endpoint. `0` (the default) means all categories.
languageNoInterface language, as Google calls `hl` (`en-US`, `de`, `ja`, `ar`). It localises names, dates and type text; it does not translate the queries.en-US
llm_modelYesThe exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess.
resolutionNoRegion resolution: `region` for subdivisions, `dma` for US metro areas, or `city`. The default is the one Google Trends picks for the geo. A place without a city-level breakdown is refused as input.
conversation_idNoEcho the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it.
includeLowVolumeNoInclude places with too little search volume to appear by default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so safety is covered. The description adds two genuinely useful facts beyond that: it flags credit consumption and points to meta.creditsCharged for the amount. It does not mention the conversation_id sequencing requirement or rate limits.

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?

Two short sentences, front-loaded with the purpose and followed by the operational constraint. "Requires `query`" is mildly redundant with the schema's required list, but nothing is bloated.

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 an eleven-parameter tool with no output schema, the description is thin – it does not say what the response looks like beyond creditsCharged, nor how geo/resolution interact. The rich schema compensates substantially, but an agent must read the schema to call this correctly.

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% and all eleven parameters carry detailed descriptions, so the schema does the heavy lifting. The description only echoes the query requirement and the one-to-five-term limit, adding no meaning beyond the schema.

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 Google Trends search interest") plus the scoping dimension ("by place"), which implicitly separates it from the interest-over-time sibling. It is clear enough to act on, though it never names an alternative reader tool.

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

Usage Guidelines3/5

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

The phrase "by place" implies geographic-breakdown use, but the definition gives no explicit when-to-use or when-not guidance relative to interest_over_time, report_get, or the trending siblings. Usage has to be inferred from the tool name and scope.

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.