Skip to main content
Glama

Crypto, web, finance and app data tools

Hacker News Stories

hacker_news

Hacker News stories by keyword (by relevance or newest) or the current front page: title, link, points, comment count, author, time and discussion URL. Use to see what developers are discussing about a topic.

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": "hacker_news"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
sortNorelevance
limitNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It implies a safe read-only fetch and enumerates the response fields (points, comments, author, time, discussion URL), which is genuinely useful, but says nothing about rate limits, authentication, pagination, or the maximum value of limit.

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 dense sentences, zero filler, with the capability and output fields front-loaded and the use case trailing as a single clause. Nothing could be cut without losing information.

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?

An output schema exists, so the return-field list is redundant but harmless, and the description covers both operating modes. The remaining gap is limit: neither a default (20) nor an upper bound is stated, which matters for a feed-style tool with no annotations.

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 coverage is 0%, and the description rescues two of the three parameters: it explains that q is a keyword filter and that sort accepts 'relevance' or 'newest' - the latter is essential since sort is an unconstrained string in the schema. The limit parameter is never mentioned, and the default front-page behavior of a null q is only implicit.

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?

States a specific resource (Hacker News stories) with the two access modes - keyword search ranked by relevance or newest, or the current front page - and enumerates the fields returned. The named source is unique among a sibling set dominated by crypto/RSS/paper tools, so an agent can distinguish it without opening the schema.

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?

'Use to see what developers are discussing about a topic' gives a clear positive use case. It stops short of naming alternatives (read_rss_feed, crypto_news, research_papers) or stating when not to use it, so no exclusions or routing guidance.

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