Skip to main content
Glama

Merchant Check (KYB facts)

merchant_check
Read-onlyIdempotent

Merchant check (KYB facts): give a merchant's domain and optionally its company name, get neutral sourced facts in one call: domain registration date and age, expiry and registrar (registry RDAP), DNS and SPF/DMARC email-auth, an OFAC sanctions screen of the name, GLEIF LEI match and SEC EDGAR match. No risk score, fraud verdict or verified-merchant label; not a compliance determination. Signed receipt. Price: $0.01 per call via x402 (USDC on Base or XRP on XRPL). The response includes a provenance block (sg-provenance/1): each fact carries its source, source URL, retrieval time and limits; evidence only, no score, rating or verdict. Example arguments: {"domain":"apple.com","name":"Apple Inc."}.

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

Input Schema

NameRequiredDescriptionDefault
leiNoOptional 20-character LEI (instead of a GLEIF name search)
nameNoCompany legal or trading name; screens OFAC (entities only), GLEIF LEI and SEC
domainYesMerchant domain or hostname (required)
tickerNoOptional US stock ticker for the SEC match
countryNoOptional ISO 3166 alpha-2 country filter for LEI matches

Output Schema

NameRequiredDescriptionDefault
dataNoSourced facts[] plus domain, sanctions (OFAC), lei and sec sections for a merchant; no score or verdict
receiptNoEd25519-signed, hash-chained receipt; verify free with the verify_receipt tool or POST /v1/verify-receipt. New receipts carry a signed `evidence` object: service_version, data_timestamp, validation, terms_version, terms_hash, provenance_hash.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent and non-destructive, but the description adds substantial context they cannot: a paid call at $0.01 via x402 (USDC on Base or XRP on XRPL), a signed receipt, and a documented `provenance` block (sg-provenance/1) carrying source, source URL, retrieval time and limits per fact. It also pre-empts a likely misuse by stating explicitly that no score, rating or verdict is returned.

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?

Purpose is front-loaded and the enumerated fact list is efficient. There is redundancy between 'No risk score, fraud verdict or verified-merchant label; not a compliance determination' and the later 'evidence only, no score, rating or verdict', which restates the same disclaimer twice in one paragraph.

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?

For a paid, multi-source aggregation tool the definition covers everything an agent needs: inputs, the fact set returned, payment mechanics and price, the provenance contract, and an explicit limitation on interpretation. An output schema exists, so omitting a field-by-field return description is appropriate.

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%, with the domain, name, LEI, ticker and country parameters all documented in-schema, so the baseline is 3. The description adds an example argument set and clarifies that the OFAC screen is 'of the name' for entities only, but does not explain how the optional parameters interact or override each other (e.g., LEI versus GLEIF name search).

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 — 'give a merchant's domain ... get neutral sourced facts' — and enumerates exactly what comes back: RDAP registration data, DNS/SPF/DMARC, OFAC screen, GLEIF LEI, SEC EDGAR. An agent can tell this is a bundled KYB fact-gathering call rather than a single-source lookup, without opening the schema.

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 'in one call' phrasing implies this is the aggregate option versus per-source siblings, and the 'no risk score ... not a compliance determination' line hints at when to reach for a scoring tool instead. But it never names or excludes alternatives (sanctions_screen, lei_lookup, domain_facts), so the routing decision is left to 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