Skip to main content
Glama

bond_job_quote

Reads and validates a seller's job quote against wallet bond rules—allowlisted seller/domain, max price, minimum bond, delivery time, asset, and daily cap—returning ok or refusal reasons.

Instructions

Agent402 Bond Job Protocol v1. Read a seller's job quote (GET {url}/quote) and check it against this wallet's bond rules: seller in X402_BOND_SELLERS, price at most X402_BOND_MAX_USD, seller bond at least the minimum share, delivery time, the deal asset (USDC, or PREQ if enabled) and its daily cap. The URL host must be in X402_ALLOWED_DOMAINS. Never signs. Returns result "ok" with the terms, or "refused" (an error) with the reasons. For v2 sellers use bond_v2_quote (bond_find_sellers says which protocol a seller uses).

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_job_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
Behavior4/5

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

With no annotations, the description does heavy lifting: it discloses that the tool never signs, that validation happens against six enumerated bond rules, that the host must be allowlisted, and that outcomes are either "ok" with terms or "refused" as an error with reasons. It omits failure modes outside the policy check (network/timeout behavior, whether refusals are idempotent), which keeps it just short of a 5.

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 first, then the rule set, then return shape, then the sibling pointer — a sensible order with no filler sentences. The middle rule clause is a dense run-on list of constraints that takes effort to parse but each item carries real information.

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 one-parameter, no-output-schema tool, the description covers what is checked, what happens on success and refusal, and the non-signing safety property. Nothing an agent needs in order to call it correctly 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.

Parameters4/5

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

Only one parameter with 100% schema coverage, so the baseline is already high. The description adds the useful framing that the URL is the seller job base URL from bond_find_sellers, though the /quote, /open, /deliver appending and the X402_ALLOWED_DOMAINS host rule are already stated in the schema, so it largely reinforces rather than extends.

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 — and immediately contrasts it with the v2 tool (bond_v2_quote). An agent can tell exactly what this does and which sibling covers the other protocol.

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?

Explicitly routes v2 sellers to bond_v2_quote and explains how to determine a seller's protocol (bond_find_sellers says which protocol a seller uses). It also names the required upstream tool for the url argument, so the preconditions are unambiguous.

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