Skip to main content
Glama

Angeo Magento 2 MCP (Demo Store)

create_checkout

Idempotent

Create a checkout at this store from line items (item ids from search or catalog lookup), the buyer and optionally a shipping address and discount code. Returns totals, live shipping options and a continue_url. Payment always happens on the store checkout page. Applies to Angeo Demo Store only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "meta": "<meta>",
      "checkout": "<checkout>"
    },
    "name": "create_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
metaYesUCP request metadata.
checkoutYesCheckout body as in the UCP REST binding: line_items[{item:{id}, quantity}], buyer{email, first_name, last_name, phone_number}, discounts{codes[]}, fulfillment{methods[{type:"shipping", destinations[address], groups[{selected_option_id}]}]}.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare a non-destructive, non-read-only, idempotent, closed-world mutation, so the description's added value is what it says beyond that: the tool returns totals, live shipping options and a continue_url, and critically that payment always happens on the store checkout page (i.e., this call does not charge the buyer). The demo-store-only restriction is also disclosed. It does not discuss inventory reservation or what happens on a repeat call, but the idempotentHint plus the schema's idempotency-key field cover retry semantics.

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?

Four short sentences, front-loaded with the creation act and its inputs, followed by return values, then two hard constraints (payment location, store scope). No filler, and each sentence contributes distinct information.

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?

For a nested two-parameter mutation with no output schema, the description covers inputs, return shape (totals, shipping options, continue_url) and scope. The main remaining gap is that it does not state what the created checkout blocks or reserves, nor the lifecycle relative to complete_checkout, but nothing required to call it correctly is missing.

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 100%, so the baseline is 3; the description earns above that by clarifying optionality that the schema's nested checkout body does not mark ("optionally a shipping address and discount code") and by specifying the origin of item ids. It still does not clarify the meta/ucp-agent profile requirement, which the schema documents instead.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Create a checkout at this store") and enumerates the inputs it composes from: line items, buyer, optional shipping address and discount code. It names where item ids come from (search or catalog lookup), which makes the intent unambiguous. It does not explicitly contrast itself with the sibling create_cart or update_checkout, so it stops short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied rather than stated: the agent learns to obtain item ids via search/catalog lookup and that payment is deferred to the store checkout page, which signals this is a pre-payment step. There is no explicit when-to-use/when-not guidance versus create_cart or update_checkout, and no prerequisites beyond the demo-store scoping note. Adequate but leaves the agent to infer the workflow position.

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.

Resources