Skip to main content
Glama

Sage Agent x402 Tools

web_merchant_risk

Read-only

Generates an automated KYB merchant legitimacy score (0-100) and risk tier by combining official ICANN RDAP domain registration age, registrar details, SPF/DMARC email auth, HTTPS headers, and privacy/terms policy checks. Use for merchant onboarding or counterparty vetting; use web_dns_audit if you only need raw DNS records and agent-readiness files. Read-only, stateless; costs $0.020 Base USDC via x402 (unpaid calls return a v2 quote challenge without charging; invalid inputs return 400 uncharged).

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": "web_merchant_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesPublic merchant domain name or URL to underwrite (e.g. 'stripe.com').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, openWorldHint, and destructiveHint=false, but the description adds material behavior they don't cover: statelessness, a $0.020 Base USDC x402 cost, that unpaid calls return a v2 quote challenge without being charged, and that invalid inputs return 400 uncharged. These are exactly the failure-mode and billing facts an agent needs before invoking a metered external tool, and nothing contradicts the annotations.

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 the capability and scoring range, followed by inputs, then routing guidance, then cost/error semantics — a logical order with no filler. It is dense and the final sentence packs several billing caveats, but each sentence carries distinct, useful information.

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 single-parameter scoring tool with no output schema, the description covers scoring range, the signals used, payment flow, and error behavior, which is close to complete. It does not enumerate the possible risk tiers or the shape of the returned report, leaving the caller to infer the output structure.

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 there is only one parameter, so the schema already explains the domain input and its example. The description confirms the domain is the underwriting target and notes it may be a URL, but adds little syntax or normalization detail beyond that. Baseline 3 is appropriate when the schema does the heavy lifting.

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 verb and resource — generating a KYB merchant legitimacy score (0-100) plus risk tier — and enumerates the exact signals combined (RDAP registration age, registrar data, SPF/DMARC, HTTPS headers, policy checks). It explicitly separates itself from the sibling web_dns_audit, so an agent can choose between them without opening either schema.

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?

Gives both a positive use case (merchant onboarding, counterparty vetting) and an explicit alternative with the condition that selects it ('use web_dns_audit if you only need raw DNS records and agent-readiness files'). When-to-use and when-not-to-use are both covered.

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.