Skip to main content
Glama

APEX Machines & DePIN MCP

Peaq machine hire escrow

peaq_machine_hire_escrow

Generate a complete non-custodial peaq machine hire contract & ERC-8183 USDC escrow dispatch bundle (G2 Jobs create/set_budget/fund + machine_telemetry_notarize hook + Ed25519 signature). Console: https://apexfaucet.xyz/machines/hire/ . $0.006 per call.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "did": "<did>",
      "task": "<task>",
      "budgetUsd": "<budgetUsd>"
    },
    "name": "peaq_machine_hire_escrow"
  }
}

Input Schema

NameRequiredDescriptionDefault
didYesTarget peaq Machine DID (did:peaq:<id>).
taskYesTask description (3-2000 chars).
chainNoTarget ERC-8183 chain (default base).
paymentNoOptional x402 payment header value.
budgetUsdYesEscrow budget in USD (0.01-100000).
expiresInHoursNoOptional escrow expiry in hours (1-168, default 24).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden; it does add real value by stating non-custodial, that the output is a signed dispatch bundle, and the $0.006 per-call price. It does not clarify whether anything is submitted on-chain by this call or only constructed for the caller to sign/broadcast, nor what happens on failure, retries, or whether funds are ever held.

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?

A single dense sentence front-loads the purpose, followed by an endpoint and price. It is efficient with no filler, though heavy jargon compaction ("G2 Jobs create/set_budget/fund") and an inline URL slightly reduce readability.

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

Completeness3/5

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

Six parameters, three required, and no output schema, so the description should explain the shape of the returned bundle and what the caller must do with it; it only labels it a 'dispatch bundle.' For a payment-adjacent escrow creation tool with no annotations, that is a meaningful gap.

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 every parameter is already documented in the schema, and the description adds no additional semantics (e.g., DID format constraints, chain-specific behavior, x402 payment header usage). Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ("Generate") and a concrete artifact (non-custodial peaq machine hire contract + ERC-8183 USDC escrow dispatch bundle), and enumerates the internal steps (G2 Jobs create/set_budget/fund, notarize hook, Ed25519 signature). It is clearly distinguishable from generic job tools, though it never names the closely related peaq_machine_hire_check or job_status siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the mention of a budget, expiry-bearing escrow, and a console URL suggests 'use this when you want to hire a machine and fund escrow.' There is no explicit when-not guidance, no prerequisites (e.g., whether the DID must already be registered or the caller must have USDC/x402 funds on the target chain), and no routing versus peaq_machine_hire_check or peaq_machine_job_status.

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