Skip to main content
Glama

trends_compare

Read-only

Compare 2-5 search terms head to head on Google Trends, on one shared 0-100 scale: which leads and by how much, each term's average, peak and direction, and a timeline.

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": {
      "terms": "<terms>"
    },
    "name": "trends_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
geoNo2-letter country code, e.g. 'VN', 'US', 'JP' (a region like 'US-CA' works); empty for worldwide
termsYes2 to 5 terms, e.g. ['pizza', 'pho', 'banh mi']
periodNoDefault past_year

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/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 genuine context beyond that: results are normalized onto one shared 0-100 scale and include leader/delta, average, peak, direction, and a timeline, which tells the agent what kind of data comes back from an open-ended external source.

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?

It is a single front-loaded sentence with the key constraint and output payload enumerated after a colon; nothing is padding. The trailing list of outputs makes it slightly dense, but each clause carries information.

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?

With no output schema, the description takes on the job of describing return values and does so (leader and margin, average, peak, direction, timeline). For a three-parameter read-only tool with full annotation coverage, that is sufficient; only edge cases like invalid term counts or geo fallback go unmentioned.

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 (geo, terms, period) is already documented in the schema, including the 2-5 term constraint and default period. The description's mention of '2-5 search terms' and the shared scale restates schema facts rather than adding new parameter meaning, so the baseline 3 applies.

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 uses a specific verb and resource ('Compare 2-5 search terms head to head on Google Trends') and makes the comparison scope unmistakable, so an agent can tell this apart from a single-term interest lookup. It stops short of naming any sibling tool to route against, which keeps it from a 5.

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 'compare 2-5 terms head to head' framing implies when to reach for it (multi-term relative interest), but there is no explicit when-not guidance or named alternative such as a single-term trends tool. Usage is inferable 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.

Resources