Skip to main content
Glama

hackernews

Fetch Hacker News front-page or newest stories, optionally filtered by a search query and capped at a chosen limit, to gather tech news for digests or follow-up research.

Instructions

Hacker News stories: the current front page or the newest stories, optionally filtered by a search query.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hackernews"
  }
}

Input Schema

NameRequiredDescriptionDefault
feedNofront_page
limitNo
queryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description must disclose operational behavior. It identifies the data source and feed options, but says nothing about read-only safety, authentication, rate limits, pagination, result ordering, or what limit controls.

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 front-loaded sentence names the resource and options without filler. Every clause contributes to scope or filtering.

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 three-parameter read tool with no annotations or output schema, the description is missing important call semantics: what limit does, whether query applies within the chosen feed, and the shape/order of returned stories. It is minimally usable but incomplete.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning. It explains feed via 'front page or newest' and query via 'search query,' but never explains the limit parameter (default 10) or whether query searches titles, text, or only the selected feed.

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?

The description names the resource (Hacker News stories) and its selectable scopes (current front page, newest), plus the optional search filter. It implies retrieval without an explicit verb, and it does not explicitly contrast with sibling feeds like rss or arxiv, but the HN-specific scope is clear.

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?

It explains the two feed modes and that query filtering is optional, which gives implied usage for the feed parameter. It gives no explicit when-to-use/when-not guidance and does not name alternatives such as rss or article.

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

Deploy Server

Other Tools