Skip to main content
Glama

news_hackernews

Read-only

Hacker News search and front page — Search Hacker News stories or get the current front page: title, link, points, comments, author. Pass optional ?q=, ?count= (1-30) and ?sort=date. Price: $0.003 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
qNooptional search terms (omit for front page)
sortNooptional: date
countNooptional 1-30, default 10

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds real value beyond them by disclosing the paid nature of the call ($0.003 USDC on Base via x402) and the shape of results. It says nothing about rate limits, failure modes, or pagination beyond the count cap.

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?

One compact, front-loaded stretch of text that leads with the resource and both modes before pricing. The query-string notation ('?q=', '?count=') is a minor stylistic mismatch for a JSON-schema tool but costs no real clarity.

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 usefully names the returned fields (title, link, points, comments, author) and warns of the per-call cost — the two things an agent most needs to plan a call. Nothing essential for correct invocation is missing at this complexity level.

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 all three parameters are already documented in structured form, and the description largely restates them (q, count 1-30 default 10, sort=date). It does reaffirm that 'date' is the sort value, but adds no new semantics beyond the schema. 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?

States a specific verb and resource ('Search Hacker News stories or get the current front page') and even enumerates the fields returned, so an agent knows exactly what it gets back. It never distinguishes itself from the sibling news_search tool, so it stops short of a 5.

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?

Gives an explicit mode-selection rule: pass ?q= to search, 'omit for front page.' That is clear when-to-use guidance for the two behaviors. It offers no exclusions or pointers to alternative tools such as news_search.

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