Skip to main content
Glama

Pre-Purchase Merchant Check

pre_purchase_merchant_trust_check
Read-only

Online-shop trust evidence before buying: cautious score, risk flags and gaps; no safety guarantee or purchase authorization. $0.005 after shared free calls. x402 API endpoints: x402_merchant_trust_check. B2B procurement: b2b_vendor_stability_evaluator.

Input Schema

NameRequiredDescriptionDefault
domainYesPublic domain without scheme, path or port.
contextNoOptional. A few words on why you are calling this tool. Recorded without your identity to improve the tools; leave out personal data.
merchant_wallet_or_idNoOptional merchant identifier as context; supplying a wallet does not establish ownership or on-chain reputation.
transaction_amount_usdNoOptional intended purchase value in USD as context; it does not authorize a purchase or change the scan price.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "description": "Only status=ok is charged. Diagnostic results may omit result fields; unknown facts are null.",
      -    "properties": {
      -      "domain": {
      -        "type": "string"
      -      },
      -      "error_reason": {
      -        "type": "string"
      -      },
      -      "latency_ms": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "limitations": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "recommendation": {
      -        "type": "string"
      -      },
      -      "risk_level": {
      -        "enum": [
      -          "LOW",
      -          "MEDIUM",
      -          "HIGH",
      -          "CRITICAL"
      -        ],
      -        "type": "string"
      -      },
      -      "safe_to_buy": {
      -        "type": "boolean"
      -      },
      -      "signals": {
      -        "properties": {
      -          "active_ad_campaigns": {
      -            "type": [
      -              "boolean",
      -              "null"
      -            ]
      -          },
      -          "domain_age_days": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "has_active_employees": {
      -            "type": [
      -              "boolean",
      -              "null"
      -            ]
      -          },
      -          "legitimate_tech_stack": {
      -            "type": [
      -              "boolean",
      -              "null"
      -            ]
      -          },
      -          "onchain_reputation_score": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "open_jobs_count": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "domain_age_days",
      -          "has_active_employees",
      -          "open_jobs_count",
      -          "legitimate_tech_stack",
      -          "active_ad_campaigns",
      -          "onchain_reputation_score"
      -        ],
      -        "type": "object"
      -      },
      -      "status": {
      -        "enum": [
      -          "ok",
      -          "no_data",
      -          "unreachable"
      -        ],
      -        "type": "string"
      -      },
      -      "trust_score": {
      -        "maximum": 100,
      -        "minimum": 0,
      -        "type": "number"
      -      }
      -    },
      -    "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: +[
      +  {
      +    "description": "Only status=ok is charged. Diagnostic results may omit result fields; unknown facts are null.",
      +    "properties": {
      +      "domain": {
      +        "type": "string"
      +      },
      +      "error_reason": {
      +        "type": "string"
      +      },
      +      "latency_ms": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "limitations": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "recommendation": {
      +        "type": "string"
      +      },
      +      "risk_level": {
      +        "enum": [
      +          "LOW",
      +          "MEDIUM",
      +          "HIGH",
      +          "CRITICAL"
      +        ],
      +        "type": "string"
      +      },
      +      "safe_to_buy": {
      +        "type": "boolean"
      +      },
      +      "sandbox": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "demo_domain": {
      +            "const": true,
      +            "type": "boolean"
      +          },
      +          "note": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "demo_domain",
      +          "note"
      +        ],
      +        "type": "object"
      +      },
      +      "signals": {
      +        "properties": {
      +          "active_ad_campaigns": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "domain_age_days": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "has_active_employees": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "legitimate_tech_stack": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "onchain_reputation_score": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "open_jobs_count": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "domain_age_days",
      +          "has_active_employees",
      +          "open_jobs_count",
      +          "legitimate_tech_stack",
      +          "active_ad_campaigns",
      +          "onchain_reputation_score"
      +        ],
      +        "type": "object"
      +      },
      +      "status": {
      +        "enum": [
      +          "ok",
      +          "no_data",
      +          "unreachable"
      +        ],
      +        "type": "string"
      +      },
      +      "trust_score": {
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "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
    • changedInput schema / properties / domain / examples
      Previous value: -[
      -  "example.com"
      -]New value: +[
      +  "allbirds.com"
      +]
  3. 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"
      +}
  4. Changed4 schema fields changed
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "description": "Only status=ok is charged. Diagnostic results may omit result fields; unknown facts are null.",
      +    "properties": {
      +      "domain": {
      +        "type": "string"
      +      },
      +      "error_reason": {
      +        "type": "string"
      +      },
      +      "latency_ms": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "limitations": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "recommendation": {
      +        "type": "string"
      +      },
      +      "risk_level": {
      +        "enum": [
      +          "LOW",
      +          "MEDIUM",
      +          "HIGH",
      +          "CRITICAL"
      +        ],
      +        "type": "string"
      +      },
      +      "safe_to_buy": {
      +        "type": "boolean"
      +      },
      +      "signals": {
      +        "properties": {
      +          "active_ad_campaigns": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "domain_age_days": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "has_active_employees": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "legitimate_tech_stack": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "onchain_reputation_score": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "open_jobs_count": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "domain_age_days",
      +          "has_active_employees",
      +          "open_jobs_count",
      +          "legitimate_tech_stack",
      +          "active_ad_campaigns",
      +          "onchain_reputation_score"
      +        ],
      +        "type": "object"
      +      },
      +      "status": {
      +        "enum": [
      +          "ok",
      +          "no_data",
      +          "unreachable"
      +        ],
      +        "type": "string"
      +      },
      +      "trust_score": {
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "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 / description
      Removed value: -"Only status=ok is charged. Diagnostic results may omit result fields; unknown facts are null."
    • removedOutput schema / properties
      Removed value: -{
      -  "domain": {
      -    "type": "string"
      -  },
      -  "error_reason": {
      -    "type": "string"
      -  },
      -  "latency_ms": {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "limitations": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "recommendation": {
      -    "type": "string"
      -  },
      -  "risk_level": {
      -    "enum": [
      -      "LOW",
      -      "MEDIUM",
      -      "HIGH",
      -      "CRITICAL"
      -    ],
      -    "type": "string"
      -  },
      -  "safe_to_buy": {
      -    "type": "boolean"
      -  },
      -  "signals": {
      -    "properties": {
      -      "active_ad_campaigns": {
      -        "type": [
      -          "boolean",
      -          "null"
      -        ]
      -      },
      -      "domain_age_days": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "has_active_employees": {
      -        "type": [
      -          "boolean",
      -          "null"
      -        ]
      -      },
      -      "legitimate_tech_stack": {
      -        "type": [
      -          "boolean",
      -          "null"
      -        ]
      -      },
      -      "onchain_reputation_score": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "open_jobs_count": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "domain_age_days",
      -      "has_active_employees",
      -      "open_jobs_count",
      -      "legitimate_tech_stack",
      -      "active_ad_campaigns",
      -      "onchain_reputation_score"
      -    ],
      -    "type": "object"
      -  },
      -  "status": {
      -    "enum": [
      -      "ok",
      -      "no_data",
      -      "unreachable"
      -    ],
      -    "type": "string"
      -  },
      -  "trust_score": {
      -    "maximum": 100,
      -    "minimum": 0,
      -    "type": "number"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "domain",
      -  "status"
      -]
  5. Changed2 schema fields changed
    • addedInput schema / properties / merchant_wallet_or_id / description
      Added value: +"Optional merchant identifier as context; supplying a wallet does not establish ownership or on-chain reputation."
    • addedInput schema / properties / transaction_amount_usd / description
      Added value: +"Optional intended purchase value in USD as context; it does not authorize a purchase or change the scan price."
  6. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered; the description adds genuinely new behavioral context: the output is advisory only, carries no safety guarantee or purchase authorization, and costs $0.005 after shared free calls. It does not describe data freshness, source coverage, or latency for this open-world lookup, which keeps it below 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?

The purpose and the guarantee disclaimer are front-loaded in the first sentence, and the pricing and alternative-routing notes follow in order of declining importance. The telegraphic fragments ('x402 API endpoints: ...') are compact but slightly cryptic, costing a point.

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?

With an output schema present and annotations covering read-only behavior, the description only needs to supply purpose, cost, caveats, and routing, all of which are present. Missing details about data sources and freshness are the main residual gap for an open-world lookup tool.

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 every optional parameter already documents its purpose and its limits (e.g. the wallet does not establish ownership, the amount does not authorize a purchase). The description adds no parameter-level guidance of its own, so the schema 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?

The description names the resource ('online-shop trust evidence before buying') and the concrete artifacts returned ('cautious score, risk flags and gaps'), so an agent knows exactly what it gets back. It also names both related siblings (x402_merchant_trust_check as the underlying endpoint, b2b_vendor_stability_evaluator for B2B), making it distinguishable without opening schemas.

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 states the context of use (pre-purchase checks for online shops) and routes two adjacent cases to alternatives: B2B procurement to b2b_vendor_stability_evaluator and direct API access to x402_merchant_trust_check. It never states when NOT to use it beyond the B2B case, and the routing shorthand ('x402 API endpoints: ...') requires inference.

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