Skip to main content
Glama

bond_v2_result

Fetch delivered Agent402 Bond v2 work and verify its output hash matches the seller's on-chain record and signature before acceptance; it does not pay or change chain state.

Instructions

Agent402 Bond v2, buyer side. Fetch the delivered work (signed request; the signed bytes start with 0xff so they can never be a transaction) and verify it: the output hash recomputed from the received result must match the one the seller stored on chain, and the seller must have signed it. Never pays and changes nothing on chain. Returns result "verified" with the work; "working", "not_delivered" or "not_marked" mean try again later; a hash or signature mismatch is refused. Call it after the seller has delivered; then call bond_v2_accept only for work you checked. For v1 deals use bond_job_result.

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

Input Schema

NameRequiredDescriptionDefault
urlYesSeller job base URL from bond_find_sellers (the tool appends /quote, /open or /deliver). Its host must be in X402_ALLOWED_DOMAINS.
dealYesBond v2 deal account address (base58), as returned by bond_v2_start.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / deal / description
      Added value: +"Bond v2 deal account address (base58), as returned by bond_v2_start."
    • addedInput schema / properties / url / description
      Added value: +"Seller job base URL from bond_find_sellers (the tool appends /quote, /open or /deliver). Its host must be in X402_ALLOWED_DOMAINS."
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does so: it declares no side effects ('Never pays and changes nothing on chain'), enumerates the result statuses and their meanings (retryable vs. refused), and explains the signature/hash verification logic plus the 0xff prefix guard against transaction confusion.

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 identity and action, then sequencing and failure semantics; nearly every clause carries decision-relevant information. The 0xff parenthetical is slightly technical but justifies itself as a safety disclosure.

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 two-parameter, read-only tool with no output schema, the description covers side effects, all return statuses and how to act on each, verification semantics, sequencing, and version routing. Nothing needed to invoke or interpret the result is missing.

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% and both parameters (url, deal) are documented in the schema with format, origin, and the X402_ALLOWED_DOMAINS constraint. The description adds no parameter-level detail beyond that, so the baseline of 3 applies.

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 (fetch and verify) and a specific resource (the delivered work for a v2 bond deal), and distinguishes itself from bond_v2_accept ('then call... only for work you checked') and from bond_job_result ('For v1 deals use...'). An agent can tell exactly what this tool does without opening the 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 ordering ('Call it after the seller has delivered'), an explicit follow-up gate ('call bond_v2_accept only for work you checked'), and an explicit alternative for the v1 path ('For v1 deals use bond_job_result'). Covers when to call, what to do next, and which sibling to use instead.

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