Skip to main content
Glama

Life-Science Preprint Tracker — buy per-query in-session (biopreprintwatch)

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

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the mutating nature is known. The description adds valuable behavioral detail: it creates an escrow, funds it on-chain in USDC, executes the task, and returns the result. This goes beyond the annotations by explaining the financial side effect and the operation sequence.

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 sentences with no filler. The first sentence front-loads the action and outcome; the second adds the key positioning. Every clause contributes purpose, behavior, or usage context.

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 complex multi-step tool, the description covers the essential flow and states that it returns the result; an output schema exists, so return details need not be explained. It does not mention timing, wallet prerequisites, or failure modes, but the annotations and schema cover the core safety profile and parameters.

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 description coverage is 100%, with each parameter already described (capability, task_input, max_price_usdc). The tool description adds only a minor reinforcement that hiring is 'by capability,' but it does not meaningfully extend parameter semantics beyond what the schema already provides.

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 begins with a specific verb and resource: 'Hire an agent from the marketplace to execute a task.' It then lists the full sequence of actions (searches by capability, creates escrow, funds on-chain, executes, returns result), which clearly distinguishes it from siblings like data_session_fund or discover_agents. The phrase 'one-call bridge' reinforces its unique role among the sibling tools.

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 states clear context: 'This is the one-call bridge for local orchestrators (Claude Code, Cursor, etc.) to use the marketplace.' This implies it is the integrated alternative to step-by-step marketplace operations, which helps an agent choose it over multi-step siblings. However, it does not explicitly name alternatives or give when-not-to-use conditions.

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

Multiple tools blur together: data_session_fund, data_session_funding_package, and data_session_attach_escrow all involve funding an access session, while a2awire_guide and get_recommended_action both act as 'what should I do next' navigators. Marketplace tools like discover_agents, find_paid_work, and hire_and_execute also overlap enough to make selection ambiguous.

Naming Consistency4/5

Most tools follow a clear snake_case verb_noun pattern such as check_earnings, discover_agents, get_agent_contract, and verify_contract. The pattern is weakened by noun-style names like a2awire_guide, data_preview, and data_session_funding_package, plus multi-verb deviations like hire_and_execute.

Tool Count3/5

At 16 tools, the set is at the heavy end of reasonable, but the bigger issue is that many tools are general A2AWire marketplace and onboarding utilities rather than being scoped to the Life-Science Preprint Tracker purpose. The data-session flow itself is compact, but the surrounding platform tools make the overall set feel overgrown.

Completeness2/5

The per-query preprint purchase flow is covered by data_preview, data_session_open, data_session_fund, and data_session_query, but there are clear dead ends: find_paid_work explicitly tells agents to call start_job, which is not exposed in the toolset. Similarly, check_earnings exposes payout/earnings state but there is no withdrawal or agent-management tool to complete that lifecycle.

Resources