Skip to main content
Glama

Get Headlines

headlines
Read-only

Get top headlines with optional filtering by country, category, and language

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNoNumber of articles to return (1-100)
langNoLanguage code of the articles (e.g., 'en', 'fr')
countryNoCountry code(s) of publication (e.g., 'us', 'gb')
categoryNoCategory to filter by (e.g., 'business', 'technology')
ai_sentimentNoFilter by AI-analyzed sentiment (e.g., 'positive', 'negative', 'neutral')
ai_entity_nameNoFilter by entity name detected in articles
ai_entity_typeNoFilter by entity type (e.g., 'person', 'organization', 'location')

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already mark the operation as read-only, and the description is consistent with that. It adds that the tool returns top headlines and supports optional filters, but it does not disclose defaults, result limits, ordering, or other behavioral nuances.

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?

A single sentence that front-loads the core action ('Get top headlines') and then lists the main filter dimensions. There is no filler, redundancy, or unnecessary detail.

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?

With no output schema, the description does not clarify the structure or content of the returned headlines, nor does it mention defaults like 'max' defaulting to 5. The input schema and read-only annotation cover some aspects, but operational behavior remains under-specified.

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?

All seven parameters are fully documented in the schema, so the baseline is 3. The description names only three parameters (country, category, language) and adds no additional meaning beyond the schema's own descriptions.

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?

States a specific verb and resource ('Get top headlines') and names the filtering dimensions. It clearly indicates the tool returns headline articles, but it does not explicitly contrast with sibling search-news, so differentiation is only partial.

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 implies use for retrieving current top headlines, optionally filtered by country, category, or language. However, it provides no explicit guidance on when to choose this tool over search-news or usage, and no exclusions or alternative conditions.

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.

TDQS

A3.6/5.0
Disambiguation5/5

Each tool serves a distinct purpose: headlines retrieves top current stories, search-news finds specific articles by query, and usage checks API limits. There is no meaningful overlap between them.

Naming Consistency3/5

Tool names are readable and lowercase but follow mixed conventions: 'headlines' is a noun, 'search-news' is a hyphenated verb-noun, and 'usage' is a noun. The pattern is not uniform but remains understandable.

Tool Count5/5

Three tools is well-scoped for a news API server focused on retrieval and quota checking. Each tool earns its place without unnecessary bloat.

Completeness4/5

The core news retrieval operations are covered: top headlines and targeted search. A source list or category metadata endpoint is missing, but agents can accomplish most tasks with the provided tools.