get_underwriting_signals
Composite envelope that bundles into ONE call what previously took 3-4 separate per-axis verifier calls: Schema B latest-per-lender + Schema C merchant-wide rollup + CreditTier upgrade preview + a summary block.
Watch the summary block — it’s load-bearing
| Field | Why it matters |
|---|---|
anchorTier | max(observed-from-repayment, already-issued) — a lender never under-prices a merchant who has already proven a higher tier on a different lender’s book |
totalActiveCreditLineUsdCents | Sum of maxCreditLineUsdCents across all ACTIVE Schema B attestations |
reliabilityScore | onTimeSettlements / totalSettlements * 100 (0-100); null when no settlement history yet |
Watch latestPerLender[].lenderCurrentStatus
When the attestation status: ACTIVE but lenderCurrentStatus: SUSPENDED / ARCHIVED / UNKNOWN, the on-chain attestation is still valid but the issuer has been de-listed in the LenderRegistry. Verifier-side policy decides whether to honor.
Wraps: GET /v2/underwriting-signals/:merchantId.
get_upgrade_preview
Aspirational roadmap to higher credit-tier ceilings. Use this on merchant-portal flows asking “what does it take to climb?”
| Tier | Required | Blocks |
|---|---|---|
T1 | Default — every new merchant | — |
T2 | 3+ on-time settlements | Lifetime defaults > 0 |
T3 | 10+ on-time settlements | Trailing-12mo defaults > 0 |
nextTierGap and topTierGap are null.
Wraps: GET /v2/merchant/credit-tier/upgrade-preview/:merchantId.
verify_methodology
Look up a lender’s underwriting methodology. Two modes:
methodologyHash from the on-chain payload, calls this tool with that hash, downloads documentUrl, hashes it themselves, and compares. Any divergence flags methodology tampering.
Status enum:
| Status | Meaning |
|---|---|
ACTIVE | The currently-effective methodology — what new Schema B mints reference |
SUPERSEDED | An older version cited on legacy attestations; the lender has since updated |
REVOKED | Operator pulled this methodology; existing attestations are flagged for re-issuance |
GET /v2/methodologies/:lenderId/active and GET /v2/methodologies/:lenderId/:methodologyHash.
Related
- Trust Fabric overview — full architecture
- Lender Trinity MCP Tools —
verify_lender,recommend_lender,recommend_service_provider - Forensic Chain Workflow — how the tools compose for end-to-end attestation audit