Skip to main content
Glama

hn_front_page

Hacker News front page right now: ranked stories with title, points, comment counts and links. Paid via x402 ($0.002 USDC on Base mainnet (also Polygon, Arbitrum and Solana)) on this tools/call request. Includes asOf and source. Invalid input is rejected without payment. Free trial: 3 unpaid calls/day per IP on this tool (HTTP: header X-Free-Trial: 1; MCP: automatic when no payment is sent).

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

Input Schema

NameRequiredDescriptionDefault
limitNoStories to return (default 30).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so thoroughly: it discloses that the call is paid via x402, the price and supported chains, the free-trial terms, that invalid input is rejected without payment, and that responses include asOf and source. This is unusually complete for a paid endpoint and gives the agent the context needed to anticipate cost and error behavior.

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?

The description is front-loaded with purpose and then payment details. It is reasonably sized and every sentence adds relevant information, though the nested pricing/payment-chain parentheses make it denser than necessary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter list tool with no output schema, the description is complete: it covers the returned story fields, asOf and source metadata, payment requirements, free-trial behavior, and invalid-input handling. An agent has enough information to decide whether and how to call it.

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?

There is only one parameter, limit, and the schema description coverage is 100%, including default 30 and the 1–50 range. The description adds no additional meaning about the limit parameter beyond what the schema already provides, so the baseline of 3 is appropriate.

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 clearly identifies the resource and scope: the Hacker News front page right now, returning ranked stories with titles, points, comment counts, and links. It is distinguishable from a general search tool by the 'front page right now' framing, though it does not explicitly name or compare against siblings like hn_search.

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 implied by 'front page right now', suggesting this tool is for the current ranked front page rather than search or thread retrieval. However, there is no explicit when-to-use guidance, no mention of when to prefer hn_search or hn_thread, and no stated exclusions beyond invalid input.

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