Skip to main content
Glama

get_hacker_news

Read-onlyIdempotent

Hacker News top, best, Ask HN or Show HN stories.

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

Input Schema

NameRequiredDescriptionDefault
listNoDefault top.
limitNoMax items.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / limit / description
      Added value: +"Max items."
    • removedInput schema / properties / limit / maximum
      Removed value: -30
    • removedInput schema / properties / limit / minimum
      Removed value: -1
    • removedInput schema / required
      Removed value: -[]
  2. Added

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, openWorldHint and idempotentHint, and the description adds nothing beyond them — it essentially repeats the enum values the schema already exposes. Missing useful context such as whether results are live-fetched, whether there is a default limit or rate limiting, and roughly how many items come back by default.

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

Conciseness3/5

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

It is extremely short, but that brevity comes from being a fragment rather than from editing — there is no leading verb and no complete sentence. Nothing is wasted, yet the structure is under-specified rather than tight.

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 two-optional-parameter read-only fetch with a full-coverage schema and safety annotations, the essentials are covered — the agent knows the resource and the valid list values. Return shape is undefined, but no output schema exists, so the main residual gap is the meaning/default of 'limit'.

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%, with the enum and the 'Default top.' note already in the schema, so the baseline is 3. The description restates the same category names but adds no new meaning such as what 'limit' defaults to or its maximum.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the resource (Hacker News stories) and enumerates the four story categories, which matches the schema enum, but it is a bare noun phrase with no verb — the agent must infer that it fetches/lists stories. No sibling performs an overlapping function, so differentiation isn't the problem; the vague phrasing is.

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 guidance on when to call this tool, no prerequisites, and no mention of alternatives or exclusions. The only implicit signal is that the four category words correspond to selectable lists, which the agent must derive on its own.

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.