List segment contacts

Contacts in one segment, with email and points.

MCP tool mautic_read → list_segment_contacts

read

Returns the contacts of one segment, the same list as View X Contacts on the segment. A dynamic segment shows the members Mautic last calculated, so a contact who just matched the filters can be missing until the next segment update. Pass next_cursor back as cursor for the next page.

Parameters

Parameters: list_segment_contacts
NameTypeDescription
segment_id integer required integer Segment ID from list_segments.
limit integer integer Maximum contacts per page.
cursor string string Next page cursor from the previous call.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "mautic_read",
    "arguments": {
      "operation": "list_segment_contacts",
      "arguments": {
        "segment_id": 1
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "segment": "webinar-leads",
    "contacts": [
      {
        "contact_id": 1042,
        "name": "Ana Lopez",
        "email": "ana@example.com",
        "points": 42
      },
      {
        "contact_id": 1388,
        "name": "Tom Becker",
        "email": "tom@example.com",
        "points": 18
      }
    ],
    "next_cursor": null
  },
  "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.