Skip to main content
Glama

bond_open

Sign a seller-built open transaction for an Agent402 Bond deal after byte-matching the rebuilt instruction to your terms, locking your deposit under allowlist, cap, and confirmation rules.

Instructions

Agent402 Bond, buyer side. Sign an open transaction that the seller built and signed as fee payer (base64, legacy). Before signing, the instruction is rebuilt for this wallet from its own terms and must match byte for byte (one instruction, seller and this wallet as the only signers, USDC or an enabled PREQ deal). Rules: seller in X402_BOND_SELLERS, price at most X402_BOND_MAX_USD (PREQ: X402_BOND_MAX_PREQ_ATOMIC), seller bond at least X402_BOND_MIN_SELLER_BOND_BPS (default 5%), delivery within X402_BOND_MAX_DAYS (default 30), the deposit within the daily cap of its asset, and human confirmation (by default always). Empty settings refuse everything. Locks this wallet's deposit in the deal vault. Usually called for you by bond_job_start; call it directly only with a transaction a seller sent you outside the Job Protocol.

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": {
      "transaction": "<transaction>"
    },
    "name": "bond_open"
  }
}

Input Schema

NameRequiredDescriptionDefault
transactionYesThe seller-signed open transaction, base64 (legacy format).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • addedInput schema / properties / transaction / description
      Added value: +"The seller-signed open transaction, base64 (legacy format)."
  2. First observedv0.1.0

TDQS

A4.3/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 so well: it discloses byte-for-byte rebuild verification, the exact signer/instruction shape, five policy gates (seller allowlist, max price, min seller bond, delivery window, daily deposit cap), human confirmation, and the material effect 'Locks this wallet's deposit in the deal vault.' The remaining gap is failure semantics — whether a mismatch aborts cleanly, whether a rejected sign is safe to retry, and whether the action is idempotent — none of which is stated.

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?

Front-loaded with purpose, then verification, then policy gates, then effect and sibling routing — a sensible order. It is dense with config variable names and long clauses, but each sentence supplies actionable constraint rather than filler.

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 one-parameter signing tool with no output schema, the description covers preconditions, gating policy, and the state-changing consequence thoroughly. It leaves the caller unsure what the tool returns (relayed signature, deal id, status) and how errors surface, which is the main shortfall.

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?

Only one parameter, and schema coverage is 100% with a description that already says seller-signed, base64, legacy. The description adds mild reinforcement ('built and signed as fee payer', legacy) but no format, size, or decoding detail beyond the schema, so this sits at the baseline.

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?

Names a specific verb and resource ('Sign an `open` transaction') and pins the role ('buyer side', seller built and signed as fee payer). It also delimits scope against bond_job_start, so an agent can distinguish it from siblings without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit routing: 'Usually called for you by bond_job_start; call it directly only with a transaction a seller sent you outside the Job Protocol.' Both the default path and the narrow manual case are stated, which is exactly the when-to-use vs when-not guidance needed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.