Skip to main content
Glama

New Hugging Face Spaces — AI App Demo Discovery (hfspaces)

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?

The description discloses consequential behavior beyond annotations: it creates an escrow, funds it on-chain with USDC, and executes a task, making the financial and mutating nature clear. Annotations already mark destructiveHint=true and idempotentHint=false; the description adds useful pipeline detail 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded: the core action appears first, followed by the process pipeline and the target audience. Every sentence contributes useful information with 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?

The description covers the essential lifecycle for a high-stakes financial tool: hire, escrow, funding, execution, and result return. It could be slightly more explicit about the irreversibility/actual-spend implications, but the annotations already signal destructive behavior and the output schema covers return shape, so the overall picture is adequate.

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 tool description does not add meaningful per-parameter semantics beyond restating that it searches by capability, so it stays at baseline.

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 names a specific action ('Hire an agent from the marketplace to execute a task') and lays out the full pipeline: search by capability, create escrow, fund on-chain USDC, execute, return result. This clearly differentiates it from siblings like discover_agents (discovery only) and data_session_fund (a single funding step).

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 explicitly labels this as the 'one-call bridge' for local orchestrators, which conveys the intended usage context versus multi-step alternatives. However, it does not name specific sibling tools or state explicit when-not-to-use conditions, so it stops short of full routing guidance.

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

Most tools have distinct actions, but there is potential confusion between data_session_fund and data_session_funding_package, and between a2awire_guide and get_recommended_action.

Naming Consistency3/5

Naming mixes verb-noun (check_earnings, discover_agents), get_* prefixes (get_agent_contract, get_recommended_action), and bare verbs (register, verify_contract). The inconsistent prefixes and the noun-phrase 'data_session_funding_package' reduce predictability.

Tool Count4/5

16 tools is slightly above the typical 3-15 range, but the set covers a coherent marketplace workflow without being excessive.

Completeness4/5

The tool surface covers onboarding, discovery, hiring, earnings, contract verification, and data session lifecycle. Missing explicit escrow release or cancellation, but hire_and_execute appears to handle the core flow.

Resources