Skip to main content
Glama
TrendPulse - Google News & Trends

TrendPulse - Google News & Trends

get_news_by_keyword

Read-only

Search Google News articles and headlines by free-form keyword or phrase, set a lookback period, and return metadata or summaries for matching stories.

Instructions

Search recent Google News headlines, dated breaking news, or articles for a free-form keyword, subject or phrase, such as technology policy or regulation updates. For fast headline-only searches across publishers, set headlines_only=True to return bounded Google News RSS titles, publisher/date/link metadata without fetching or summarizing article bodies. Use get_news_by_topic for a predefined category, get_news_by_location for place-specific news, or get_news_by_site for one publisher.

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": {
      "keyword": "<keyword>"
    },
    "name": "get_news_by_keyword"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoNumber of days to look back for articles.
keywordYesSearch term to find articles.
full_dataNoReturn full data for each article. If False a summary should be created by setting the summarize flag
summarizeNoGenerate a summary of the article, will first try LLM Sampling but if unavailable will use nlp
max_resultsNoMaximum number of results to return.
headlines_onlyNoReturn only dated Google News RSS title, publisher, and link metadata. No original publisher URL, full article text, or summary is fetched or inferred. The url field is a Google News RSS link; meta_data marks its limited evidence level.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.47
    • addedInput schema / properties / max_results / maximum
      Added value: +100
  2. Changed1 schema field changedv0.2.46
    • addedInput schema / properties / headlines_only
      Added value: +{
      +  "default": false,
      +  "description": "Return only dated Google News RSS title, publisher, and link metadata. No original publisher URL, full article text, or summary is fetched or inferred. The url field is a Google News RSS link; meta_data marks its limited evidence level.",
      +  "type": "boolean"
      +}
  3. Changed2 schema fields changedv0.2.30
    • addedInput schema / properties / keyword / minLength
      Added value: +1
    • addedInput schema / properties / keyword / pattern
      Added value: +".*\\S.*"
  4. Changed1 schema field changedv0.2.13
    • removedOutput schema / description
      Removed value: -"Generic wrapper for non-object return types."
  5. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, open-world, and non-destructive behavior. The description adds important context beyond annotations by explaining that headlines_only returns bounded RSS metadata and does not fetch or summarize article bodies, though it does not cover other operational details such as summarization fallback behavior.

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?

The description is front-loaded with purpose, then gives the headline-only mode and sibling alternatives in three focused sentences. Every sentence contributes selection or invocation guidance without unnecessary wording.

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?

Given the output schema, annotations, and fully documented input schema, the description provides enough context to choose this tool correctly. It covers the key headlines_only tradeoff and alternatives, though it omits some parameter interactions such as full_data versus summarize that are documented in 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%, so the schema already documents all six parameters in detail. The description reinforces the keyword and headlines_only semantics, but adds little parameter-level meaning beyond what the schema already provides.

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 states a specific verb and resource: search Google News headlines/articles by free-form keyword. It also clearly distinguishes this from siblings by naming topic, location, and site-specific alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly says when to use this keyword-based search and names the alternatives for predefined categories, place-specific news, and single-publisher news. The headlines_only condition is also given a clear use case: fast headline-only searches across publishers.

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