Skip to main content
Glama

Google Trends API

google_trends_explorer
Read-onlyIdempotent

Track how interest in a search term changed over the past year using relative 0-100 values, so you can identify trends and peak periods; rare terms may lack enough data.

Instructions

See how interest in a search term moved over the past year. Costs 5 credits per successful call. Values are relative on a 0 to 100 scale, where 100 is the term's own peak. They are not search counts. Very rare terms may have too little data to chart.

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>"
    },
    "name": "google_trends_explorer"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSearch term. Type one search term.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and openWorld, so safety is covered; the description adds genuinely new behavioral facts: a cost of 5 credits per successful call and the 0-100 relative index scale with 100 equal to the term's own peak. It even handles a failure mode (rare terms with insufficient data). It stops short of 5 by not covering rate limits, timeouts or what a failed call returns.

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 tight sentences with the purpose front-loaded, followed by cost and then result interpretation. Nothing is repeated from the title and no sentence is filler; even the rare-term caveat earns its place by preventing misreading of empty results.

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 one-parameter, annotation-covered tool with no output schema, the definition supplies what is needed: what the series means, its scale, its cost, and why data might be missing. Remaining gaps are modest, chiefly what happens on an unsuccessful call beyond the implication that only successful calls are charged.

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?

The single parameter is fully documented in the schema (100% coverage), including the 'one search term' constraint, so the schema carries the load. The description reinforces 'search term' but adds no syntax, locale or formatting guidance beyond it. Baseline 3 applies when the schema is complete.

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?

A concrete verb plus resource plus time window: 'See how interest in a search term moved over the past year.' An agent immediately knows this returns a trend series rather than a profile or transcript. It does not name or contrast any sibling, so it falls short of the 5 bar for differentiation, but the resource is distinctive enough that confusion is unlikely.

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?

Usage is implied rather than stated: the 'past year' framing tells the agent the tool only answers one-year trend questions, and the closing note warns that very rare terms may not chart. There is no explicit when-to-use or when-not guidance, and no routing to alternatives such as google_news_search or google_autocomplete for related query-interest questions.

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