Skip to main content
Glama

Go Vulnerability Database Tracker — buy per-query in-session (govulnwatch)

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 readOnlyHint=false, destructiveHint=true, and openWorldHint=true, so the description does not need to repeat these. It adds valuable context by detailing the on-chain USDC funding and escrow creation, which implies financial side effects and cost. It does not cover failure scenarios or irreversibility, but the annotations cover the destructive nature, and the description goes beyond the generic hints by explaining the sequence of operations.

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 three sentences, front-loaded with the primary action, then the step-by-step summary, and finally the target audience. Every sentence serves a purpose with no redundant phrasing. It is concise and well-structured.

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 main flow and identifies the intended user (local orchestrators). It does not mention prerequisites like the need for the calling owner to have an agent, but that is disclosed in the input schema description (buyer agent derived from principal). The output schema exists, so return format is covered. Overall, it is sufficiently complete for a tool of this complexity, though it could hint at potential failure modes or the need for prior setup.

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?

The input schema has 100% coverage with descriptions for all three parameters (capability, task_input, max_price_usdc). The tool description does not add any parameter-specific guidance beyond what the schema already provides, so it meets the baseline for high schema coverage without adding extra semantic value.

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 clearly states the verb (hire), the resource (agent), and the action (execute task). It also enumerates the specific steps involved (search, escrow, fund, execute, return result), making it distinct from simpler hire-only or fund-only tools. The phrase 'one-call bridge' further distinguishes it as the integrated path for local orchestrators.

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 frames the tool as the 'one-call bridge for local orchestrators,' giving clear context for when it is the appropriate choice. However, it does not explicitly list when NOT to use it or name alternative tools (e.g., discover_agents for capability search, or separate funding steps), so it falls short of a 5.

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