Skip to main content
Glama

Sidetrip Hacker News

top_stories

Read-onlyIdempotent

Read the Hacker News front page from the official Firebase API. feed is top (default), new, or best. Returns at most 15 stories (default 8) with id, title, author, score, time, url, and comment count.

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

Input Schema

NameRequiredDescriptionDefault
feedNoWhich front page to read. Defaults to top.
limitNoHow many stories to return. Default 8, maximum 15.

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 read-only, idempotent, open-world, non-destructive behavior, so the safety profile is covered. The description adds useful context the annotations don't: the backing API, the hard cap of 15 stories, the default of 8, and the exact fields returned.

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?

Three tight sentences lead with the core action, then parameter behavior, then return shape. The only minor redundancy is repeating the default/maximum values that the schema already documents.

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 compensates by enumerating the returned fields, and it covers the source and hard limits. For a simple two-parameter read tool this is nearly complete; only edge behavior such as failure modes or ordering guarantees 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 coverage is 100%, with both parameters fully described including enum values, defaults, and the maximum. The description only restates those defaults and the enum options, adding no format or behavioral nuance beyond the schema, 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 uses a specific verb and resource ('Read the Hacker News front page') and names the upstream API, so an agent knows exactly what the tool returns. It does not explicitly name siblings like search_stories or get_item_with_comments, so differentiation is inferred from scope rather than stated.

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' and the feed enum, making it clear this is for browsing ranked lists rather than searching or fetching a single item. It never states when to prefer search_stories or get_item_with_comments instead, so the selection guidance is left to inference.

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