Skip to main content
Glama
getplatform

GetMailer MCP Server

by getplatform

get_batch

Check batch job status and progress for email operations by providing a batch ID.

Instructions

Get batch job status and progress

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesBatch ID

Implementation Reference

  • Handler for get_batch tool: fetches batch job status from the GetMailer API using the provided batch ID and returns the JSON result as text content.
    case 'get_batch': { const result = await apiRequest(`/api/batch/${args?.id}`); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }], }; }
  • Input schema definition for the get_batch tool, requiring a 'id' string parameter.
    name: 'get_batch', description: 'Get batch job status and progress', inputSchema: { type: 'object' as const, properties: { id: { type: 'string', description: 'Batch 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