Skip to main content
Glama

Web Search & Data API

trend

Google Trends interest over time for a keyword. Returns Google Trends search interest as a dated series indexed 0-100: weekly points across the default past 12 months, daily points for 30- and 90-day windows, and windows from the past hour back to 2004, with optional country targeting. For keyword trend analysis, search demand seasonality, and SEO keyword research. [$0.05/call]. Params — keyword: the search term to chart; geo: ISO-3166 alpha-2 country code, e.g. US, GB, DE, JP (213 countries supported); omit for worldwide; timeframe: time window. Each response reports its own bucket size in granularity: past_30_days and past_90_days return a daily series, past_12_months and past_5_years weekly, windows under a day hourly (2004_present|past_12_months|past_30_days|past_4_hours|past_5_years|past_7_days|past_90_days|past_day|past_hour) Example params: {'keyword': 'bitcoin', 'geo': 'US'}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of explaining behavior. It specifies the return type (dated series 0-100), the granularity depending on timeframe, optional country filter, and the $0.05/call cost. It does not explicitly state that the operation is read-only or describe error conditions, but the read-only nature is strongly implied.

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

Conciseness3/5

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

The description is informative but somewhat redundant: it states the default weekly/daily/hourly granularity twice and repeats the phrase about returning search interest. The structure could be tightened without losing any essential detail.

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?

Given the loose schema and no output schema, the description provides all necessary context: parameters, defaults, allowed timeframe values, output nature, cost, and an example invocation. Nothing critical is missing for an agent to call the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema exposes only a free-form `params` object with no property definitions, so the description completely compensates by documenting keyword, geo, and timeframe, including accepted values, defaults, and examples. This is essential and well covered.

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 clearly states the tool returns Google Trends search interest over time as a dated series indexed 0-100, which distinguishes it from region/topic/query-focused sibling tools. It also names concrete use cases like keyword trend analysis and SEO research.

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?

The description provides clear context for when to use the tool ('For keyword trend analysis, search demand seasonality, and SEO keyword research') and explains the default timeframe and optional country targeting. It does not explicitly contrast with sibling tools like interest_by_region, so it stops short of a perfect 5.

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.

Resources