Skip to main content
Glama

bond_confirm_and_pay

Confirm work receipt as buyer to release the seller bond and deposit, then pay the remaining balance directly to the seller before the deal deadline.

Instructions

Agent402 Bond, buyer side. Confirm receipt and pay the balance (price minus deposit) directly to the seller. Only for deals where this wallet is the buyer, before the buyer deadline, within the daily cap of the deal asset, with human confirmation (by default always). Confirming releases the seller bond and the deposit to the seller; the program does not judge quality. Bond v1 only (for v2 deals use bond_v2_accept). Call it after bond_job_result and only for work you checked. Returns result "confirmed_and_paid" with the transaction; any other result is an error (check bond_deal_status).

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": {
      "deal": "<deal>"
    },
    "name": "bond_confirm_and_pay"
  }
}

Input Schema

NameRequiredDescriptionDefault
dealYesDeal account address (base58), as returned by bond_job_start / bond_v2_start or shown by bond_deal_status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • addedInput schema / properties / deal / description
      Added value: +"Deal account address (base58), as returned by bond_job_start / bond_v2_start or shown by bond_deal_status."
  2. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/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: it discloses the funds effect ('Confirming releases the seller bond and the deposit to the seller'), the lack of quality arbitration ('the program does not judge quality'), the gating conditions including a daily cap, and the return contract ('confirmed_and_paid' with the transaction; any other result is an error). This covers consequences, authorization preconditions, and outcome handling for a financial mutation.

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?

Purpose and amount calculation are front-loaded, followed by preconditions, side effects, and the return contract in a logical order. The text is dense with parentheticals but nearly every clause carries operative information, so there is little waste.

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?

For a single-parameter, annotation-free payment mutation with no output schema, the description supplies the missing pieces: preconditions, what gets released, failure signaling, and the error-recovery path via bond_deal_status. An agent has enough to call it correctly and interpret the result.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description adds meaning by constraining the deal to one where this wallet is the buyer and to v1 deals only. It does not add format or address-resolution detail, but the schema already documents the base58 address pattern.

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?

States a specific verb and resource ('Confirm receipt and pay the balance (price minus deposit) directly to the seller') and immediately scopes it to the buyer side of Agent402 Bond v1. The closing note 'for v2 deals use bond_v2_accept' distinguishes it from the nearest sibling without opening either 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 preconditions for use (this wallet is the buyer, before the buyer deadline, within the daily cap of the deal asset, human confirmation) and explicit ordering ('Call it after bond_job_result and only for work you checked'). It also names the alternative for v2 deals, so an agent knows when not to use it.

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