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

Parameters: search_customers
NameTypeDescription
email string string Email address saved on the profile.
phone_number string string Phone number in international format, for example +14151234567.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "gladly_read",
    "arguments": {
      "operation": "search_customers",
      "arguments": {}
    }
  }
}

Example response

JSON

{
  "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
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.