Skip to main content
Glama
damientilman

Mailchimp MCP

get_store_order_line

Read-only

Retrieve a single line item's quantity, price, and discount from an e-commerce order.

Instructions

Retrieve a single line item from an e-commerce order.

Use to inspect one product entry's quantity, price, and discount within an order. Manual commerce writes suit custom/headless stores; Shopify and WooCommerce integrations sync order lines automatically.

Authenticated via API key. Max 10 concurrent requests. Read-only, safe to retry.

Args: store_id: E-commerce store ID. Obtain from list_ecommerce_stores. order_id: Order ID that owns the line. line_id: Line item ID. Obtain from list_store_order_lines. account: Optional account name (e.g. 'marketing') configured via MAILCHIMP_API_KEY_. Omit to use the default account. See list_accounts.

Returns: JSON with the line object (id, product_id, product_variant_id, quantity, price, discount).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNo
line_idYes
order_idYes
store_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations already indicate read-only and non-destructive. Description adds explicit 'Read-only, safe to retry', authentication method (API key), and rate limit (max 10 concurrent requests). No contradiction.

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 clear sections: purpose, usage, auth/limits, args, returns. Front-loaded with purpose. Every sentence is informative without redundancy.

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 4 parameters and output schema, description covers all necessary context: how to obtain IDs, optional account behavior, return format. Complete for an agent to correctly invoke the tool.

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?

Schema coverage is 0%, but description explains each parameter: sources for store_id, order_id, line_id (from specific list tools), and account with environment variable configuration. Adds meaning beyond bare schema.

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 'Retrieve a single line item from an e-commerce order' with specific verb and resource. Distinguishes from sibling list_store_order_lines by specifying single vs multiple. Also mentions inspectable fields (quantity, price, discount).

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 context for when to use (inspect one product entry) and differentiates integration types (Manual vs Shopify/WooCommerce). Does not explicitly state when not to use, but it is implied given the sibling tool for listing multiple lines.

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