Skip to main content
Glama

OpenData Best Web Intelligence (x402 USDC)

Hacker News Stories Jobs and Comments: Search Hacker News stories, jobs and comments

hackernews_com__search
Read-only

[Hacker News Stories Jobs and Comments] Search Hacker News stories, jobs and comments. Keyword search across Hacker News posts and comments with optional author profile enrichment. x402 price: $0.0020/row USDC (max 20 rows; 0 rows / errors are never charged).

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

Input Schema

NameRequiredDescriptionDefault
maxFetchesNoMost candidate items to read per collection part of up to 70 rows; must be at least Maximum rows per search, feed, or item ID. Reading stops once the row allowance is filled; public profile enrichment has a separate 25-author and 20-second limit.
maxResultsNoMost Dataset rows for each search query, feed, or explicit item ID (1–2,000). Default 70; larger values are collected in parts of 70. Root and descendant row types count together for that input. The run stops at your maximum total charge. Free platform plan: 200 rows per run and 10 runs of this Actor.
recordTypesNoChoose which item types to keep as dataset rows: story, comment, job, poll, or pollopt. Applies to search, feed, and item-ID modes.
searchQueryNoKeyword or phrase to search on Hacker News. When set, Specific item IDs and Hacker News feeds are ignored; clear it to use those inputs.
skipNoLeadsNoWhen enabled, omit records without an email, phone, location, organization, website, or social profile. Author username alone does not count as an outreach clue.
enrichDetailsNoAdd website and social links from public author profiles, without creating extra profile rows. Limited to 25 distinct authors and about 20 seconds per collection part of up to 70 rows; gaps are recorded in leadAbsences.

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 only declare readOnlyHint and openWorldHint, so the description carries the interesting load: a per-row price ($0.0020/row USDC), a 20-row cap, and the important guarantee that zero rows or errors are never charged. It also flags that profile enrichment is optional and bounded. It does not describe the returned record shape, which is the main remaining gap.

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 short sentences, front-loaded with the action and followed by the cost model. The bracketed site-name prefix merely restates the title and the server namespace, so it is the one clearly expendable element.

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?

For a six-parameter read-only search with full schema coverage and no output schema, the description covers purpose, billing behavior, and enrichment scope — enough to call it correctly and predict cost. It stops short of explaining how paged/part-collected results are returned, which matters given the 70-rows-per-part behavior in 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 the baseline is 3. The description adds only that author-profile enrichment is optional and that results are row-billed up to 20, mapping loosely to enrichDetails and maxResults; nothing is said about recordTypes, skipNoLeads, or maxFetches beyond what the schema already explains.

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 names a specific verb and resource: keyword search across Hacker News stories, jobs, and comments, plus optional author-profile enrichment. An agent can tell what it retrieves, but nothing distinguishes it from siblings hackernews_com__feeds or hackernews_com__items — the routing logic (searchQuery overrides feeds/item IDs) lives only in the schema.

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 only implied: it is the keyword-search entry point, and the price note hints it is a paid per-row operation, which nudges toward narrow queries. There is no explicit when-to-use versus feeds/items guidance and no stated exclusions in the description itself.

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