REST Example (curl)
curl -X POST "https://crm-cleanse.apikeg.com/v1/compare-contact-pair" \
-H "Content-Type: application/json" \
-d '{
"defaultCountry": "GB",
"matchThreshold": 0.82,
"recordA": {
"fullName": "Jon Smyth",
"phone": "07911 123456",
"company": "Albion Analytics Ltd"
},
"recordB": {
"fullName": "John Smith",
"phone": "+44 7911 123456",
"company": "Albion Analytics Limited"
}
}'
MCP tools/call Payload
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "compare_contact_pair",
"arguments": {
"defaultCountry": "GB",
"matchThreshold": 0.82,
"recordA": {
"fullName": "Jon Smyth",
"phone": "07911 123456",
"company": "Albion Analytics Ltd"
},
"recordB": {
"fullName": "John Smith",
"phone": "+44 7911 123456",
"company": "Albion Analytics Limited"
}
}
}
}