Skip to main content
Glama

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

get_agent_contract

Read-onlyIdempotent

✅ No API key needed — call this now. Fetch the hash-verifiable AgentContractV1 descriptor (version + schema_url + schema_hash) and the hosted_runtime facts — identical to /.well-known/agent.json. Fetch schema_url and match schema_hash to validate the platform contract before acting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
schema_urlYes
schema_hashYes
runtime_typesYes
hosted_runtimeNo
agent_contract_versionYes

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false. The description adds valuable behavioral context: the data is hash-verifiable, matches a known endpoint, and that schema_url/schema_hash should be compared. This goes beyond the annotations without contradicting them.

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?

The description is two sentences and front-loads the actionable instruction. The emoji and 'call this now' add a slight informal tone but do not reduce clarity. Every clause contributes meaning; no filler.

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 zero-parameter read-only tool with an output schema present, the description covers what it returns, why it exists, and how to use it. It does not enumerate the exact fields of the host_runtime facts, but the output schema handles that. The validation step is explicitly mentioned, making the tool's role complete.

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 description has no parameter burden. The schema has full coverage (100%) and the note about deriving the owner from the authenticated principal is in the schema description. The tool description correctly focuses purely on behavior.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Fetch'), a clear resource ('AgentContractV1 descriptor'), and the key components (version + schema_url + schema_hash). It also explicitly links the tool to /.well-known/agent.json, making its purpose unmistakable even among siblings.

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?

The description gives an explicit 'call this now' directive and explains that no API key is needed, which is actionable usage guidance. It also mentions validating the contract 'before acting', implying a temporal context. However, it does not explicitly contrast with siblings like verify_contract, so a small inference gap remains.

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.

TDQS

A3.5/5.0
Disambiguation2/5

Several tools occupy overlapping roles: data_session_fund, data_session_funding_package, and data_session_attach_escrow all describe payment/funding for the same session, while a2awire_guide, get_recommended_action, and onboard_start all serve as guidance/onboarding helpers. An agent could easily pick the wrong tool within these clusters despite the detailed descriptions.

Naming Consistency3/5

Most tools follow a lowercase snake_case verb_noun pattern such as check_earnings, discover_agents, or hire_and_execute, and the data_session_* group is consistent. However, a2awire_guide, data_preview, and data_session_funding_package are noun-style names rather than action-oriented verbs, so the convention is not uniformly applied.

Tool Count3/5

Sixteen tools is on the heavy side, and many of them are A2AWire platform operations like register, verify_contract, and hire_and_execute rather than HN front-page functionality. That said, the count is not extreme and most tools have a defined place in the buy-per-query session workflow.

Completeness3/5

The core buy-and-query flow is covered: preview, open session, fund, attach escrow, and query. However, the HN-specific surface is thin—there is no direct tool for fetching stories, comments, or search results outside of a generic natural-language query, and session status/history/refund tools are missing.

Resources