Skip to main content
Glama

google_trends

Destructive

当用户需要查询 Google Trends 趋势数据、关键词热度、地区趋势、相关主题或相关查询时触发。

Input Schema

NameRequiredDescriptionDefault
qYes定义搜索的查询内容。调用方必须提供非空值,不使用默认值。
hlNo定义 Google 职位搜索要使用的语言。它是一个两位数的语言代码。例如 en 代表英语,es 代表西班牙语,fr 代表法语。
tzNo定义时区偏移量。默认值为 420(太平洋夏令时间 PDT: -07:00)。值以分钟为单位,范围从 -1439 到 1439。420
catNo定义搜索类别。默认值为 0(所有类别)。可以在 Google 趋势类别列表中找到或下载所有支持的值。示例值包括 0、3、5、7、8、11、12、13、14、16。0
csvNo用于检索 CSV 结果。设置为 true 可将 CSV 结果作为数组检索。可用值为 true 或 false。
geoNo定义搜索发起的地理位置。默认为全球,当 geo 参数值未设置或为空时激活。
dateNo定义日期。
jsonNo定义采集结果的输出格式。1 返回 JSON 格式数据,2 返回 JSON+HTML 格式数据,3 返回 HTML 格式数据,4 返回 Light JSON。默认值为 1。1
gpropNo按属性对结果进行排序。默认属性为网页搜索,当 gprop 参数值未设置或为空时激活。可用值包括 images(图像搜索)、news(新闻搜索)、froogle(Google 购物)、youtube(YouTube 搜索)。
regionNo用于在使用“按细分区域的比较”和“按区域的兴趣”数据类型图表时获取更具体的结果。其他数据类型图表不接受 region 参数。默认值取决于设置的 geo 位置。可用值包括 COUNTRY、REGION、DMA、CITY。
no_cacheNo默认情况下,5 分钟内缓存相同参数的搜索结果。设为 true 可跳过缓存,设为 false(默认)则使用缓存结果。缓存搜索免费,且不计入搜索统计。false
data_typeNo定义想要执行的搜索类型。可用值包括 TIMESERIES(时间趋势分析)、GEO_MAP(区域对比分析)、GEO_MAP_0(区域兴趣分布)、RELATED_TOPICS(相关主题推荐)、RELATED_QUERIES(相关查询推荐)。
include_low_search_volumeNo用于在结果中包含低搜索量区域。设置为 true 以在结果中包含低搜索量区域。可用值为 true 或 false。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

Annotations exist (readOnlyHint=false, destructiveHint=true, openWorldHint=true, idempotentHint=false), so the bar is lower, but the description adds no behavioral context at all: nothing about 5-minute result caching, the no_cache bypass, quota/cost implications, or how data_type changes the returned shape. There is also an unresolved tension between the read-oriented verb 查询 and annotations declaring destructiveHint=true, which the description never clarifies.

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?

A single short sentence, front-loaded with the trigger condition and enumerating the data categories. Nothing is wasted, though for a 13-parameter tool the extreme brevity means the sentence cannot also carry operational detail.

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

Completeness2/5

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

This is a high-complexity tool (13 params, 3 enums, multiple output formats via json=1/2/3/4, a data_type enum that fundamentally changes results, and region only valid for certain data types), with no output schema. The description covers none of this and only states a trigger condition, so an agent would have to reverse-engineer behavior entirely from the schema.

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% across all 13 parameters, so the schema already documents q, hl, tz, cat, geo, date, json, gprop, region, no_cache, data_type, csv and include_low_search_volume. The description adds no parameter-level meaning beyond what the schema provides. Baseline 3 applies when the schema carries the full parameter burden.

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 names the specific resource and scope: Google Trends trend data, keyword popularity, regional trends, related topics and related queries. An agent can tell this is the Google Trends data tool rather than a generic search tool. It stops short of distinguishing itself from adjacent siblings such as google_search, google_news or google_finance, which also surface trend-like information.

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 entire description is a trigger condition ('当用户需要查询...时触发'), which does imply when to reach for the tool, but it offers no when-not guidance and never names an alternative sibling. With ~80 sibling tools in the catalog, the absence of routing guidance against google_search/google_news is a real gap. Usage is implied rather than explicitly delineated.

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