Skip to main content
Glama
damientilman

Mailchimp MCP

get_store_order_line

Read-only

Retrieve details of a single line item from an e-commerce order, including product quantity, price, and discount. Useful for inspecting specific entries in manual or integrated store orders.

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.

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.

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
Behavior3/5

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

Annotations already indicate readOnlyHint=true, so the description adds moderate value by describing the return format. It does not discuss side effects or limitations beyond what annotations cover, but there is 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?

The description is concise, well-structured, and front-loaded. First line states purpose, then usage context, then args, then return. Every sentence earns its place.

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 the presence of output schema and annotations, the description covers purpose, required parameters, return format, and integration context. No gaps are apparent.

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 description coverage is 0%, so the description carries the burden. It clearly explains the meaning and source of the three required parameters (store_id, order_id, line_id). The optional account parameter is not documented, but it is less critical.

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?

The description clearly states the action ('Retrieve a single line item'), the resource ('e-commerce order'), and specifies the use case ('inspect one product entry's quantity, price, and discount'). It distinguishes this tool from siblings like list_store_order_lines (which lists) and create_store_order_line (which creates).

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?

The description provides context on when to use the tool (manual commerce writes vs automated sync) and guides the user on obtaining required IDs from relevant list functions. It does not explicitly state when not to use, but the context is sufficient.

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