Skip to main content
Glama
Hacker News Tech Trends Algolia MCP Server

Hacker News Tech Trends Algolia MCP Server

Search Hacker News stories by relevance

search_hn_stories
Read-onlyIdempotent

Search Hacker News stories by relevance through Algolia, with an optional minimum points filter to surface only well-received posts. Returns paginated results for any topic query.

Instructions

Search Hacker News stories via Algolia ranked by relevance, with optional minimum points filter.

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": {
      "query": "<query>"
    },
    "name": "search_hn_stories"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoZero-based results page number (default 0).
queryYesSearch query (e.g. "cloudflare", "mcp", "postgres", "rust").
min_pointsNoOptional minimum points threshold (e.g. 50).
hits_per_pageNoMaximum stories to return (default 15).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and non-destructive behavior, so the safety profile is covered. The description adds that results come from Algolia and are relevance-ordered with an optional points filter, but says nothing about pagination limits, result counts, or rate limits beyond what the schema shows.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero filler; the backend, ordering, and optional filter are all stated compactly.

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 full schema coverage, rich annotations, and no output schema, a one-sentence description is close to sufficient; it identifies the source, ranking, and filter. Minor gaps like pagination behavior and result-count expectations are already carried by the 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?

Schema description coverage is 100%, so page, query, min_points and hits_per_page are all documented in the schema itself. The description only echoes the min_points filter, adding no syntax or behavioral detail (e.g., how filtering interacts with result counts) beyond the structured fields.

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') plus the backing index (Algolia) and ordering ('ranked by relevance'). The relevance emphasis implicitly separates it from search_hn_by_date, but no sibling is named explicitly, so the differentiation is only inferable.

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?

The phrase 'ranked by relevance' implies when this tool is preferred over date-ordered searching, but the description never states when to use it versus search_hn_by_date, search_show_hn_launches, or get_front_page_stories, and offers no exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.