Skip to main content
Glama

Hacker News Trending

hn_top

Current Hacker News front-page stories. kind can be 'top' (default), 'best', 'new', 'ask' (Ask HN), 'show' (Show HN), or 'job'. Returns up to 100 items.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNotop
limitNo

TDQS

A3.7/5.0
Behavior3/5

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

The description discloses that the tool returns up to 100 items and explains the 'kind' parameter values. With no annotations provided, it carries the full burden but only partially covers behavioral traits (e.g., no mention of authentication, rate limits, or return format). It is adequate but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is only two sentences and front-loads the main purpose. Every sentence adds value: the first identifies the resource, the second details customization. No unnecessary words.

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?

With no output schema and no annotations, the description covers the essential aspects: purpose, parameter variants, and output limit. For a simple listing tool with only two parameters, this is sufficient for an agent to select and invoke it correctly. It could be improved by mentioning the output structure (e.g., story IDs or objects).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema_description_coverage is 0%, the description adds meaning by explaining each 'kind' value (e.g., 'ask' = Ask HN) and stating 'Returns up to 100 items', which clarifies the 'limit' parameter. This goes beyond the schema's enum and numeric constraints, providing useful context for the agent.

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 clearly states 'Current Hacker News front-page stories' and lists the available kinds (top, best, new, ask, show, job). This effectively communicates that the tool retrieves lists of stories. It distinguishes from siblings like hn_item (single item) and hn_search (search) by focusing on front-page listings.

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 description implies when to use the tool (when you want top/best/new/ask/show/job stories) but does not explicitly state when not to use it or mention alternatives. It provides enough context for choosing this tool over siblings, but lacks explicit guidance.

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.

TDQS

A3.8/5.0
Disambiguation5/5

Each tool targets a distinct HN resource: item by ID, full-text search, recent Show HN posts, front-page stories, and user profiles. No functional overlap.

Naming Consistency5/5

All tools follow a consistent hn_<descriptive> pattern (e.g., hn_item, hn_search), making their purposes clear.

Tool Count5/5

5 tools is appropriate for a Hacker News server, covering essential read operations without excess or deficiency.

Completeness4/5

Covers item retrieval, search, trending, show-specific posts, and user info. Minor gap: no comment-specific tool, but core workflows are well-supported.