Skip to main content
Glama
getplatform

GetMailer MCP Server

by getplatform

list_templates

Retrieve available email templates for sending transactional emails through the GetMailer MCP Server.

Instructions

List available email templates

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler for the 'list_templates' tool. It makes an API request to '/api/templates' using the apiRequest helper and returns the JSON-formatted result as text content.
    case 'list_templates': { const result = await apiRequest('/api/templates'); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }], }; }
  • src/index.ts:150-157 (registration)
    Registration of the 'list_templates' tool in the ListToolsRequestSchema handler response. Defines the tool name, description, and empty input schema (no parameters required).
    { name: 'list_templates', description: 'List available email templates', inputSchema: { type: 'object' as const, properties: {}, }, },
  • Input schema for the 'list_templates' tool, which is an empty object (no input parameters required).
    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