Skip to main content
Glama

google_news

Destructive

当用户需要查询 Google News 新闻结果、获取某个关键词、主题、出版物、版块或报道的新闻内容时触发。

Input Schema

NameRequiredDescriptionDefault
qYes定义搜索的查询内容。调用方必须提供非空值,不使用默认值。
glNo定义 Google 搜索要使用的国家/地区。它是一个两位数的国家/地区代码。例如 us 代表美国,uk 代表英国,fr 代表法国。默认值 usus
hlNo定义 Google 搜索要使用的语言。它是一个两位数的语言代码。例如 en 代表英语,es 代表西班牙语,fr 代表法语。
soNo定义排序方法。结果可以按相关性或日期排序,默认按相关性排序。0 表示相关性,1 表示日期。0
jsonNo定义采集结果的输出格式。1 返回 JSON 格式数据,2 返回 JSON+HTML 格式数据,3 返回 HTML 格式数据,4 返回 Light JSON。默认值为 1。1
kgmidNo定义 Google 新闻结果中主题或地点的知识图谱 ID(KGMID)。它是一个以 /m/ 或 /g/ 开头的字符串。例如 /m/0vzm 是德克萨斯州奥斯汀的 kgmid。
no_cacheNo默认情况下,5 分钟内缓存相同参数的搜索结果。设为 true 可跳过缓存,设为 false(默认)则使用缓存结果。缓存搜索免费,且不计入搜索统计。false
story_tokenNo定义 Google 新闻报道令牌。用于访问特定报道的完整报道新闻结果。
topic_tokenNo定义 Google 新闻主题令牌。用于访问特定主题,例如世界、商业、科技。
section_tokenNo定义 Google 新闻版块令牌。用于访问特定主题的子版块,例如“商业 -> 经济”。
publication_tokenNo定义 Google 新闻出版物令牌。用于访问来自特定发布者,例如 CNN、BBC、卫报的新闻结果。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior1/5

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

The description portrays a pure retrieval of news results, yet annotations declare readOnlyHint=false, destructiveHint=true and idempotentHint=false, so the stated semantics directly contradict the declared behavior profile. Even setting the conflict aside, the text discloses nothing about caching, search-credit consumption (hinted at only in the no_cache parameter), rate limits or result format.

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 well-formed sentence with the trigger condition front-loaded and no filler. It is terse, but nothing in it is redundant or padding — the shortfall is under-specification rather than verbosity.

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?

For an 11-parameter tool with no output schema and annotations that actively mislead, the description covers only the trigger condition. It says nothing about the cost/credit implications of uncached searches, the JSON/HTML output options, or how the token parameters relate to the required q query, leaving significant gaps for correct invocation.

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 all 11 parameters are already documented in the schema — including the easily confused topic_token, section_token, story_token and publication_token. The description's enumeration of "keyword, topic, publication, section, story" loosely parallels those parameters but does not name them or explain precedence between q and the tokens, so it stays at the schema-driven baseline.

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 a concrete verb (query/get) and a concrete resource (Google News results and the news content behind a keyword, topic, publication, section or story). That is specific enough to know what the tool does, but it draws no boundary against obvious siblings such as bing_news, google_search or google_ai_mode, so the agent cannot tell from the text alone why this rather than another news source should be chosen.

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 sentence is framed as a trigger condition — use it when the user wants Google News results or news content for a keyword, topic, publication, section or story — which is real when-to-use context mapping onto the token parameters. It contains no when-not-to-use guidance and never names an alternative among the ~70 sibling search tools.

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