Skip to main content
Glama

list_stories

Read-only

Retrieve Hacker News stories from top, new, best, ask, show, or job feeds with titles, scores, authors, and comment counts; filter by score and paginate results.

Instructions

Browse Hacker News story feeds.

Returns each story's title, score, author, comment count and links - enough to answer "what's on HN right now" in a single call.

Feeds: top front page, ranked by HN's algorithm. Also contains job posts new most recently submitted, unranked best highest-scoring stories of the last few days ask Ask HN text and discussion posts show Show HN project launches job YC portfolio job postings

top and new hold up to 500 ids; ask, show and job hold up to 200, so a large limit on those feeds returns fewer stories than requested.

Every story carries an id. Pass it to get_discussion to read comments - this tool returns no comment text.

Input Schema

NameRequiredDescriptionDefault
feedNoWhich HN feed to read. top is the front page, new is newest-first, best is multi-day high scorers, and ask/show/job are the Ask HN, Show HN and jobs sections. See the tool description for when to choose each.top
limitNoHow many stories to return, 1-100.
offsetNoStories to skip, for paging through a feed.
min_scoreNoDrop stories scoring below this. Omit for no filter.

Output Schema

NameRequiredDescriptionDefault
storiesYes
returnedYesStories in this response.
feed_totalYesIds available in the feed before filtering.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds real behavioral context beyond that: id-pool caps (500 for top/new, 200 for ask/show/job) mean a large limit silently returns fewer stories, and top includes job posts. Rate limiting and failure behavior are not addressed, keeping it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and return payload, then a scannable feed list and a closing handoff to get_discussion. The feed list partially restates the enum, but the ranking notes and id-cap caveat earn their space. Minor redundancy, no filler.

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

Completeness5/5

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

An output schema exists, so return-value explanation is not required, yet the description still summarizes the shape briefly. With all four params documented in-schema and the id-cap pitfall disclosed, an agent has everything needed to call this correctly and know when to pivot to get_discussion.

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?

Schema coverage is 100%, so the baseline is 3. The description still adds meaning the schema lacks — the ranking logic behind each feed and the fact that 'top' carries job posts — which helps an agent reason about feed choice. It says nothing extra about limit, offset, or min_score, but the schema documents those fully.

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?

Names a specific verb and resource ('Browse Hacker News story feeds') and immediately specifies the payload returned: title, score, author, comment count, links. The per-feed enumeration makes it unmistakable versus siblings like get_story or search_stories, which operate on a single item or a query.

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

Usage Guidelines4/5

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

Gives selection criteria for each of the six feeds (ranked front page, newest-first, multi-day high scorers, section feeds) and explicitly rules out comment reading: 'Pass it to get_discussion... this tool returns no comment text.' It does not mention search_stories as the alternative for keyword lookup, so the alternatives coverage is partial rather than exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.