Skip to main content
Glama

get_top_news

Get top stories from Hacker News. Returns title, URL, score, author, and comment count.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoStory type: top, new, best, ask, show (default: top)top
limitNoNumber of stories (max 30, default 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it usefully discloses the returned fields (title, URL, score, author, comment count) — valuable since there is no output schema. However, it omits rate limits, pagination, or caching behavior, and 'top stories' understates the type parameter's new/best/ask/show modes.

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 short sentences, zero padding, with the action front-loaded and the return payload immediately after. Every clause earns its place.

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

Completeness4/5

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

For a simple read tool with full schema coverage and no annotations, the description covers purpose and return shape, which compensates for the absent output schema. It could be complete with a note on the type parameter's scope (top/new/best/ask/show) so 'top stories' is not misleading.

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 both parameters (type and limit, including defaults and the max of 30) are already fully documented in the schema. The description adds no parameter-level meaning beyond that, which is the expected baseline when the schema does the heavy lifting.

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?

Clear specific verb + resource: 'Get top stories from Hacker News,' and it names the upstream source, which separates it from siblings like get_trending and search_guardian that target other feeds. It stops short of explicitly contrasting itself with those siblings, but the source naming does the routing work.

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

Usage Guidelines2/5

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

No when-to-use, when-not-to-use, or alternative guidance is given. There is no hint about when to prefer this over get_trending or search_guardian, leaving the agent to infer everything from the name.

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.

Resources