Skip to main content
Glama

Hacker News Tech Trends Algolia MCP

Get Hacker News story comments

get_story_comments
Read-onlyIdempotent

Fetch a Hacker News story and its discussion comments (HTML cleaned to plain text) by numeric item ID.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "story_id": "<story_id>"
    },
    "name": "get_story_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
story_idYesHacker News numeric story ID (e.g. 1, 42000000).
max_commentsNoMaximum comments to extract (default 20).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered without the description. The description does add useful behavior beyond that: content is HTML-cleaned to plain text and the story itself is returned alongside comments. It omits rate limits, latency on large threads, or what happens with deleted/dead comments.

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?

A single front-loaded sentence with no filler; the key inputs and the sanitization behavior come first. It is efficient, though it omits any secondary sentence that could clarify the comment-limit behavior.

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 two-parameter read-only tool with no output schema, the description covers the core: what is fetched, by what identifier, and that the returned content is plain text. It is slightly thin on return shape (comment ordering, threading, what happens when a story has no comments), but an agent has enough to call it correctly.

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 (story_id, max_comments) are already documented in the schema, including the default of 20 and the 1-100 range. The description only restates that a numeric ID is required and adds nothing about max_comments behavior, which is the appropriate baseline when the schema does the work.

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 states a specific verb ('Fetch'), a specific resource ('Hacker News story and its discussion comments'), and the lookup key ('numeric item ID'), plus a notable output transformation ('HTML cleaned to plain text'). It does not explicitly position itself against the sibling search tools or front-page tool, so it falls short of the top score on sibling differentiation.

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?

Usage is only implied: the agent can infer it should call this when it already has a story ID and wants the comment thread. There is no stated when-not-to-use condition and no mention of when to prefer search_hn_stories or get_front_page_stories to find a story first.

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.