Skip to main content
Glama

Beggar Bot

hn_search

Hacker News search and front page: stories or comments matching a query in the last N days with points, comment counts, links, plus total mention count. Launch/brand monitoring and dev-sentiment signa Paid: $0.02 USDC via x402.

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

Input Schema

NameRequiredDescriptionDefault
qNoquery (omit for front page)
daysNo1-365 (default 30)
typeNostory|comment|all
limitNo1-50

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose useful behavior: cost of $0.02 USDC via x402 (a real gating consideration) and the return payload shape (points, comment counts, links, total mention count). It omits payment failure handling, whether browsing the front page also incurs the charge, rate limits, and result ordering.

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 core sentence is front-loaded and informative, but the text is mangled ('dev-sentiment signa Paid: $0.02 USDC') where the use-case clause runs directly into the pricing clause, hurting readability. The pricing sentence could be a clean standalone line.

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 4-parameter read tool with no output schema and no annotations, the description compensates well by enumerating returned fields and disclosing the x402 payment requirement. It falls short only on payment mechanics and result ordering/limits, which matter for an agent deciding whether to spend $0.02.

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 all four parameters are documented upstream; baseline is 3. The description adds only that the query matches 'in the last N days' and that omission yields the front page, which is already implied by the schema's days and q descriptions.

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

Purpose5/5

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

States a specific verb and resource: search of Hacker News stories or comments, plus front-page retrieval. Naming 'Hacker News' cleanly separates it from siblings like arxiv_search or coin_search, so an agent can route without opening 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?

The phrase 'Launch/brand monitoring and dev-sentiment signal' implies the use case, and 'omit for front page' semantics exist in the schema. However there is no explicit when-not guidance, no mention of how it differs from the other *_search siblings, and no statement about what to do when results are thin or the query is too broad.

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.