Skip to main content
Glama

x402 Merchant Trust Check

x402_merchant_trust_check
Read-only

Pre-payment check of an x402 API endpoint: discovery files, live 402 terms, comparable USDC prices, latency, prompt-injection flags and public Coinbase CDP Bazaar payment statistics for the host. Heuristic, not a guarantee. $0.002; unreachable targets are free. Online shops: pre_purchase_merchant_trust_check.

Input Schema

NameRequiredDescriptionDefault
contextNoOptional. A few words on why you are calling this tool. Recorded without your identity to improve the tools; leave out personal data.
target_urlYesPublic HTTPS x402 API endpoint to inspect before signing a payment authorization; this scan does not authorize payment.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "domain": {
      -        "type": "string"
      -      },
      -      "latency_ms": {
      -        "type": "number"
      -      },
      -      "marketplace_reputation": {
      -        "description": "Public Coinbase CDP Bazaar statistics for the target host (30 days): listed, unique payers, calls, neutral demand signal.",
      -        "type": "object"
      -      },
      -      "matched_flags": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "prompt_injection_risk": {
      -        "enum": [
      -          "LOW",
      -          "MEDIUM",
      -          "CRITICAL"
      -        ],
      -        "type": "string"
      -      },
      -      "recommendation": {
      -        "type": "string"
      -      },
      -      "safe_to_pay": {
      -        "type": "boolean"
      -      },
      -      "status": {
      -        "type": "string"
      -      },
      -      "trust_score": {
      -        "maximum": 100,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "valid_x402_config": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "domain",
      -      "status"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "code": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "status": {
      -        "maximum": 599,
      -        "minimum": 400,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "code"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "domain": {
      +        "type": "string"
      +      },
      +      "latency_ms": {
      +        "type": "number"
      +      },
      +      "marketplace_reputation": {
      +        "description": "Public Coinbase CDP Bazaar statistics for the target host (30 days): listed, unique payers, calls, neutral demand signal.",
      +        "type": "object"
      +      },
      +      "matched_flags": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "prompt_injection_risk": {
      +        "enum": [
      +          "LOW",
      +          "MEDIUM",
      +          "CRITICAL"
      +        ],
      +        "type": "string"
      +      },
      +      "recommendation": {
      +        "type": "string"
      +      },
      +      "safe_to_pay": {
      +        "type": "boolean"
      +      },
      +      "sandbox": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "demo_domain": {
      +            "const": true,
      +            "type": "boolean"
      +          },
      +          "note": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "demo_domain",
      +          "note"
      +        ],
      +        "type": "object"
      +      },
      +      "status": {
      +        "type": "string"
      +      },
      +      "trust_score": {
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "valid_x402_config": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "domain",
      +      "status"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "code": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "status": {
      +        "maximum": 599,
      +        "minimum": 400,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "code"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Optional. A few words on why you are calling this tool. Recorded without your identity to improve the tools; leave out personal data.",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "domain": {
      -        "type": "string"
      -      },
      -      "latency_ms": {
      -        "type": "number"
      -      },
      -      "matched_flags": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "prompt_injection_risk": {
      -        "enum": [
      -          "LOW",
      -          "MEDIUM",
      -          "CRITICAL"
      -        ],
      -        "type": "string"
      -      },
      -      "recommendation": {
      -        "type": "string"
      -      },
      -      "safe_to_pay": {
      -        "type": "boolean"
      -      },
      -      "status": {
      -        "type": "string"
      -      },
      -      "trust_score": {
      -        "maximum": 100,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "valid_x402_config": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "domain",
      -      "status"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "code": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "status": {
      -        "maximum": 599,
      -        "minimum": 400,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "code"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "domain": {
      +        "type": "string"
      +      },
      +      "latency_ms": {
      +        "type": "number"
      +      },
      +      "marketplace_reputation": {
      +        "description": "Public Coinbase CDP Bazaar statistics for the target host (30 days): listed, unique payers, calls, neutral demand signal.",
      +        "type": "object"
      +      },
      +      "matched_flags": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "prompt_injection_risk": {
      +        "enum": [
      +          "LOW",
      +          "MEDIUM",
      +          "CRITICAL"
      +        ],
      +        "type": "string"
      +      },
      +      "recommendation": {
      +        "type": "string"
      +      },
      +      "safe_to_pay": {
      +        "type": "boolean"
      +      },
      +      "status": {
      +        "type": "string"
      +      },
      +      "trust_score": {
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "valid_x402_config": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "domain",
      +      "status"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "code": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "status": {
      +        "maximum": 599,
      +        "minimum": 400,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "code"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Changed3 schema fields changed
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "properties": {
      +      "domain": {
      +        "type": "string"
      +      },
      +      "latency_ms": {
      +        "type": "number"
      +      },
      +      "matched_flags": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "prompt_injection_risk": {
      +        "enum": [
      +          "LOW",
      +          "MEDIUM",
      +          "CRITICAL"
      +        ],
      +        "type": "string"
      +      },
      +      "recommendation": {
      +        "type": "string"
      +      },
      +      "safe_to_pay": {
      +        "type": "boolean"
      +      },
      +      "status": {
      +        "type": "string"
      +      },
      +      "trust_score": {
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "valid_x402_config": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "domain",
      +      "status"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "code": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "status": {
      +        "maximum": 599,
      +        "minimum": 400,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "code"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties
      Removed value: -{
      -  "domain": {
      -    "type": "string"
      -  },
      -  "latency_ms": {
      -    "type": "number"
      -  },
      -  "matched_flags": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "prompt_injection_risk": {
      -    "enum": [
      -      "LOW",
      -      "MEDIUM",
      -      "CRITICAL"
      -    ],
      -    "type": "string"
      -  },
      -  "recommendation": {
      -    "type": "string"
      -  },
      -  "safe_to_pay": {
      -    "type": "boolean"
      -  },
      -  "status": {
      -    "type": "string"
      -  },
      -  "trust_score": {
      -    "maximum": 100,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "valid_x402_config": {
      -    "type": "boolean"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "domain",
      -  "status"
      -]
  5. Changed1 schema field changed
    • addedInput schema / properties / target_url / description
      Added value: +"Public HTTPS x402 API endpoint to inspect before signing a payment authorization; this scan does not authorize payment."
  6. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations cover read-only and open-world behavior, and the description adds real value on top: pricing, the free-on-failure rule, and an explicit 'heuristic, not a guarantee' caveat that sets the right expectation about result reliability. It does not mention scan duration or what a failed/unreachable result looks like in the response, which is why this is a 4 rather than 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, followed by a compact enumeration of checks, a limitation, price, and a sibling redirect — no filler sentences. The first sentence is a long run-on list, which slightly hurts scannability.

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?

With an output schema present, full parameter documentation and annotations covering safety, the description only needed to add cost, reliability caveat and sibling routing — all of which it does. Nothing an agent needs to call this correctly 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 description coverage is 100% and both parameters are documented in the schema, including the 'this scan does not authorize payment' caveat on target_url. The description adds only the word 'host' (that stats are keyed to the host), so it neither compensates for a gap nor adds much beyond the schema — baseline 3.

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 action (pre-payment check) on a specific resource (an x402 API endpoint) and enumerates exactly what is inspected: discovery files, live 402 terms, USDC price comparisons, latency, injection flags and CDP Bazaar stats. It also explicitly distinguishes itself from the closest sibling by routing online shops to pre_purchase_merchant_trust_check.

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?

The use case is unambiguous: run it before signing a payment authorization, and the sibling to use for online shops is named directly. The cost line ('$0.002; unreachable targets are free') gives the agent the economic condition it needs to decide whether to call it.

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