Skip to main content
Glama

OpenData Best Web Intelligence (x402 USDC)

Hacker News Stories Jobs and Comments: Hacker News items and comment trees by item ID

hackernews_com__items
Read-only

[Hacker News Stories Jobs and Comments] Hacker News items and comment trees by item ID. Read specific Hacker News item IDs and optional nested comment or poll option rows. x402 price: $0.0020/row USDC (max 20 rows; 0 rows / errors are never charged).

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

Input Schema

NameRequiredDescriptionDefault
itemIdsNoPositive Hacker News item IDs (the number after item?id= in a news.ycombinator.com link), used when Search keyword is empty. Ignored when Search keyword is set (they are not collected or billed). Each item ID gets its own Maximum rows per search, feed, or item ID.
maxDepthNoDepth below each selected root to traverse when descendants are enabled. A root has depth 0. Not used in keyword-search mode.
maxFetchesNoMost candidate items to read per collection part of up to 70 rows; must be at least Maximum rows per search, feed, or item ID. Reading stops once the row allowance is filled; public profile enrichment has a separate 25-author and 20-second limit.
maxResultsNoMost Dataset rows for each search query, feed, or explicit item ID (1–2,000). Default 70; larger values are collected in parts of 70. Root and descendant row types count together for that input. The run stops at your maximum total charge. Free platform plan: 200 rows per run and 10 runs of this Actor.
recordTypesNoChoose which item types to keep as dataset rows: story, comment, job, poll, or pollopt. Applies to search, feed, and item-ID modes.
skipNoLeadsNoWhen enabled, omit records without an email, phone, location, organization, website, or social profile. Author username alone does not count as an outreach clue.
enrichDetailsNoAdd website and social links from public author profiles, without creating extra profile rows. Limited to 25 distinct authors and about 20 seconds per collection part of up to 70 rows; gaps are recorded in leadAbsences.
includeDescendantsNoAdd separate comment and poll-option rows beneath selected roots in feed or item-ID mode, up to Maximum descendant depth. Each added row is billed like any other row; search mode returns matching rows without expanding threads.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 and openWorldHint=true, so the description's job is a lower bar, and it adds genuinely non-obvious behavior: per-row pricing ($0.0020/row USDC), that zero rows and errors are never charged, that descendant rows are billed individually, and that runs stop at the maximum total charge. The only weak point is the 'max 20 rows' figure, which sits awkwardly against the schema's stated 1–2,000 maxResults, adding cost ambiguity.

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?

Two short sentences with the purpose front-loaded and the cost model placed second, which is the right priority order. The bracketed title repetition is mild overhead but nothing is wasted.

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 an 8-parameter read tool with no output schema, the definition covers what an agent most needs to call it safely: what it reads, the cost ceiling, and the descendant-billing rule. It does not describe the returned record fields or traversal/error behavior at depth, which is a modest gap given the schema's own coverage.

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 the schema already documents all eight parameters in detail; the description's only real semantic contribution is tying rows to billing cost. It adds nothing about itemIds, maxDepth, recordTypes, or skipNoLeads beyond what the schema already says, so baseline 3 applies.

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 verb and resource ('Read specific Hacker News item IDs') and scopes the result types (nested comment or poll option rows), which separates it from a keyword-search tool. It does not explicitly name the sibling search/feeds tools, so an agent must infer the split from the 'by item ID' framing and the schema's keyword-search-mode references.

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 context is implied rather than stated: item-ID mode is contrasted with keyword-search mode and includeDescendants is framed as the way to expand threads. However, there is no explicit 'use this instead of hackernews_com__search / hackernews_com__feeds when…' guidance or prerequisite statement, leaving the agent to reconstruct the routing 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