Skip to main content
Glama
getplatform

GetMailer MCP Server

by getplatform

list_domains

Retrieve verified sending domains to manage email authentication and ensure deliverability for transactional emails.

Instructions

List verified sending domains

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler implementation for the 'list_domains' tool. It makes an API request to '/api/domains' and returns the JSON response.
    case 'list_domains': {
      const result = await apiRequest('/api/domains');
      return {
        content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }],
      };
    }
  • src/index.ts:184-191 (registration)
    Registration of the 'list_domains' tool, including its name, description, and input schema (no required parameters).
    {
      name: 'list_domains',
      description: 'List verified sending domains',
      inputSchema: {
        type: 'object' as const,
        properties: {},
      },
    },
  • Input schema for the 'list_domains' tool, which requires no parameters.
    inputSchema: {
      type: 'object' as const,
      properties: {},
    },

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