Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Nunify. If you published it, claim ownership there.

Create Mailer

create_mailer

Create a new email mailer for the provided event. The mailer is created inactive — use activate_mailer to start sending, or schedule_mailer for later delivery. To edit body/html of the email template, use update_email_template with the mailer's email_template_id.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "event_id": "<event_id>",
      "name": "<name>",
      "kind": "<kind>",
      "access_level": "<access_level>",
      "email_subject": "<email_subject>"
    },
    "name": "create_mailer"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesMailer kind. Required. Immutable after create. If the user has not provided it, ask the user before proceeding. Never assume a mailer kind.
nameYesMailer name. Required. If the user has not provided it, ask the user before proceeding. Never invent mailer names.
event_idYesEvent UUID returned by search_events.
bcc_emailNoOptional BCC email.
cc_emailsNoOptional CC emails.
group_idsNoGroup UUIDs. Required when access_level is 'Group'. Use list_groups to find group IDs.
tag_levelNoPromotion tag level (0 = all prospects, 1 = tagged subset).
location_idNoOptional location_id (only valid for checkin_notification kind).
access_levelYesMailer audience. Required. Use 'Everyone' or 'Group'. If the user has not specified it, ask the user before proceeding. Never assume an audience.
email_subjectYesEmail subject template. Required. If the user has not provided it, ask the user before proceeding. Never invent email subjects or use placeholder text.
new_template_idNoOptional email_template_id of a source template mailer to seed content from.
prospect_tag_idsNoProspect tag IDs. Required for promotion when tag_level=1.
feature_selection_idNoFeatureSelection ID. Required for custom_form_* kinds; must be blank otherwise.
include_calendar_inviteNoAttach the event's calendar invite (.ics) to every mail. Only registration_confirmation and reminder mailers carry one: it defaults to true for those and is ignored for other kinds.

Output Schema

NameRequiredDescriptionDefault
hintYes
mailerYes
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnly=false, destructive=false, idempotent=false, so the safety profile is covered. The description adds genuinely new behavior beyond the schema — the mailer is created in an inactive state requiring a follow-up call, and the template edit path is separate. It does not mention permission requirements or what happens on duplicate names, but for a create tool this is solid.

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?

Three sentences, all front-loaded: purpose first, then post-creation lifecycle, then the template editing path. No filler and no repeated schema content.

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

Completeness4/5

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

With 14 parameters, 5 required, an output schema, and full annotations, the description gives an agent enough to call correctly and know the next step. Permissions and error behavior are the only unaddressed areas, and those are partly outside a create tool's description scope.

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% and every parameter already carries its own constraints (kind immutability, group_ids required for 'Group', feature_selection_id required for custom_form_* kinds), so the description need not restate them. It only adds the email_template_id → update_email_template relationship, which is marginal beyond what the schema provides.

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?

States a specific verb and resource ("Create a new email mailer") scoped to an event, and immediately distinguishes it from activate_mailer, schedule_mailer, and update_email_template, so an agent can place it in the mailer lifecycle without opening any schema.

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

Usage Guidelines4/5

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

Explicitly routes the agent after creation: activate_mailer to start sending, schedule_mailer for later delivery, update_email_template for body/html, plus the key constraint that the mailer is created inactive. It does not address when to prefer duplicate_mailer or update_mailer over creating a fresh mailer, which is the one gap.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources