Hacker News: search
hackernews_search[hackernews] Search Hacker News stories by keyword.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (1-30) | |
| query | Yes | Keywords |
hackernews_search[hackernews] Search Hacker News stories by keyword.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (1-30) | |
| query | Yes | Keywords |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-network behavior are covered. Beyond that the description adds nothing — no indication of result ordering, whether comments or only stories are indexed, or how results are shaped.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One front-loaded sentence with zero filler. It is efficient, though its brevity borders on under-specification for a search tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
A simple two-parameter read-only tool with full schema coverage and annotations, so the description is adequate to invoke it. It still leaves open what a result contains and how matches are ranked, which matters for a search endpoint.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so both parameters (query, limit) are already documented with bounds and defaults. The phrase 'by keyword' reinforces the query parameter but adds no syntax or matching semantics beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clear verb+resource: 'Search Hacker News stories by keyword.' It distinguishes itself from hackernews_front_page by implying keyword-driven search rather than a fixed listing, though it never names that sibling explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this over hackernews_front_page, nor on what kinds of queries work (author, domain, date, full text). The agent must infer selection from the tool name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.