Skip to main content
Glama

Commonlands Optics: M12 Lens and C-Mount Lens Finder + Field-of-View Calculator

Create Shopify Checkout MCP checkout

create_checkout

Prepare a Shopify checkout after the buyer confirms exact live variants and quantities. Pass checkout.cart_id and its cart_access_token to convert a cart, or checkout.line_items. Retain checkout_access_token from the response. Send the buyer to continue_url for review and payment; this does not place an order.

Input Schema

NameRequiredDescriptionDefault
metaNoOptional UCP metadata. ucp-agent.profile is filled from server config when omitted.
checkoutYes
cart_access_tokenNoRequired when checkout.cart_id is supplied; use the owner token from create_cart.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Adds real behavioral context beyond the annotations: no order is placed, checkout_access_token must be retained, and the buyer must be sent to continue_url for review and payment. It omits one meaningful trait the annotations imply but don't explain to an agent – idempotentHint=false means repeated calls likely create duplicate checkouts, which the description never warns about.

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?

Three dense sentences with the precondition first, the two invocation modes next, and the outcome contract last. No filler, and the most decision-relevant fact (no order placed) is not buried.

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?

With no output schema, the description does the necessary work of naming the response fields that matter (checkout_access_token, continue_url), so an agent can complete the flow. Minor gaps remain: no warning about non-idempotency or about what happens to the source cart after conversion.

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 67%, and the description compensates by spelling out the either/or relationship between checkout.cart_id (with cart_access_token) and checkout.line_items, a constraint the schema itself does not encode. It adds little on the nested line_items structure or meta, but those are documented in the 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?

States a specific verb and resource ('Prepare a Shopify checkout') and immediately scopes it to the post-confirmation moment, which separates it from create_cart/update_cart and from prepare_shopify_purchase_handoff. The final clause ('this does not place an order') pins down the exact operation boundary.

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 a clear triggering condition: only after the buyer confirms exact live variants and quantities, with two documented entry paths (cart conversion vs. direct line_items). It does not explicitly name an alternative sibling or say when NOT to use it, e.g. when the buyer is still browsing or when a checkout already exists.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.