Search customers
Find Customer Profiles by email address or phone number.
MCP tool gladly_read → search_customers
read
Searches Customer Profiles with one identifier at a time. Returns the matching profiles with name, emails and phones. When Gladly shows Matching customers found for a profile, the same person can have two profiles; the agent reports both and does not merge them, because Gladly cannot unmerge Customer Profiles.
Parameters
| Name | Type | Description |
|---|---|---|
| email string | string | Email address saved on the profile. |
| phone_number string | string | Phone number in international format, for example +14151234567. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "gladly_read",
"arguments": {
"operation": "search_customers",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"customers": [
{
"customer_id": "o2sg-TMTSD2rTwMuxzewbA",
"name": "Marco Silva",
"emails": [
"marco.silva@example.com"
],
"phones": [
"+14155550142"
]
}
]
},
"isError": false
}