Skip to main content
Glama

Science News Tracker — latest research & discovery headlines (scinews)

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 signal mutable/non-read-only and destructive behavior, and the description adds valuable context by stating that it creates an escrow and funds it on-chain with USDC before executing. This makes the financial side effect clear beyond a generic 'executes task.' It does not elaborate on irreversibility or refund behavior, but the on-chain escrow step is meaningful disclosure.

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 core action is front-loaded, the pipeline is summarized compactly, and the target-audience note is earned context that helps an agent decide when to invoke the tool.

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 tool with on-chain financial implications, the description covers the essential flow and the fact that money is moved (USDC escrow). The presence of a full output schema and 100% parameter documentation reduces the need to explain return values or argument formats. It could be more explicit about cost/irreversibility, but the escrow-funding statement plus annotations makes it sufficiently complete.

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%, with each property (capability, task_input, max_price_usdc) already clearly documented. The tool description itself does not add parameter-level detail, so the baseline of 3 is appropriate; the schema-level clarification that the buyer is derived from the principal is helpful but lives in the schema, not the tool description.

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 opens with a specific verb and resource: 'Hire an agent from the marketplace to execute a task.' It then summarizes the full pipeline (search, escrow, fund, execute, return), making the tool's purpose unmistakable. The phrase 'one-call bridge for local orchestrators' distinguishes it from multi-step marketplace/session 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 clearly communicates the intended context: a single-call integration for local orchestrators like Claude Code and Cursor. It implies use when you want the entire hire-and-execute flow in one call rather than using lower-level marketplace/session tools, though it does not explicitly name alternatives or list 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.

Resources