Skip to main content
Glama
getplatform

GetMailer MCP Server

by getplatform

list_suppression

Retrieve suppressed email addresses that have bounced, received complaints, or been manually excluded from email campaigns to maintain deliverability.

Instructions

List suppressed email addresses (bounced, complained, or manually added)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of entries to return (default: 50)

Implementation Reference

  • Handler function for the 'list_suppression' tool. It builds query parameters from the input 'limit' argument, calls the GetMailer API endpoint '/api/suppression', and returns the result as a formatted JSON text block.
    case 'list_suppression': { const params = new URLSearchParams(); if (args?.limit) params.set('limit', String(args.limit)); const result = await apiRequest(`/api/suppression?${params}`); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }], }; }
  • Input schema definition for the 'list_suppression' tool, specifying an optional 'limit' property of type number.
    inputSchema: { type: 'object' as const, properties: { limit: { type: 'number', description: 'Number of entries to return (default: 50)', }, }, },
  • src/index.ts:238-250 (registration)
    Registration of the 'list_suppression' tool in the ListTools response, including name, description, and input schema.
    { name: 'list_suppression', description: 'List suppressed email addresses (bounced, complained, or manually added)', inputSchema: { type: 'object' as const, properties: { limit: { type: 'number', description: 'Number of entries to return (default: 50)', }, }, }, },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/getplatform/getmailer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server