Skip to main content
Glama

Hacker News MCP Server and API by Cotlet

Get an item with its comments in Hacker News

hacker_news_get_an_item_with_its_comments
Read-onlyIdempotent

Get an item with its comments in the user's own Hacker News account from ChatGPT, Claude or any AI agent. Returns how to do it in Hacker News step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's Hacker News Cloud Browser. Hacker News's official API: Hacker News has an official API, but it is read-only and public (checked 28 Oct 2026).

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_get_an_item_with_its_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior: it 'opens nothing by itself' and returns procedural guidance rather than data, plus a note that Hacker News's official API is read-only and public (which explains why browser automation is needed). The dated 'checked 28 Oct 2026' claim is odd but is at least an explicit provenance marker.

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

Conciseness3/5

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

The tool's real behavior (returns instructions, opens nothing) is disclosed in the second sentence rather than front-loaded, and the opening clause 'from ChatGPT, Claude or any AI agent' is filler. The trailing official-API sentence is awkwardly constructed and reads as an appended footnote rather than an integrated justification, diluting otherwise useful content.

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 no parameters and no output schema, the description carries the burden of explaining what comes back, and it does so concretely (step-by-step screens, buttons, fields) and points to the cotlet_browser_* tools that consume the result. It stops short of covering failure modes such as no Hacker News account or an expired browser session, which would matter for a browser-driven flow.

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?

The tool takes zero parameters (schema coverage 100%, empty object), so there is nothing for the description to disambiguate. Baseline 4 applies; no parameter-related omissions exist to penalize.

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 a specific resource ('an item with its comments') and, crucially, clarifies that the tool does not fetch it but 'Returns how to do it in Hacker News step by step (screens, buttons, fields)'. That redefinition of the tool's output is the key distinction, though the leading 'Get an item...' phrasing works slightly against it. It does not differentiate itself from siblings such as list_my_comment_threads or the favorite/hide tools.

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 gives a clear follow-on workflow: call this, then execute the steps with the cotlet_browser_* tools in the user's Hacker News Cloud Browser, which implies when this tool is the right entry point. However, it never says when NOT to use it or why an agent would pick this over the other hacker_news_* siblings. Usage is implied rather than stated as an explicit rule.

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