Skip to main content
Glama

search_discussions

What Hacker News said about a topic: matching stories with points, comment counts and links to the threads, plus aggregates — total matches, points and comments returned, the domains most often submitted, and the first/last time it was discussed. Price: $0.004

Input Schema

NameRequiredDescriptionDefault
sortNoRank by relevance (default) or newest firstrelevance
limitNoStories to return (1-50, default 10)
queryYesWhat to search Hacker News for

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / limit / default
      Added value: +10
    • changedInput schema / properties / limit / description
      Previous value: -"Stories to return (default 10)"New value: +"Stories to return (1-50, default 10)"
    • addedInput schema / properties / limit / example
      Added value: +10
    • addedInput schema / properties / query / example
      Added value: +"cloudflare workers"
    • addedInput schema / properties / query / maxLength
      Added value: +200
    • addedInput schema / properties / query / minLength
      Added value: +1
    • addedInput schema / properties / sort / default
      Added value: +"relevance"
    • changedInput schema / properties / sort / description
      Previous value: -"Ranking (default relevance)"New value: +"Rank by relevance (default) or newest first"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it enumerates return contents (stories, points, comment counts, thread links, aggregate totals, top domains, first/last discussion time) and even discloses cost ($0.004). It stops short of stating rate limits, auth needs, or failure modes, keeping it from a 5.

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?

A single front-loaded sentence leads with the resource and value, then enumerates outputs and appends the price. It is efficient with little waste, though the aggregate enumeration is dense.

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?

There is no output schema, so the description appropriately describes the return payload in detail and adds pricing. For a read-only search tool with full schema coverage, this is nearly complete; only rate-limit or permission behavior is left unstated.

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 query, sort, and limit are already fully documented in the schema. The description adds no parameter syntax or format meaning beyond that, so the baseline of 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 states a specific resource (Hacker News stories/discussions) and what is retrieved (matching stories with points, comment counts, thread links, plus aggregates). It clearly distinguishes itself from generic siblings like search_web or search_news by scoping to Hacker News, though it never names those alternatives.

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 the topic ('What Hacker News said about a topic'), but there is no explicit when-to-use guidance, no when-not-to-use, and no routing to alternatives such as search_news for general news or search_web for the broader web.

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.