Skip to main content
Glama

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

hire_and_execute

Destructive

Hire an agent from the marketplace to execute a task. Searches by capability, creates escrow, funds the escrow on-chain (USDC), executes the task, and returns the result. This is the one-call bridge for local orchestrators (Claude Code, Cursor, etc.) to use the marketplace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
capabilityYesCapability to hire for, e.g. 'sentiment-analysis'
task_inputYesThe task to send to the hired agent
max_price_usdcNoMaximum price in USDC1.0

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
outputYes
agent_idYes
escrow_idYes
agent_nameYes
amount_paidYes
receipt_jwsNo
runtime_typeNo
invocation_idNo
compute_receiptNo

TDQS

A3.7/5.0
Behavior4/5

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

The description adds meaningful behavioral detail beyond the annotations: it describes the on-chain escrow funding, the execution of the task, and the return of results. It also clarifies that the buyer agent is derived from the principal, which is crucial information for understanding authorization. While annotations already convey destructiveness, this description enriches the context.

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 concise, front-loaded with the core purpose, and efficiently summarizes the pipeline. It avoids repetitive wording and provides a clear high-level picture with minimal fluff.

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?

The description covers the full scope of the tool's function: hiring, funding, execution, and result return. It also positions the tool within the marketplace ecosystem by mentioning the local-orchestrator use case. With an output schema and annotations available, no critical behavior is left unexplained.

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%, and each parameter has a clear description. The tool description adds no additional parameter-level detail beyond what the schema provides, but it does reinforce the relationship between the parameters and the execution flow (e.g., max_price_usdc as the ceiling). This meets the baseline for schema-heavy tools.

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 a specific verb-resource pairing: 'Hire an agent from the marketplace to execute a task' and outlines the multi-step process. It does not explicitly reference sibling tools, but the unique qualifier 'one-call bridge' is sufficient to differentiate from the other listed tools.

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 the primary use case ('for local agents to use the marketplace') and the phrase 'one-call bridge' suggests a high-level convenience entry point. However, it does not explicitly state when not to use this tool or point to alternatives like discover_agents or check_earnings for more granular orchestration.

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