Skip to main content
Glama
Lettr MCP Server

Lettr MCP Server

Official
by lettr-com

Create Audience Contact

create-audience-contact

Add a single audience contact by email, optionally assigning a list, custom properties, or double opt-in confirmation to verify the subscriber.

Instructions

Create a single audience contact.

  • properties keys must match properties already defined for the team (use list-audience-properties).

  • When double_opt_in is provided, the contact is created in unverified status and receives a confirmation email; all four of its fields (from, subject, template_slug, redirect_url) are required.

  • If the email already exists for the team this fails with HTTP 409 (resource_already_exists). That is a client-correctable condition, not an outage — do NOT retry it. Update the existing contact with update-audience-contact, or use bulk-create-audience-contacts with update_existing set.

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": {
      "email": "<email>"
    },
    "name": "create-audience-contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesContact email address
list_idNoOptional list ID to add the contact to
propertiesNoCustom property values, each as a string (max 1000 chars). Each key must match a property defined for the team.
double_opt_inNoDouble opt-in configuration. When set, the contact is created unverified until they click the confirmation link.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses the side effect that double_opt_in creates the contact in unverified status and triggers a confirmation email, and it pre-empts the 409 conflict semantics as client-correctable rather than transient. It does not mention authorization requirements, rate limits, or what the successful response contains, which keeps it short of a 5.

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 tight bullets preceded by a one-line purpose statement, with the most consequential constraint (property keys must pre-exist) first. Every sentence carries distinct information and nothing is repeated from the schema verbatim.

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?

For a mutation tool with a nested double_opt_in object, no annotations, and no output schema, the description covers the critical decision points an agent needs: prerequisite lookup, opt-in side effect, and conflict handling. It stops short of describing the returned contact representation or permission requirements, a minor gap given the absence of an output schema.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema: it explains that properties keys must correspond to team-defined properties and, importantly, that double_opt_in changes the resulting contact status and requires all four of its fields. That causal context is not derivable from the schema alone.

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 opening sentence states a specific verb, resource, and cardinality: 'Create a single audience contact.' The word 'single' immediately separates it from bulk-create-audience-contacts, and the rest of the description names the update sibling, so an agent can place it among siblings 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 Guidelines5/5

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

It gives explicit routing rules: check property keys with list-audience-properties first, and on a 409 use update-audience-contact or bulk-create-audience-contacts with update_existing. It also states the negative case explicitly ('do NOT retry'), which is exactly the kind of when-not guidance that prevents agent loops.

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