Skip to main content
Glama

get_top_headlines

Fetch today's top 10 US news headlines with sources and publication times. Filter by category to get business, technology, sports, or other news topics.

Instructions

Fetch the top 10 US news headlines from today. Returns headline, source, and publication time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoNews category (optional): business, entertainment, general, health, science, sports, technology
Behavior2/5

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

With no annotations provided, the description carries full burden but only states what data is returned without mentioning behavioral aspects like rate limits, authentication needs, data freshness guarantees, or error handling. It's minimally adequate but lacks important operational context.

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 sentences with zero waste - first states purpose and scope, second specifies return format. Perfectly front-loaded and appropriately sized for this simple tool.

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?

For a simple read-only tool with one optional parameter and no output schema, the description covers the basics but lacks behavioral context. Without annotations or output schema, it should ideally mention more about the operation's characteristics beyond just the return data format.

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 the schema already fully documents the optional category parameter with its enum values. The description adds no parameter information beyond what's in the schema, meeting the baseline for high schema coverage.

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 specific action ('Fetch'), resource ('top 10 US news headlines from today'), and output format ('headline, source, and publication time'). It distinguishes from siblings by focusing on headlines rather than details, summaries, or translations.

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 usage for getting current US headlines, but provides no explicit guidance on when to use this tool versus alternatives like get_news_details or summarize_news. It doesn't mention prerequisites or exclusions.

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/ekfaktldk11/mcp-news-server'

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