Skip to main content
Glama
damientilman

Mailchimp MCP

update_promo_rule

Update an existing promo rule to adjust discount amount, toggle enabled status, or change dates and other fields.

Instructions

Update an existing promo rule. Only provided fields are changed.

Useful to toggle a rule on/off (enabled), extend an end date, or adjust the discount amount mid-campaign. Use list_promo_rules to discover promo_rule_ids.

Returns 404 if store_id or promo_rule_id is invalid.

Args: store_id: E-commerce store ID. promo_rule_id: Existing rule ID. description: New internal description. amount: New discount amount. type: New type ('fixed' or 'percentage'). target: New target ('per_item', 'total', or 'shipping'). enabled: Toggle the rule on/off. title: New public title. starts_at: New start datetime (ISO 8601). ends_at: New end datetime (ISO 8601).

Returns: JSON with id, title, description, amount, type, target, enabled, updated_at.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNo
titleNo
amountNo
targetNo
accountNo
enabledNo
ends_atNo
store_idYes
starts_atNo
descriptionNo
promo_rule_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses partial update behavior ('Only provided fields are changed'), error return (404 if invalid IDs), and typical use cases. Annotations (readOnlyHint=false) align with mutation. Adds value beyond 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?

Concise opening, followed by usage paragraph, return info, and structured Args list. No wasted sentences, front-loaded with purpose.

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?

Covers behavior, parameters, return format, error handling, and use cases. Output schema exists but not detailed; description says 'Returns: JSON with...' which is sufficient. Missing 'account' parameter mention reduces completeness slightly.

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 0%, but description lists all 10 parameters (missing 'account' from schema) with brief explanations (e.g., 'type: New type ('fixed' or 'percentage')'). Compensates well for lack of schema descriptions.

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?

Description clearly states 'Update an existing promo rule' and provides example use cases like toggling enabled, extending end date, adjusting amount. Distinct from siblings like create_promo_rule, delete_promo_rule, and list_promo_rules.

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?

Gives when-to-use scenarios (toggle rule, extend end date, adjust amount) and references list_promo_rules to find IDs. Does not explicitly state when not to use, but context is clear.

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