Skip to main content
Glama

Sidetrip Hacker News

show_or_ask_hn

Read-onlyIdempotent

Read the current Show HN or Ask HN list from the official Firebase API. kind is show or ask. Returns at most 15 stories (default 8).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>"
    },
    "name": "show_or_ask_hn"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesshow reads Show HN. ask reads Ask HN.
limitNoHow many stories to return. Default 8, maximum 15.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds the upstream source and the result cap ('at most 15 stories, default 8'), but says nothing about pagination, ordering, or freshness beyond 'current'.

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

Conciseness4/5

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

Three short sentences, front-loaded with the action and source, with no wasted words. The middle sentence 'kind is show or ask' largely duplicates the schema enum, a minor redundancy.

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 simple two-parameter read tool with full annotations, complete schema descriptions, and no output schema, the definition covers source, scope and result limits adequately. Only ordering/pagination behavior is left unstated, which is minor here.

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%, so both parameters are already documented with enum values and min/max bounds for limit. The description merely restates 'kind is show or ask' and the 15/8 cap, adding no semantics beyond the schema; baseline 3 applies.

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 ('Read the current Show HN or Ask HN list') plus the data source (official Firebase API), which an agent can distinguish from generic story tools. It stops short of naming how it differs from siblings like top_stories or search_stories, so it is clear but not fully differentiated.

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 it applies (reading Show HN / Ask HN lists) and clarifies the kind selector, but gives no explicit when-not guidance and never points to alternatives such as top_stories or search_stories. Usage must be inferred from the tool name and purpose.

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