Skip to main content
Glama

UK Data: News and feeds

hacker_news

Read-onlyIdempotent

Top, new or best Hacker News stories, or search stories by keyword. (cost: 1 credit)

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

Input Schema

NameRequiredDescriptionDefault
kindNotop|new|best
limitNonumber 1-50
queryNostring

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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 covered. The description adds genuinely useful context in the 'cost: 1 credit' note, which is nowhere in structured fields. It does not describe the return shape or whether limit applies to both modes.

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 that states the modes first and tucks the cost note in parentheses; nothing is wasted. It could be marginally tighter by explicitly grouping 'browse vs. search' rather than leaving 'or search' as a trailing clause.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no required parameters, no output schema, and three simple params, the description covers the main call shapes and the credit cost. It is missing what happens when no arguments are supplied (default feed?) and how limit interacts with keyword search, which matters for a zero-required-param tool.

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 does add some meaning by mapping kind to the top/new/best feed modes and query to keyword search, but it leaves the relationship between them ambiguous — an agent cannot tell whether combining kind and query is meaningful or an error.

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?

Names the specific resource (Hacker News stories) and the exact modes it supports (top, new, best, or keyword search), so an agent can tell what it fetches. It stops short of differentiating itself from the sibling news_search, which sounds like it could cover similar ground.

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 'top, new or best ... or search by keyword' phrasing implies two usage modes (browse a feed vs. keyword search), which is useful implicit guidance. It never says when to choose this over news_search or rss_read, and gives no guidance on which of kind/query to supply together.

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