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'],
    },
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden but offers minimal behavioral context. It doesn't disclose whether this is a read-only operation, what permissions are required, what the response format looks like, or how verification status is determined. The description simply restates the basic function without adding meaningful behavioral details.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is perfectly concise at just 6 words, front-loading the essential information with zero wasted words. Every word earns its place in communicating the core function without unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a verification tool with no annotations and no output schema, the description is insufficiently complete. It doesn't explain what 'verified' means in this context, what verification entails, what the response will contain, or how this differs from simply listing domains. The minimal description leaves too many contextual questions unanswered.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema description coverage, the schema already documents the single 'id' parameter adequately. The description doesn't add any additional context about parameter meaning, format expectations, or how to obtain domain IDs. This meets the baseline for high schema coverage but doesn't enhance understanding beyond what the schema provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('Check') and resource ('domain'), making it immediately understandable. However, it doesn't differentiate from sibling tools like 'list_domains' or 'get_analytics' which might also provide domain status information, preventing a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. With siblings like 'list_domains' that might show verification status, there's no indication whether this tool is for checking a specific domain's verification status after adding it, or if it's the preferred method over other listing tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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