Skip to main content
Glama

Groundsocial

Hacker News comment thread

hackernews_story_comments
Read-onlyIdempotent

Every comment under a Hacker News story, flattened in reading order.

Every comment under a story (or under a comment), flattened in reading order with depth and parent_id, in one call. since/until leave out comments outside the window.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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": {
      "id": "<id>"
    },
    "name": "hackernews_story_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAn item id or its link (news.ycombinator.com/item?id=…).
sinceNoOnly rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp.
untilNoOnly rows published on or before this date: YYYY-MM-DD (that whole UTC day) or an ISO 8601 timestamp.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/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. The description adds real operational context beyond that: a cost of 1 credit per call, automatic refund on failure, and the presence of cost_credits and credits_remaining in the results. It does not address result size or rate limits, which matters for a tool promising 'every comment' in one call.

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 first line duplicates the second almost verbatim ('Every comment under a Hacker News story, flattened in reading order' vs. 'Every comment under a story (or under a comment), flattened in reading order'), which is wasted space. The cost and credit information is useful and front-loadable but is split into a separate trailing paragraph rather than integrated.

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 output schema, the description does the right work: it explains the flattened thread shape (depth, parent_id) and names the credit fields returned. For a three-parameter, required-id read tool this is nearly sufficient; only error behavior for an invalid id or very large threads is unaddressed.

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 id, since and until including accepted formats and boundary semantics. The description adds only one nuance beyond it — that id may point at a comment as well as a story — plus a loose restatement of the date-window behavior. Baseline 3 is appropriate when the schema carries the weight.

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?

States a specific resource and retrieval shape: every comment under a Hacker News story (or under a comment), flattened in reading order with depth and parent_id. This clearly separates it from a story-fetching sibling like hackernews_story_get, but it never explicitly names or routes away from any sibling tool.

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 guidance is limited to the filters: 'since/until leave out comments outside the window.' There is no statement of when to prefer this over a story or single-comment tool, nor any exclusion or prerequisite beyond 'public data only.' The when-to-use is implied by the resource named, not spelled out.

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.