Skip to main content
Glama
damientilman

Mailchimp MCP

update_store_cart

Update an existing cart's totals, currency, checkout URL, or line items in Mailchimp. Only provided fields are changed; to replace line items, pass a full lines_json array.

Instructions

Update an existing cart's totals, currency, checkout URL, or line items.

Only provided fields are changed. To replace line items, pass a full lines_json array (partial line updates are not supported by this tool — use the Mailchimp UI or REST API directly for line-level edits).

Authenticated via API key. Max 10 concurrent requests. Respects read-only and dry-run modes. Returns 404 if store_id or cart_id is invalid.

Args: store_id: E-commerce store ID. cart_id: Existing cart ID. order_total: New order total. tax_total: New tax portion. checkout_url: New checkout URL. currency_code: New ISO 4217 currency code. lines_json: JSON string with a replacement line items array.

Returns: JSON with id, order_total, tax_total, checkout_url, currency_code, updated_at.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
store_idYes
cart_idYes
order_totalNo
tax_totalNo
checkout_urlNo
currency_codeNo
lines_jsonNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, description covers important behaviors: returns 404 for invalid IDs, max 10 concurrent requests, respects read-only/dry-run modes, and line items must be fully replaced. Adequately compensates for lack of annotations.

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?

Structured with paragraphs and Args list, front-loaded with main action. Returns section is slightly redundant given output schema but not harmful. Efficient for 7 parameters.

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?

Given 7 parameters, no annotations, and output schema provided, description covers update behavior, line item replacement, error cases, auth, rate limits, and dry-run. Completeness is high.

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?

Since schema description coverage is 0%, description lists and explains all 7 parameters, adding context like 'ISO 4217 currency code' and 'JSON string with replacement line items array'. Provides more than schema titles. Could add type constraints or example formats.

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 the specific verb (update) and resource (existing cart), listing the fields that can be updated: totals, currency, checkout URL, or line items. It distinguishes from sibling tools like create_store_cart and delete_store_cart.

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?

Provides explicit guidance: 'Only provided fields are changed' and explains that line items require full replacement via lines_json (partial updates not supported, suggesting alternative). Mentions auth and rate limits. Could include when to use other cart tools like delete or get.

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