List contact lists
Contact lists of your Mailjet account with their subscriber counts.
MCP tool mailjet_read → list_contact_lists
read
Returns every contact list with its list_id, name and number of subscribers, the same as Contacts, then Contact Lists. Use list_id as the list_id parameter of the other tools. A new account has one list, MyFirstTest, with your own address.
Parameters
No parameters.
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "mailjet_read",
"arguments": {
"operation": "list_contact_lists",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"lists": [
{
"list_id": 10234567,
"name": "Newsletter",
"subscribers": 4203
},
{
"list_id": 10234588,
"name": "Workshop waitlist",
"subscribers": 214
}
]
},
"isError": false
}