Skip to main content
Glama

bond_v2_quote

Read a seller's job quote and validate its terms against your wallet's bond rules, including dispute share and named arbiter checks, before starting a bonded job.

Instructions

Agent402 Bond v2 (Job Protocol v2). Read a seller's job quote (GET {url}/quote) and check it against this wallet's bond rules, including the dispute option: a non-refundable share of your deposit is refused unless X402_BOND_V2_ALLOW_SHARE=1, and a named arbiter must be in X402_BOND_V2_ARBITERS. Never signs. Returns result "ok" with the terms (review window, outcome if not accepted, arbiter), or "refused" (an error) with the reasons. Call it before bond_v2_start; for v1 sellers use bond_job_quote.

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

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • 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?

With no annotations supplied, the description carries the full burden and does: it declares "Never signs", discloses the gating rules (non-refundable share refused unless X402_BOND_V2_ALLOW_SHARE=1; arbiter must be in X402_BOND_V2_ARBITERS), and gives return semantics for both branches ("ok" with review window/outcome/arbiter vs "refused" as an error with reasons). That is materially more than a bare read hint.

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 constraints, then return shape, then routing — a logical order with no filler sentences. It is dense (long clause about env vars and arbiters) but every clause carries operational meaning.

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?

No output schema and no annotations exist, so the description must supply both side-effect and return-value information, and it does for both success and refusal outcomes. Nothing an agent needs before invoking a pre-flight quote check 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 the single parameter's description already explains the origin (bond_find_sellers), URL appending, and the X402_ALLOWED_DOMAINS host constraint. The tool description only repeats the /quote suffix, adding little beyond the schema; the high-coverage 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 and resource ("Read a seller's job quote" via GET {url}/quote) plus the added function of validating it against this wallet's bond rules. It also names the protocol version (Bond v2 / Job Protocol v2), which separates it from the v1 sibling named later in the text.

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 before bond_v2_start") and an explicit alternative route ("for v1 sellers use bond_job_quote"). The condition that selects each path is stated, not inferred.

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