Skip to main content
Glama
damientilman

Mailchimp MCP

create_segment

Create a segment or tag in an audience to group members. Choose static for manual membership or dynamic with filter conditions.

Instructions

Create a new segment or tag in an audience for grouping members.

Static segments (default) have manual membership via add_members_to_segment. Dynamic segments auto-update based on filter conditions. No destructive side effects. Use tag_member to apply tags to individual members instead.

Authenticated via API key. Max 10 concurrent requests. Respects read-only and dry-run modes.

Args: list_id: Audience/list ID (10-char alphanumeric, e.g. 'abc123def4'). Obtain from list_audiences. name: Display name for the segment or tag. static: True (default) for manual membership; false for dynamic (requires match + conditions_json). match: Condition logic for dynamic segments: 'all' (AND) or 'any' (OR). Required when static=false. conditions_json: JSON conditions array for dynamic segments. Required when static=false.

Returns: JSON with id (new segment ID), name, member_count, type ('static'/'saved'), options.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
list_idYes
nameYes
staticNo
matchNo
conditions_jsonNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses no destructive side effects, respects read-only/dry-run, explains static vs dynamic behavior. Lacks detail on idempotency or failure modes but sufficient given no annotations.

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?

Well-structured with overview, behavioral notes, args list, and returns. Front-loaded with purpose, every sentence adds value.

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

Completeness5/5

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

Covers all necessary aspects for a creation tool: parameters, behavior, output fields, and relationships to siblings. Output schema reduces need for return details, but returns are included anyway.

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

Parameters5/5

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

Input schema has 0% description coverage; the description compensates fully by detailing each parameter, including list_id format, static defaults, and conditions requirements.

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?

Clearly states the tool creates a segment or tag, distinguishes static vs dynamic, and differentiates from siblings like tag_member and add_members_to_segment.

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?

Provides explicit when-to-use: static vs dynamic, and alternative tools (tag_member, add_members_to_segment). Also includes auth and rate limit info.

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/damientilman/mailchimp-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server