Skip to main content
Glama
TrendPulse - Google News & Trends

TrendPulse - Google News & Trends

get_news_by_location

Read-only

Find recent Google News articles for a city, state, or country when geography is the primary filter; set the lookback period and choose summaries or headlines only.

Instructions

Find recent Google News articles about a place-focused location such as a city, state, or country. Use this when geography is the primary filter; use get_news_by_keyword for general subject searches.

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": {
      "location": "<location>"
    },
    "name": "get_news_by_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoNumber of days to look back for articles.
locationYesName of city/state/country.
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 dated Google News RSS location headlines and publisher/link metadata only. No article body, original publisher URL, or summary is fetched or inferred. meta_data marks the limited RSS 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 dated Google News RSS location headlines and publisher/link metadata only. No article body, original publisher URL, or summary is fetched or inferred. meta_data marks the limited RSS evidence level.",
      +  "type": "boolean"
      +}
  3. Changed2 schema fields changedv0.2.30
    • addedInput schema / properties / location / minLength
      Added value: +1
    • addedInput schema / properties / location / 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.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint and destructiveHint=false, so the safety profile is covered structurally. The description adds only the geographic-filtering behavior; it says nothing about cost or latency of summarization, default lookback window, or what happens when no articles match. Adequate but thin given the tool's multiple fetch/summarize modes.

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?

Two short sentences, zero filler, with the identifying scope front-loaded and the routing alternative second. Every clause earns its place.

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 an output schema present and full schema coverage plus safety annotations, the description only needs to establish identity and routing, which it does. The remaining gap is that nothing warns about the LLM-sampling-dependent summarization path or result-shape tradeoffs, though those are visible 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 all six parameters including period, full_data, headlines_only and summarize are already documented in structured form. The description adds no extra meaning about parameter interactions (e.g. summarize vs. full_data, or headlines_only disabling summarization), so the baseline 3 applies.

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?

States a specific verb and resource ('Find recent Google News articles') and scopes the resource to place-focused queries with concrete examples (city, state, country). It also names the sibling it is distinct from, so an agent can separate it from get_news_by_keyword without opening either schema.

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?

Explicitly states the selection condition ('when geography is the primary filter') and the alternative for the other case ('use get_news_by_keyword for general subject searches'). Nothing about when to pick this tool is left to inference.

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