Skip to main content
Glama

Wisely x402 Agent-Payment Infrastructure

x402_quote_external

Probe a third-party x402 seller URL or accept pasted paymentRequirements, then quote how to satisfy it from the caller's crypto.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
typeNo
assetNo
inputNoPublic-safe request body/input for a hosted service or endpoint. Never include secrets, raw cards, wallet keys, passwords, or private account tokens.
itemsNo
queryNo
sinceNo
itemIdNo
acceptsNo
contentNoPublic-safe creator content for preview/import. Do not include secrets, private student data, or copyrighted material you do not own.
networkNo
audienceNoOptional audience hint for wisely_start_here / wisely_get_playbook / wisely_agent_instructions.
payoutIdNo
platformNoOptional OS/platform hint for local bridge setup, e.g. windows, mac, linux.
amountUsdNo
creatorIdNo
fromAssetNo
localPortNoOptional localhost port for the local commerce bridge MCP server. Defaults to 4027.
receiptIdNo
sellerUrlNoThird-party x402 paid resource URL to probe for HTTP 402 payment requirements.
serviceIdNo
sessionIdNoWallet handoff/payment session id returned by x402_wallet_handoff/connect_wallet.
toAddressNo
sellerBodyNoPublic-safe POST body for an external x402 seller. Never include cookies, bearer tokens, wallet secrets, private keys, card data, or account passwords.
contentTypeNo
fromAddressNo
fromNetworkNo
manifestUrlNo
paidActionsNo
endpointSlugNo
sellerMethodNoUse POST for paid APIs that need a public-safe body before returning 402.
payoutAddressNo
serverJsonUrlNo
idempotencyKeyNoStable retry key for paid invokes and wallet handoff sessions.
paymentPayloadNo
includeExamplesNoSet false to request a shorter playbook response.
fromTokenAddressNo
preferredNetworkNoPreferred payment network for wallet handoff, e.g. eip155:8453 or base.
defaultEntitlementNo
paymentRequirementNo
paymentRequirementsNo
returnSignedPaymentNoAlias for includeSignedPayment.
includeSignedPaymentNoFor x402_payment_session_status, include the signed X-PAYMENT payload when the user has signed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / localPort
      Added value: +{
      +  "description": "Optional localhost port for the local commerce bridge MCP server. Defaults to 4027.",
      +  "type": "number"
      +}
    • addedInput schema / properties / platform
      Added value: +{
      +  "description": "Optional OS/platform hint for local bridge setup, e.g. windows, mac, linux.",
      +  "type": "string"
      +}
  2. Changed8 schema fields changed
    • addedInput schema / properties / idempotencyKey
      Added value: +{
      +  "description": "Stable retry key for paid invokes and wallet handoff sessions.",
      +  "type": "string"
      +}
    • addedInput schema / properties / includeSignedPayment
      Added value: +{
      +  "description": "For x402_payment_session_status, include the signed X-PAYMENT payload when the user has signed.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / input
      Added value: +{
      +  "description": "Public-safe request body/input for a hosted service or endpoint. Never include secrets, raw cards, wallet keys, passwords, or private account tokens.",
      +  "type": "object"
      +}
    • addedInput schema / properties / paymentPayload
      Added value: +{
      +  "type": "object"
      +}
    • addedInput schema / properties / paymentRequirements
      Added value: +{
      +  "type": "object"
      +}
    • addedInput schema / properties / preferredNetwork
      Added value: +{
      +  "description": "Preferred payment network for wallet handoff, e.g. eip155:8453 or base.",
      +  "type": "string"
      +}
    • addedInput schema / properties / returnSignedPayment
      Added value: +{
      +  "description": "Alias for includeSignedPayment.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / sessionId
      Added value: +{
      +  "description": "Wallet handoff/payment session id returned by x402_wallet_handoff/connect_wallet.",
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / audience
      Added value: +{
      +  "description": "Optional audience hint for wisely_start_here / wisely_get_playbook / wisely_agent_instructions.",
      +  "enum": [
      +    "agent",
      +    "builder",
      +    "creator",
      +    "operator",
      +    "indexer"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / includeExamples
      Added value: +{
      +  "description": "Set false to request a shorter playbook response.",
      +  "type": "boolean"
      +}
  4. Changed5 schema fields changed
    • addedInput schema / properties / content
      Added value: +{
      +  "description": "Public-safe creator content for preview/import. Do not include secrets, private student data, or copyrighted material you do not own.",
      +  "type": "string"
      +}
    • addedInput schema / properties / contentType
      Added value: +{
      +  "enum": [
      +    "markdown",
      +    "csv",
      +    "json"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / defaultEntitlement
      Added value: +{
      +  "enum": [
      +    "free",
      +    "subscriber",
      +    "paid"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / items
      Added value: +{
      +  "type": "array"
      +}
    • addedInput schema / properties / paidActions
      Added value: +{
      +  "type": "array"
      +}
  5. Changed3 schema fields changed
    • addedInput schema / properties / creatorId
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / itemId
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / query
      Added value: +{
      +  "type": "string"
      +}
  6. Changed2 schema fields changed
    • addedInput schema / properties / sellerBody / description
      Added value: +"Public-safe POST body for an external x402 seller. Never include cookies, bearer tokens, wallet secrets, private keys, card data, or account passwords."
    • addedInput schema / properties / sellerMethod / description
      Added value: +"Use POST for paid APIs that need a public-safe body before returning 402."
  7. Changed12 schema fields changed
    • addedInput schema / properties / accepts
      Added value: +{
      +  "type": "array"
      +}
    • addedInput schema / properties / asset
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / endpointSlug
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / network
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / paymentRequirement
      Added value: +{
      +  "type": "object"
      +}
    • addedInput schema / properties / payoutAddress
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / payoutId
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / sellerBody
      Added value: +{
      +  "type": "object"
      +}
    • addedInput schema / properties / sellerMethod
      Added value: +{
      +  "enum": [
      +    "GET",
      +    "POST"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / sellerUrl
      Added value: +{
      +  "description": "Third-party x402 paid resource URL to probe for HTTP 402 payment requirements.",
      +  "type": "string"
      +}
    • addedInput schema / properties / since
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / type
      Added value: +{
      +  "type": "string"
      +}
  8. Changed3 schema fields changed
    • addedInput schema / properties / manifestUrl
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / serverJsonUrl
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / url
      Added value: +{
      +  "type": "string"
      +}
  9. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It states the tool probes a URL or accepts pasted requirements and then returns a quote, which suggests it does not execute payment. It does not mention network behavior, authentication, rate limits, or that no funds are moved, but the core behavior is reasonably clear.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficiently phrased sentence. It is front-loaded with the action and resource, and every word adds meaning. No wasted content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 43 parameters, no output schema, and empty annotations, this description is far too thin. It does not explain what the returned quote contains, how the probe operates, or how to handle HTTP 402 semantics, leaving major gaps for complex real-world use.

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?

The schema has 43 parameters and only 33% schema description coverage, so the description should compensate. It only maps to 'url' and 'paymentRequirements' but does not name the exact parameters (sellerUrl, paymentRequirements) or explain which of the many other parameters are relevant. With no required parameters, an agent is left guessing.

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?

The description uses strong, specific verbs ('Probe', 'quote') and identifies the resource: a third-party x402 seller URL or pasted paymentRequirements. The words 'third-party' and 'external' clearly differentiate this from sibling tools like x402_quote_service and x402_quote_conversion.

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

Usage Guidelines3/5

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

The description implies when to use it: when you have a third-party seller URL or pasted paymentRequirements. However, it does not explicitly state exclusions or name alternatives such as 'use x402_quote_service for internal endpoints'.

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.