Skip to main content
Glama

Latest News

latest_news
Read-onlyIdempotent

Get the latest news headlines. Optionally filter by category, country, or language. Returns the most recent articles with titles, descriptions, sources, and URLs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results to return (1-100, default 25)
_apiKeyYesMediastack API key
countriesNoComma-separated ISO2 country codes (e.g., "us,gb")
categoriesNoComma-separated categories: business, technology, science, health, sports, entertainment, general

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYesNumber of articles returned in this response
totalYesTotal number of latest articles available
articlesYesList of latest news articles

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint, openWorldHint, idempotentHint, and destructiveHint false. The description adds context about return format (titles, descriptions, sources, URLs), which is sufficient beyond annotations.

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 tightly written sentences with zero redundancy. The primary action is front-loaded, and every word adds value.

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

Completeness3/5

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

The description provides basic usage and output but lacks explicit differentiation from similar tools (e.g., 'search_news') and has parameter inaccuracies, leaving gaps for an agent to decide when to use this tool.

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

Parameters2/5

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

Despite 100% schema coverage, the description introduces a non-existent parameter 'language' and uses singular forms ('category', 'country') that do not match the schema's actual parameters ('categories', 'countries'), potentially misleading an agent.

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 clearly states the tool retrieves the latest news headlines and mentions optional filters. It distinguishes from sibling 'search_news' by implying focus on current headlines, but does not explicitly differentiate.

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

Usage Guidelines3/5

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

The description advises optional filtering by category, country, or language, but does not specify when to avoid this tool or suggest alternatives like 'search_news' for keyword-based searches.

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.