Skip to main content
Glama

Genexxis paid agent tools (x402)

hn_item

One Hacker News story (or comment) by id with up to 30 top-level comments: author, time, plain text up to 500 characters and reply count. Price: $0.005 USDC per call, paid with x402 on Base.

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": {
      "id": "<id>"
    },
    "name": "hn_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesNumeric Hacker News item id
maxCommentsNo1-30, default 30

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does a solid job: it discloses the returned fields, the 500-character text truncation, the 30 top-level comment cap, and the per-call x402 USDC payment requirement. It does not describe error cases or the precise comment response structure, which keeps it from a 5.

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?

The description is two tightly written sentences with no wasted words. The core retrieval behavior is front-loaded, followed by return details and pricing.

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 lookup tool with no output schema, the description covers the return fields, truncation limits, comment scope, and payment model well. It could be slightly more complete if it described the shape of returned comments or error behavior, but nothing essential is missing for basic invocation.

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 the schema already documents both parameters fully. The description adds useful context by clarifying that id refers to a Hacker News item and that maxComments concerns top-level comments, but it does not need to explain parameter mechanics further.

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?

The description clearly states that this fetches one Hacker News story or comment by id, including the main returned fields and comment limit. The 'one ... by id' framing helps distinguish it from broader Hacker News listing or user tools, though it does not explicitly name those siblings.

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?

The description explains what the tool returns but gives no guidance on when to use it instead of alternatives such as hn_hackernews or hn_user. There are no exclusions, prerequisites, or routing cues beyond the implied single-item lookup.

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