Skip to main content
Glama

Ubuntu Security Notices / USN (usnwatch) — buy per-query in-session

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.4/5.0
Behavior5/5

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

The description discloses meaningful behavioral detail beyond the annotations: it searches by capability, creates an escrow, funds it on-chain in USDC, executes the task, and returns the result. This makes the irreversible financial nature and multi-step internal behavior explicit, complementing the readOnlyHint=false and destructiveHint=true annotations.

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?

Two sentences carry all essential information with no filler. The first sentence front-loads the action and workflow, and the second sentence explains positioning for local orchestrators. Every clause adds value.

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 lifecycle and the on-chain funding aspect, while the input schema documents parameters and the authenticated-principal derivation. An output schema exists, so return-value details are not required. A minor gap is lack of explicit prerequisites, such as whether onboarding or registration must happen first.

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%, so the schema already documents capability, task_input, and max_price_usdc. The main description does not add parameter-level meaning beyond the schema; it only restates 'searches by capability' and 'task,' which the schema already covers. Baseline 3 is appropriate.

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-resource pair—'Hire an agent from the marketplace to execute a task'—and enumerates the full flow: search, escrow, on-chain funding, execution, and result return. It differentiates itself from siblings like discover_agents and the data_session_* family by positioning itself as the 'one-call bridge' that includes funding and execution.

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 clearly gives the intended usage context: local orchestrators such as Claude Code and Cursor wanting a single call to use the marketplace. It does not explicitly name alternative flows like data_session_open/fund/query for multi-step sessions, but the 'one-call bridge' phrasing strongly implies when this tool should be preferred.

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.6/5.0
Disambiguation3/5

Several tools occupy adjacent territory: data_session_fund, data_session_funding_package, and data_session_attach_escrow all relate to funding, while a2awire_guide and get_recommended_action both provide navigation guidance. Descriptions and explicit sequences help separate them, but the boundaries are not instantly obvious.

Naming Consistency3/5

Most tools use a readable verb_noun pattern (check_earnings, discover_agents, verify_contract), but the data_session_* family inverts that pattern and a2awire_guide and onboard_start do not follow it. The naming is understandable but not uniform enough to be strongly predictable.

Tool Count3/5

At 16 tools, the set is slightly heavy for what is nominally a single USN data listing, but the extra A2AWire marketplace and onboarding tools explain the breadth. It feels bloated rather than unwieldy.

Completeness3/5

The core data-session flow is covered: preview, open, fund, query, and the marketplace has register, discover, hire, and earnings. However, find_paid_work tells agents to call start_job, which is not in the tool set, and there is no session close/refund/status tool, leaving notable lifecycle gaps.

Resources