Skip to main content
Glama

Bounty Engineer Agent Commerce

Execute a paid product with native MCP x402

execute_paid_product

Native x402 v2 MCP payment transport. Choose product_id and input. The first call returns PaymentRequired without executing paid work. An x402-capable MCP buyer retries the same call with its signed PaymentPayload in params._meta['x402/payment']; a successful result includes _meta['x402/payment-response']. No browser or human checkout is required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputNo
product_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / product_id / enum
      Previous value: -[
      -  "hash",
      -  "base64",
      -  "jwt-decode",
      -  "json-canonicalize",
      -  "funding-rates",
      -  "margin-unlock",
      -  "margin-portfolio-unlock",
      -  "json-contract-check",
      -  "json-change-set",
      -  "evidence-pack",
      -  "context-pack",
      -  "data-quality-gate",
      -  "provider-route-plan",
      -  "result-consensus-gate",
      -  "retry-policy-plan",
      -  "batch-budget-plan",
      -  "structured-record-merge",
      -  "tool-output-quality-gate",
      -  "agent-commerce-plan",
      -  "delta-witness",
      -  "research-brief-pack",
      -  "agent-work-plan",
      -  "document-structure-scan",
      -  "lead-score",
      -  "text-chunker",
      -  "pii-redaction-map",
      -  "url-normalize",
      -  "json-pointer-extract",
      -  "csv-to-json",
      -  "json-to-csv",
      -  "rate-limit-plan",
      -  "cache-key-plan",
      -  "cost-break-even",
      -  "schema-sample",
      -  "record-dedupe",
      -  "bounty-intelligence",
      -  "bounty-due-diligence",
      -  "bounty-deal-desk",
      -  "agent-opportunity-underwriter",
      -  "autonomous-execution-blueprint",
      -  "agent-revenue-command-center",
      -  "tool-call-dry-run",
      -  "tool-response-shield",
      -  "schema-drift-guard",
      -  "x402-payment-preflight",
      -  "x402-settlement-test",
      -  "action-idempotency",
      -  "run-ledger",
      -  "agent-execution-gate",
      -  "agent-purchase-firewall",
      -  "agent-state",
      -  "web-extract",
      -  "public-web-audit",
      -  "tender-search",
      -  "tender-match"
      -]New value: +[
      +  "hash",
      +  "base64",
      +  "jwt-decode",
      +  "json-canonicalize",
      +  "funding-rates",
      +  "margin-unlock",
      +  "margin-portfolio-unlock",
      +  "json-contract-check",
      +  "json-change-set",
      +  "evidence-pack",
      +  "context-pack",
      +  "data-quality-gate",
      +  "provider-route-plan",
      +  "result-consensus-gate",
      +  "retry-policy-plan",
      +  "batch-budget-plan",
      +  "structured-record-merge",
      +  "tool-output-quality-gate",
      +  "agent-commerce-plan",
      +  "delta-witness",
      +  "research-brief-pack",
      +  "agent-work-plan",
      +  "document-structure-scan",
      +  "lead-score",
      +  "text-chunker",
      +  "pii-redaction-map",
      +  "url-normalize",
      +  "json-pointer-extract",
      +  "csv-to-json",
      +  "json-to-csv",
      +  "rate-limit-plan",
      +  "cache-key-plan",
      +  "cost-break-even",
      +  "schema-sample",
      +  "record-dedupe",
      +  "bounty-intelligence",
      +  "bounty-due-diligence",
      +  "bounty-deal-desk",
      +  "agent-opportunity-underwriter",
      +  "autonomous-execution-blueprint",
      +  "agent-revenue-command-center",
      +  "tool-call-dry-run",
      +  "tool-response-shield",
      +  "schema-drift-guard",
      +  "x402-payment-preflight",
      +  "x402-settlement-test",
      +  "action-idempotency",
      +  "run-ledger",
      +  "agent-execution-gate",
      +  "agent-purchase-firewall",
      +  "agent-state",
      +  "web-read-markdown",
      +  "web-extract",
      +  "public-web-audit",
      +  "tender-search",
      +  "tender-match"
      +]
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations declare openWorldHint=true, readOnlyHint=false, idempotentHint=false, and the description adds substantial non-obvious behavior beyond them: the first call deliberately does not execute paid work, where the payment payload must be placed, where the payment-response lands, and that no human checkout is needed. It omits cost/quoting expectations and any warning about non-idempotent repeated payment retries, so it is strong but not exhaustive.

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?

Four tight sentences, front-loaded with the transport and the selection step before the protocol mechanics, with almost no filler. The protocol-heavy middle sentence is dense but necessary for correct invocation.

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 payment-gated execution tool with no output schema, the description covers the request/response meta contract, the retry handshake, and the no-browser constraint, which is what an agent needs to complete the exchange. It is not complete on the input object's contract, which is the main missing piece.

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

Parameters2/5

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

Schema description coverage is 0% with two parameters, one of them a 57-value enum (product_id) and the other a free-form nested 'input' object. The description only restates 'choose product_id and input' without explaining what product_id selects or what shape/keys 'input' should carry, so it fails to compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Native x402 v2 MCP payment transport', executing a paid product) and explains the two-step payment handshake, so an agent knows exactly what the call does. It stops short of naming or contrasting the sibling tools (quote_autonomous_purchase, get_purchase_instructions), which is the only gap for a 5.

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

Usage Guidelines4/5

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

It gives concrete usage context: choose product_id and input, expect PaymentRequired on the first call, then retry with a signed PaymentPayload in params._meta['x402/payment']. That is a clear when/how-to-use narrative, though it never states when NOT to use this tool or which sibling to prefer for quoting/listing first.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources