Skip to main content
Glama

MCP Server Demo

by dynstat

fetch_news_articles

Retrieve news articles from WorldNewsAPI by specifying search text, date range, and result limit. Returns article details as a structured list for easy analysis and integration.

Instructions

Fetches news articles from the WorldNewsAPI based on specified parameters and returns them as a list of dictionaries. Args: query_text (str): The text to search for in news articles earliest_date (str): Earliest publication date in YYYY-MM-DD format latest_date (str): Latest publication date in YYYY-MM-DD format max_results (int): Maximum number of results to return Returns: list: A list of dictionaries containing article details

Input Schema

NameRequiredDescriptionDefault
earliest_dateNo2025-04-17
latest_dateNo2025-04-23
max_resultsNo
query_textNopolitics

Input Schema (JSON Schema)

{ "properties": { "earliest_date": { "default": "2025-04-17", "title": "earliest_date", "type": "string" }, "latest_date": { "default": "2025-04-23", "title": "latest_date", "type": "string" }, "max_results": { "default": 5, "title": "max_results", "type": "string" }, "query_text": { "default": "politics", "title": "query_text", "type": "string" } }, "title": "fetch_news_articlesArguments", "type": "object" }
Install Server

Other Tools from MCP Server Demo

Related Tools

    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/dynstat/mcp-demo'

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