Skip to main content
Glama
NyokolodiK

ecommerce-mcp

by NyokolodiK

checkout

Place an order from a cart and confirm it with the store. Supply cart ID, customer, shipping address, and payment method to finalize the purchase.

Instructions

Place an order from a cart and confirm it with the store.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYesInput contract for the ``checkout`` tool.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesThe purchased line items.
statusYesOrder lifecycle status.
totalsYesAggregated monetary totals.
cart_idYesCart this order was placed from.
order_idYesUpstream order identifier.
created_atYesUTC timestamp of order creation.
estimated_deliveryYesExpected delivery date.
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It says 'confirm it with the store' but does not explain side effects like order creation, payment processing, cart clearing, or potential failures. Minimal behavioral detail beyond the obvious.

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 a single sentence with no redundant wording, making it exceptionally concise and front-loaded with the core action.

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

Completeness3/5

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

Given the complex nested schema and presence of an output schema, the description is minimal but adequate for a straightforward action. However, it lacks context on preconditions (e.g., cart must exist, items in stock) and post-conditions beyond 'confirm.' With no annotations, a bit more context would help.

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

Parameters3/5

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

Schema coverage is 100% with detailed descriptions for all properties (cart_id, customer, shipping_address, payment_method). The description adds no parameter-specific semantics, but the schema fully documents them, so a baseline of 3 applies.

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 'Place an order from a cart and confirm it with the store,' using a specific verb and resource. It distinguishes from sibling tools like add_to_cart and get_cart by focusing on finalizing the purchase.

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 implies usage when the cart is ready to be finalized, but it does not explicitly mention when to use this tool versus alternatives or any exclusions. Sibling tools like add_to_cart suggest it is the final step, but no explicit guidance is given.

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/NyokolodiK/ecommerce-mcp'

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