Skip to main content
Glama

Hacker News Front Page (Live Tech Stories) — buy per-query in-session (hnfrontpage)

data_preview

Read-onlyIdempotent

✅ No API key needed. Listing: hnfrontpage: Hacker News Front Page (Live). Price 0.01 USDC/query (max 20 queries/session). Sample questions: What is on the Hacker News front page right now?; Which current HN stories have the most points and comments?. FREE preview — no key, no payment. Try one of the sample questions now.

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

Input Schema

NameRequiredDescriptionDefault
slugNoPublic listing slug. Defaults to the routed session's listing when connected via /mcp/data/{slug}/http.
questionNoOptional free-text question you'd ask this data (echoed back).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world behavior, while the description adds useful auth/payment/rate context: no API key, no payment, and max 20 queries/session. The separate 'Price 0.01 USDC/query' line is ambiguous for a free preview, but the authorization and rate-limit disclosure is substantive.

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 sentence is a useful auth note, but the text is promotional and repetitive: 'No API key needed' and 'FREE preview — no key, no payment' say the same thing, and 'Try one of the sample questions now' is a call to action rather than operational detail. The listing and sample questions are front-loaded reasonably, but the price line is of doubtful relevance to a free preview.

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

Completeness3/5

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

For a simple two-parameter preview tool, the schema and annotations carry most of the load, including the public-metadata-only description and parameter docs. The tool description still omits what the preview actually returns and does not clarify that the question is echoed rather than answered, which matters because there is no output schema.

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?

With 100% schema coverage, both optional parameters are already documented in the schema. The description supplies sample 'question' strings as examples, but it does not explain the slug routing behavior and may imply the question is answered rather than echoed, so it adds little reliable meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies a listing ('hnfrontpage: Hacker News Front Page (Live)') and calls itself a 'FREE preview', but it never states what the preview returns. The sample questions make it sound like a free data query rather than a public-metadata preview, and it does not distinguish the tool from data_session_query.

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 use condition ('No API key needed', 'FREE preview — no key, no payment') and suggests trying sample questions, implying a free/no-credential trial. However, it never names alternatives such as data_session_query for full paid access, nor says when not to use the preview.

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