Skip to main content
Glama
adjacentai

necl-hn-mcp

hn_get_story

Retrieve complete metadata for a Hacker News story using its ID, including title, URL, score, author, comment count, and more.

Instructions

Get full metadata for a single HN story by id.

Args: story_id: The HN item id.

Returns: Story dict with id, title, url, score, author, comments_count, posted_unix, hn_url, type, text. Returns {"error": "..."} if not found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
story_idYes
Behavior4/5

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

No annotations provided, so description must convey behavior. It states the tool returns a story dict with specific fields and an error dict if not found. This covers basic behavior for a read-only operation, but lacks details like authentication or rate limits, though not critical for this simple public API.

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?

Description is concise, front-loaded with purpose, followed by clear Args and Returns sections. No wasted words; every sentence adds value.

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

Completeness5/5

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

For a single-story retrieval tool with one parameter and no output schema, the description adequately explains input, output format (including error case), and purpose. No additional context is necessary.

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 explain parameters. It states 'story_id: The HN item id.' This provides some context beyond the schema's type and title, but is minimal. It compensates partially but could be more specific.

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?

The description clearly states the tool retrieves full metadata for a single HN story by ID, using a specific verb ('Get') and resource ('story'), and distinguishes it from siblings like hn_search or hn_get_comments.

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: when you have a story ID and want metadata. However, no explicit when-to-use or when-not-to-use guidance is given, and alternatives are not mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adjacentai/necl-hn-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server