Skip to main content
Glama

Hacker News Trending

hn_item

Fetch a single HN item by id (story or comment).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.5/5.0
Behavior2/5

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

No annotations provided, so description carries full burden. It mentions fetching by id but fails to disclose error behavior (e.g., non-existent id), rate limits, or any side effects. For a read operation, the description is minimal.

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?

Single sentence with no fluff. Every word contributes to understanding. Efficient and front-loaded.

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 output schema, the description does not specify return format or structure. For a simple fetch, some users may expect details on response fields. Completeness is adequate but not high.

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 coverage is 0%, so description must add meaning. It links the 'id' parameter to the fetch action, clarifying that it's an HN item id. However, it doesn't explain the format or range. Baseline is 3 given minimal parameter info needed.

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?

Description clearly states it fetches a single HN item by id, specifying it can be a story or comment. This distinguishes it from sibling tools like hn_search (search) and hn_top (top stories).

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?

No explicit when-to-use or when-not-to guidance, but the simple nature of a fetch-by-id tool makes usage obvious. Implicitly, it's for retrieving a specific item when you have its id, but no alternatives or exclusions are mentioned.

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.