Skip to main content
Glama
Riddhimaan-Senapati

unofficial-HackerNews-MCP-CLI

get_stories

Retrieve HackerNews stories from categories like top, new, best, ask, show, or job. Each result includes title, url, score, author, comment count, and discussion link.

Instructions

Get a list of HackerNews stories from a category, with full details.

'top', 'new' and 'best' draw from up to 500 stories; 'ask', 'show' and 'job' from up to 200. Each result includes title, url, score, author, comment count and the canonical HN discussion link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many stories to return (1-500).
categoryNoWhich list: top, new, best, ask, show, or job stories.top

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses category-dependent size limits and returned fields, but omits read-only nature, rate limits, or potential errors. Adequate but not thorough.

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?

Three concise sentences, no redundancy. First sentence states purpose, second adds nuance on limits, third enumerates output fields. Every sentence 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?

With an output schema present, the description's listing of return fields is helpful but not necessary. It adequately covers the tool's behavior for a list-fetching operation, though it lacks details on error handling or prerequisites.

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

Parameters4/5

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

Input schema covers both parameters with descriptions (100% coverage). The description adds value by clarifying that limits vary by category (500 vs 200) and listing returned fields, which provides context beyond the schema.

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 verb 'Get' and the resource 'list of HackerNews stories', specifying the categories. It explicitly distinguishes the tool's scope and output details, leaving no doubt about its function.

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 (when you need story lists by category) but provides no explicit guidance on when to use this tool versus alternatives like 'get_comments'. No exclusions or context for selection.

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/Riddhimaan-Senapati/unofficial-HackerNews-MCP-CLI'

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