Skip to main content
Glama
getplatform

GetMailer MCP Server

by getplatform

verify_domain

Check domain verification status for email sending. Confirm if a domain is properly configured to send transactional emails through GetMailer.

Instructions

Check if a domain has been verified

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDomain ID

Implementation Reference

  • Handler function for the 'verify_domain' tool. It sends a POST request to the GetMailer API endpoint '/api/domains/verify' with the provided domain ID and returns the verification result as JSON.
    case 'verify_domain': { const result = await apiRequest('/api/domains/verify', { method: 'POST', body: JSON.stringify({ id: args?.id }), }); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }], }; }
  • src/index.ts:206-219 (registration)
    Registration of the 'verify_domain' tool in the list of tools provided by ListToolsRequestSchema handler, including its schema.
    { name: 'verify_domain', description: 'Check if a domain has been verified', inputSchema: { type: 'object' as const, properties: { id: { type: 'string', description: 'Domain ID', }, }, required: ['id'], }, },
  • Input schema for the 'verify_domain' tool, defining the required 'id' parameter.
    inputSchema: { type: 'object' as const, properties: { id: { type: 'string', description: 'Domain ID', }, }, required: ['id'], },

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