Skip to main content
Glama
getplatform

GetMailer MCP Server

by getplatform

list_suppression

Retrieve suppressed email addresses that have bounced, received complaints, or been manually excluded from email campaigns to maintain deliverability.

Instructions

List suppressed email addresses (bounced, complained, or manually added)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of entries to return (default: 50)

Implementation Reference

  • Handler function for the 'list_suppression' tool. It builds query parameters from the input 'limit' argument, calls the GetMailer API endpoint '/api/suppression', and returns the result as a formatted JSON text block.
    case 'list_suppression': {
      const params = new URLSearchParams();
      if (args?.limit) params.set('limit', String(args.limit));
      const result = await apiRequest(`/api/suppression?${params}`);
      return {
        content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }],
      };
    }
  • Input schema definition for the 'list_suppression' tool, specifying an optional 'limit' property of type number.
    inputSchema: {
      type: 'object' as const,
      properties: {
        limit: {
          type: 'number',
          description: 'Number of entries to return (default: 50)',
        },
      },
    },
  • src/index.ts:238-250 (registration)
    Registration of the 'list_suppression' tool in the ListTools response, including name, description, and input schema.
    {
      name: 'list_suppression',
      description: 'List suppressed email addresses (bounced, complained, or manually added)',
      inputSchema: {
        type: 'object' as const,
        properties: {
          limit: {
            type: 'number',
            description: 'Number of entries to return (default: 50)',
          },
        },
      },
    },
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 insight. It mentions what types of suppressions are included but doesn't cover pagination behavior, sorting, default ordering, error conditions, or authentication requirements. For a list operation with zero annotation coverage, this leaves significant gaps in understanding how the tool behaves.

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 a single, efficient sentence that communicates the core purpose without unnecessary words. It's appropriately sized for a simple list operation and front-loads the essential information immediately.

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

Completeness3/5

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

For a simple list tool with one parameter and no output schema, the description is adequate but incomplete. It covers what's being listed but lacks context about return format, typical result structure, or how results are organized. Without annotations or output schema, more behavioral context would be helpful.

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?

Schema description coverage is 100% for the single parameter, so the schema already documents the 'limit' parameter fully. The description adds no parameter-specific information beyond what's in the schema. This meets the baseline expectation when schema coverage is complete.

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

Purpose5/5

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

The description clearly states the specific action ('List') and resource ('suppressed email addresses'), with explicit scope details ('bounced, complained, or manually added'). It distinguishes this tool from siblings like list_domains or list_emails by focusing on suppression status rather than general listings.

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?

No guidance is provided on when to use this tool versus alternatives. While the purpose is clear, there's no mention of prerequisites, typical use cases, or how it differs from other list operations like list_emails or get_email. The description assumes context without providing it.

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