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. For x402 API endpoints use x402_merchant_trust_check. Company-vendor checks require the full /mcp profile.

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": {
      "domain": "<domain>"
    },
    "name": "pre_purchase_merchant_trust_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesHostname only, e.g. stripe.com; not a keyword or placeholder.
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
codeNo
domainNo
statusNo
sandboxNo
signalsNo
latency_msNo
risk_levelNo
limitationsNo
safe_to_buyNo
trust_scoreNo
error_reasonNo
recommendationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / domain / description
      Previous value: -"Public domain without scheme, path or port."New value: +"Hostname only, e.g. stripe.com; not a keyword or placeholder."
  2. Changed3 schema fields changed
    • removedOutput schema / anyOf
      Removed 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"
      -  }
      -]
    • addedOutput schema / description
      Added value: +"Fields only; full schema in GET /v1/catalog."
    • addedOutput schema / properties
      Added value: +{
      +  "code": {},
      +  "domain": {},
      +  "error_reason": {},
      +  "latency_ms": {},
      +  "limitations": {},
      +  "recommendation": {},
      +  "risk_level": {},
      +  "safe_to_buy": {},
      +  "sandbox": {},
      +  "signals": {},
      +  "status": {},
      +  "trust_score": {}
      +}
  3. Changed3 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"
      +      },
      +      "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"
      +  }
      +]
    • removedOutput schema / description
      Removed value: -"Fields only; full schema in GET /v1/catalog."
    • removedOutput schema / properties
      Removed value: -{
      -  "code": {},
      -  "domain": {},
      -  "error_reason": {},
      -  "latency_ms": {},
      -  "limitations": {},
      -  "recommendation": {},
      -  "risk_level": {},
      -  "safe_to_buy": {},
      -  "sandbox": {},
      -  "signals": {},
      -  "status": {},
      -  "trust_score": {}
      -}
  4. Changed3 schema fields changed
    • removedOutput schema / anyOf
      Removed 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"
      -  }
      -]
    • addedOutput schema / description
      Added value: +"Fields only; full schema in GET /v1/catalog."
    • addedOutput schema / properties
      Added value: +{
      +  "code": {},
      +  "domain": {},
      +  "error_reason": {},
      +  "latency_ms": {},
      +  "limitations": {},
      +  "recommendation": {},
      +  "risk_level": {},
      +  "safe_to_buy": {},
      +  "sandbox": {},
      +  "signals": {},
      +  "status": {},
      +  "trust_score": {}
      +}
  5. 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"
      +  }
      +]
  6. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=true, so the safety profile is covered; the description adds genuinely new behavior: a per-call price of $0.005 after shared free calls, an explicit disclaimer that the output is not a safety guarantee or purchase authorization, and a note that the context field is recorded without identity. These caveats materially shape how an agent should present the result. It does not discuss latency, coverage limits, or failure modes for unscanable domains.

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?

Three compact sentences with the value proposition and output contents front-loaded, followed by cost and routing guidance. Every clause carries information, though 'Company-vendor checks require the full /mcp profile' is terse enough that an agent may not know which tool or profile that refers to.

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?

An output schema exists, so return values need not be explained, and the description covers scope, cost, sibling routing, and the key caveats. For a read-only, single-required-parameter scan this is nearly complete; the only residual gap is what happens with unresolvable or non-shop domains.

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%, so every parameter — including the hostname-only constraint, the anonymity of context, and the non-authorizing nature of merchant_wallet_or_id and transaction_amount_usd — is already documented in the schema. The description adds no parameter-level detail beyond that and only reinforces that supplying a wallet or amount does not change the scan price or authorize a purchase. Baseline 3 is appropriate when the schema carries the parameter burden.

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 names the resource and scope precisely — trust evidence on an online shop before purchase — and states what comes back (cautious score, risk flags, gaps). It also distinguishes itself from x402_merchant_trust_check and from the full /mcp profile used for company-vendor checks, so an agent can place it among siblings. It stops short of a crisp action verb, framing the purpose as a noun phrase instead.

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?

The 'before buying' framing gives a clear use context, and the description explicitly routes x402 API endpoint checks to x402_merchant_trust_check and company-vendor checks to the full /mcp profile. What is missing is an explicit statement of when this tool should not be used for a consumer shop check, or what to do when the domain is unknown or the shop is unindexed.

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.