Skip to main content
Glama

Hacker News MCP Server and API by Cotlet

Favorite an item in Hacker News

hacker_news_favorite_an_item
Read-onlyIdempotent

Favorite an item in the user's own Hacker News account from ChatGPT, Claude or any AI agent. Returns how to do it in Hacker News step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's Hacker News Cloud Browser. Hacker News's official API: Hacker News has an official API, but it is read-only and public (checked 28 Oct 2026).

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_favorite_an_item"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered structurally; the description reinforces this with "opens nothing by itself" and states the concrete return shape (screens, buttons, fields). It stops short of describing format, length, or what happens if the user is not logged in to Hacker News.

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?

The core behavior is front-loaded and clear, but the sentence trails into audience boilerplate ("from ChatGPT, Claude or any AI agent") and a dated API note whose relevance is only loosely argued. Tightening to the guide-then-browser-onward sequence would lose nothing.

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, the description usefully discloses what comes back (step-by-step screens, buttons, fields) and that no browser session is opened. It also explains why browser automation is required, given Hacker News's read-only public API — enough for a zero-parameter guide tool.

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?

There are zero parameters, so the baseline is 4 and the schema leaves nothing to disambiguate. The description doesn't need to explain parameters, though the total absence of an item identifier is a notable design point the agent must infer.

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?

States a specific verb and resource ("Favorite an item in the user's own Hacker News account") and immediately clarifies that the tool returns step-by-step instructions rather than performing the action, which separates it from the browser-action siblings. The gap is that with zero parameters it never says how the 'item' is identified, so the agent can't tell whether the guide is generic or item-specific.

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?

It gives a workflow hint — call this first, then execute with cotlet_browser_* tools in the user's Hacker News Cloud Browser — which is genuine when-to-use guidance. However, it names no alternatives and sets no exclusion conditions, e.g. vs hacker_news_hide_an_item or hacker_news_list_favorites, so the routing logic is only implied.

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