Skip to main content
Glama

buy_hn_javascript

Paid. Hacker News stories about 'javascript', newest first (or sort=top), with points, comments and links. $0.01 USDC on Base. No account, no API key. URL https://southpow.media/v1/hn/javascript.

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

Input Schema

NameRequiredDescriptionDefault
nNoStories, 1-30 (default 10)
sortNorecent (default) or top

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description still discloses the cost, payment currency and chain, the absence of auth requirements, and what each result contains (points, comments, links). That covers the behavioral facts an agent most needs before paying for a call; it omits nothing critical, though error/refund behavior is unstated.

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?

Front-loads the payment flag, then resource, ordering, fields, price and auth, with no filler. The trailing URL is compact and the whole entry is one scannable block.

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-parameter read tool with no output schema, the description supplies what the schema doesn't: cost, chain, auth posture, and return contents. Remaining gaps (rate limits, failure handling) are minor for this complexity.

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 100%, so both parameters are already documented, so a 3 is the baseline. The description echoes the sort alternative ('newest first (or sort=top)') but adds no new detail on 'n' beyond what the schema range says.

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 resource and topic: Hacker News stories about 'javascript', with sortable ordering and returned fields. Among the many buy_hn_<topic> siblings, the topic name in the description is what pins down which one to call. It does not explicitly distinguish itself from the generic buy_hn, which keeps it from a 5.

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?

Gives useful preconditions (paid, $0.01 USDC on Base, no account or API key) and notes the sort option, but never states when to use this versus buy_hn for general queries or another topic sibling. Usage is implied by the topic label rather than spelled out.

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