Skip to main content
Glama

news_search

Read-onlyIdempotent

Search recent news articles by topic with time-based freshness filtering. Returns JSON with articles, query, and result count.

Instructions

Search recent news articles by topic with time-based freshness filtering. Returns JSON with fields: articles (array of {title, url, source, publishedAt, snippet}), query, resultCount. Default freshness is 'week'; use 'hour' or 'day' for breaking news. On no matches returns resultCount: 0 with empty array; on failure returns isError with message. Subject to per-tenant rate limit (default 30 req/min) with automatic provider fallback. Coverage depends on configured search provider. Use web_search instead for evergreen/non-news content; use academic_search for peer-reviewed findings; use search_and_scrape if you need full article text beyond snippets. Results cached 15 min due to news volatility.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesTopic or event to find news about. Use specific terms for precision (e.g. 'OpenAI GPT-5 release' not 'AI news').,required
num_resultsNoNumber of articles to return (1-10, default: 5).
freshnessNoHow recent articles must be: hour, day, week (default), month, or year.
sort_byNoSort order: relevance (default) or date (newest first).
news_sourceNoRestrict to a specific news outlet domain (e.g. reuters.com, bbc.co.uk).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
articlesNo
queryNo
resultCountNo
Behavior5/5

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

Discloses behavior beyond annotations: failure returns isError, no-match returns empty array, rate limits with provider fallback, and 15-min cache. Annotations already mark it as readOnly, idempotent, and non-destructive; description adds actionable operational details without contradiction.

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?

Single paragraph, dense with purpose, return format, usage tips, and fallback handling. Every sentence contributes distinct information without redundancy.

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

Completeness5/5

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

Comprehensive for a search tool: covers return format, error/empty cases, rate limits, caching, provider dependency, and sibling distinctions. Output schema exists, so the description focuses on runtime behavior and configuration.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers 100% of parameters with descriptions; description adds value by specifying default freshness, suggesting hour/day for breaking news, and advising specific query terms. Minor deduction as the schema already documents each parameter clearly.

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 clearly states the tool searches recent news articles by topic with freshness filtering, and explicitly distinguishes it from siblings like web_search (evergreen/non-news), academic_search (peer-reviewed), and search_and_scrape (full text). This provides a specific verb+resource and clear differentiation.

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?

Provides explicit when-to-use and when-not-to-use guidance, including alternatives for non-news, academic, and full-text scraping needs. Also mentions caching duration and rate limits, offering clear context for invocation.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zoharbabin/web-researcher-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server