Skip to main content
Glama
Lettr MCP Server

Lettr MCP Server

Official
by lettr-com

Create Audience Property

create-audience-property

Create a custom audience contact property by specifying its name, immutable value type, and optional fallback default for missing values.

Instructions

Define a new custom contact property. The name must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. The type fixes how values are stored and cannot be changed later.

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

Input Schema

NameRequiredDescriptionDefault
nameYesProperty name. Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores.
typeYesValue type for the property
fallback_valueNoOptional default value used when a contact has no value set

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does add real value by disclosing that the type is immutable after creation and that names are constrained. It omits other mutation-relevant behavior: required permissions, what happens on a name collision, and whether the created property is returned.

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

Conciseness4/5

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

Three short sentences, front-loaded with the purpose, then constraints, then the most consequential semantic fact. The naming-rule sentence duplicates the schema pattern, which is the only slack in an otherwise tight definition.

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 3-parameter creation tool with no annotations and no output schema, the description should say more about what a successful call yields and how conflicts are handled. The immutability note is a genuinely useful addition, but coverage of failure modes and authorization is absent.

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%, so the name pattern and type enum are already documented. The description restates the naming rule verbatim and adds meaningful semantics for type (its immutability), but says nothing about fallback_value beyond the schema's own text. Baseline 3 applies.

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?

"Define a new custom contact property" names a specific verb (define/create) and resource, and the word "new" implicitly separates it from update-audience-property and delete-audience-property. It does not call out a sibling by name, so it falls short of full differentiation.

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?

There is no explicit when-to-use guidance, no mention of update-audience-property as the alternative for modifying an existing property, and no prerequisites or duplicate-name conditions. The agent must infer the usage context from the tool name alone.

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