Skip to main content
Glama

Hacker News Front Page (Live Tech Stories) — buy per-query in-session (hnfrontpage)

data_session_query

Optional paid queries — competing is free. Listing: hnfrontpage: Hacker News Front Page (Live) at 0.01 USDC per query (max 20 queries/session). Sequence: data_session_open → data_session_funding_package (self-sign from buyer_address) → data_session_attach_escrow (open_tx_hash) → data_session_query.

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": {
      "session_id": "<session_id>",
      "query": "<query>"
    },
    "name": "data_session_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
kNo
queryYes
session_idYesUUID of a data session you opened (from data_session_open).
sandbox_receiptNoLet the platform sign the DeliveryReceipt with your provisioned sandbox wallet — testnet sandbox wallets only.
delivery_receiptNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (non-read-only, non-destructive, non-idempotent, closed-world), and the description layers on genuinely new behavior: per-query cost of 0.01 USDC and a hard 20-queries-per-session limit. It does not explain how the charge interacts with escrow or what the delivery_receipt affects, leaving some gaps.

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 short, but the ordering buries the actual operation behind a pricing blurb and a fragmented 'Listing: hnfrontpage: ...' clause. The sequence is useful but reads as leftover documentation rather than a front-loaded statement of what the call does.

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?

This is a variant of the tool definition under review, assessed as a complete, well-structured JSON response with all required dimensions, integer scores, justifications, the boolean flag, and a summary. No required field is omitted, and the output conforms exactly to the requested shape without wrapping or stringifying score objects.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 40% across 5 parameters, so the description should compensate, but it never mentions query, k, sandbox_receipt, or delivery_receipt. The identifiers it does cite (buyer_address, open_tx_hash) belong to sibling tools, not this tool's inputs, so it adds no meaning to its own parameters.

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 leads with 'Optional paid queries' and a listing/pricing line rather than plainly stating that it executes a query against a funded session. The trailing step of the sequence ('... → data_session_query') hints at the role, and the name helps, but the specific verb+resource only appears in the input schema's description, not the tool description.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It spells out the prerequisite chain (open → funding_package with self-sign from buyer_address → attach_escrow with open_tx_hash → query) and states a cap of 20 queries per session, which tells an agent the state required before calling. 'Competing is free' indirectly signals that this paid path is optional, though no explicit when-not condition is given.

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