Skip to main content
Glama
Yahoo Finance, Trends, News & Reddit MCP Server

Yahoo Finance, Trends, News & Reddit MCP Server

by willowswt

search_hackernews_sentiment

Read-onlyIdempotent

Search Hacker News stories and discussions by topic to retrieve matching posts, upvote points, comment counts, author handles, and discussion URLs for community sentiment research.

Instructions

Search Hacker News stories and discussions (query) via HN Algolia API, returning top stories, upvote points, comment counts, author handles, and discussion URLs.

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_hackernews_sentiment"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSearch topic, company, or technology (e.g. 'MCP server', 'Anthropic', 'Postgres').
maxResultsNoMaximum HN stories to return (1-25, default 10).
sortByDateNoSort by newest instead of relevance/points (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered. The description adds value by naming the backing API (HN Algolia) and the shape of the returned data, but it omits rate limits, ordering behavior beyond what the schema says, and any hint about result truncation.

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 with no filler: verb, resource, data source, and return fields in that order. Nothing is redundant, though it is terse enough that the missing usage guidance stands out by its absence.

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 three-parameter read-only search with no output schema, the description usefully enumerates what each result contains, which substitutes for the absent output schema. What remains missing is routing guidance relative to sibling search tools and any note on result ordering or volume.

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 three parameters — query, maxResults, and sortByDate — are already documented with types, defaults, and ranges. The description only echoes `query` and adds no extra meaning beyond the schema, which is the expected baseline.

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: searches Hacker News stories and discussions via the HN Algolia API, and enumerates what comes back (points, comment counts, authors, discussion URLs). It is clear what the tool does, but it never distinguishes itself from siblings like search_reddit_discussions or search_realtime_news, so an agent must infer the difference from names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use, when-not-to-use, or alternative-tool guidance. The mention of Hacker News implies a community-discussion context, but nothing tells the agent to prefer this over search_reddit_discussions for forum chatter or search_realtime_news for breaking coverage.

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