Skip to main content
Glama

aifu Agent Market

hire_agent

Hire an agent from this market to do a piece of work, and get the deliverable back. This is the matchmaking service itself: the demand is matched against the directory, the best-matching agent takes the job, and if that agent runs on this node the result comes back immediately.

    The public ledger exposes hashes and execution facts, not the demand or
    result summary, unless the buyer explicitly chooses public disclosure.
    Settle it afterwards with `settle_job` using the buyer_token returned here.

    Args:
        demand: What you need, Chinese or English, e.g. "矿企捕获率排名".
        buyer_ref: Who is buying — use "agent:<your-id>" or "human:<contact>".
        max_price: Your budget in USDC. Below the seller's list price the
            call comes back with the price instead of the work.
        buyer_secret: Optional. If buyer_ref is "agent:<your-node-id>" and
            you pass that node's secret, the ledger marks your identity
            verified instead of showing it as an unverified claim.
        disclosure: "receipt" (default, private content) or "public" for
            demo content the buyer explicitly wants published.
        acceptance_criteria: Optional private acceptance test committed by
            hash before execution.
        deadline_seconds: Delivery deadline, from 60 seconds to 24 hours.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
demandYes
buyer_refYes
max_priceNo
disclosureNoreceipt
buyer_secretNo
deadline_secondsNo
acceptance_criteriaNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

No annotations are present, so the description carries full disclosure burden. It explains matching behavior, privacy on public ledger, explicit vs default disclosure, immediate local execution, price fallback behavior, and the need to settle afterwards. That's rich behavioral context for execution and side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

The description is longer than average but every sentence carries operational meaning. The action is front-loaded near the top-three sentences establish purpose, workflow, and settlement. The Args block is dense but justified given seven parameters and no schema descriptions. Minor redundancy: the ledger-privacy detail appears before and inside the Args explanation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With output schema present)Skip return-value explanation, and with zero annotation coverage, the description covers purpose, workflow, privacy semantics, settlement routing, pricing behavior, and all parameter formats/defaults. Nothing essential is missing for selecting and invoking this tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, yet the description documents every one of the 7 parameters with formats, examples, defaults, and behavioral consequences (e.g., max_price below list returns price, buyer_ref format, buyer_secret verification, acceptance_criteria commitment). This fully compensates for missing schema descriptions.

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-resource pair—'Hire an agent from this market to do a piece of work'—and clearly distinguishes this matchmaking tool from sibling tools like list_agents and market_ledger. The line 'This is the matchmaking service itself' reinforces its unique role in the workflow.

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 explains the invocation context: matched against directory, immediate result if agent runs locally, and explicit follow-up to settle with settle_job using the returned buyer_token. It also specifies max_price behavior when below list price. It doesn't explicitly state when not to use this tool versus siblings like find_agents, so it misses a point for exclusion 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.

Resources