Agent Integration Patterns
9.1 The Trust Decision Workflow
When an AI agent needs to recommend a merchant, the OTR query is one step in a broader decision workflow:9.2 Integration Patterns
Pattern 1: Real-Time Queries
Call the OTR API in real time for each recommendation:Pattern 2: Cached Queries
Trust scores do not change frequently, making them well-suited for caching:Pattern 3: MCP Tool Invocation
Through the MCP protocol, AI applications can invoke the OTR query tool directly (see Chapter 7).9.3 Recommended Trust Score Weights by Scenario
| Scenario | Trust Score Weight | Rationale |
|---|---|---|
| High-value items (over $500) | 40-50% | Higher risk demands stronger trust signals |
| Mid-range items (500) | 20-30% | Balance between price and trust |
| Low-value items (under $50) | 10-20% | Users are more price-sensitive |
| First recommendation of an unknown merchant | 50%+ | No purchase history — trust is the primary basis |
9.4 Presenting Trust Information to Users
AI agents can display trust information alongside their recommendations:Next chapter: How to Improve Your Trust Score — A dimension-by-dimension guide to raising your OTR score