Skip to main content
Glama

APEX Machines & DePIN MCP

Peaq machine hire check

peaq_machine_hire_check

Pre-hire autonomous spend gate & ERC-8183 escrow planner for peaq machines: verifies peaq DID & bond, OFAC SDN sanctions, prompt-injection task safety, hard per-tx/daily USD spend limits, and returns an Ed25519 HireVerdict + ready-to-sign G2 Jobs USDC escrow steps. $0.005 per call over x402 or X-API-Key.

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>",
      "amountUsd": "<amountUsd>"
    },
    "name": "peaq_machine_hire_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
didYespeaq Machine DID (did:peaq:<id>).
taskNoOptional job instructions scanned for prompt/wallet exfiltration traps.
chainNoTarget ERC-8183 G2 Jobs escrow chain (default base).
paymentNoOptional x402 payment header value.
amountUsdYesProposed payment or escrow budget in USD (0.01-100000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses cost ($0.005/call), auth options (x402 or X-API-Key), the signed Ed25519 verdict artifact, and that the tool returns ready-to-sign escrow steps rather than executing them. It leaves error/denial behavior and any rate limits unstated.

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?

Two sentences, front-loaded with the purpose and followed by the cost/access detail, with no filler. It is dense with domain jargon (ERC-8183, G2 Jobs, HireVerdict) but each clause contributes distinct scope or behavior.

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 five-parameter tool with no annotations and no output schema, the description covers the check set, the returned artifacts, and the payment model, which is what an agent needs before calling. It does not describe what a rejected verdict looks like or how failures surface.

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%, so every parameter is already documented, including the enum and the 0.01-100000 USD range. The description only adds indirect context (the amount is checked against hard per-tx/daily limits, chain selects G2 Jobs escrow), so the baseline of 3 applies.

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 states a specific composite verb and resource: it gates spend before hiring a peaq machine by verifying DID/bond, sanctions, and prompt-injection safety, then plans an ERC-8183 escrow. That bundling is distinctive enough that an agent can tell it apart from narrower siblings, though it never names an alternative to contrast against.

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?

"Pre-hire autonomous spend gate" gives a clear usage moment (before committing funds to a machine), and the pricing sentence clarifies the access path (x402 or X-API-Key). There are no explicit when-not conditions or named fallbacks for agents that only want a trust check or only a sanctions check.

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