Skip to main content
Glama

Angeo Magento 2 MCP (Demo Store)

update_checkout

Idempotent

Replace a checkout with new line items, buyer, discount code and shipping. Full replacement: send everything you want to keep. 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>",
      "id": "<id>",
      "checkout": "<checkout>"
    },
    "name": "update_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCheckout id (chk_…)
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
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=false. The description adds genuinely useful context beyond them, namely that the operation replaces rather than merges, so omitted fields are lost, and that it is scoped to one store. It says nothing about what is returned, error behavior, or permission requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, the destructive replacement warning front-loaded, then the store scope. No filler; every clause carries information. Still, it is quite terse for a nested-payload mutation and could absorb one more sentence without bloat.

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?

Given full schema coverage, no output schema, and three required nested parameters, the description covers the two things the schema cannot: replacement semantics and single-store scope. Remaining gaps (response content, failure modes) are minor for a write endpoint whose safety profile is already in annotations.

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 description coverage is 100%, so the three parameters and their nested structure are already documented in the schema, including the checkout body shape. The description only restates the field groups (line items, buyer, discounts, shipping) at a coarser level, adding no syntax or format detail. Baseline 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?

Uses a specific verb ("Replace") with a specific resource ("checkout") and lists the affected payload domains: line items, buyer, discount code, shipping. The full-replacement semantics distinguish it immediately from incremental tools such as add_to_cart or create_checkout.

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 line "Full replacement: send everything you want to keep" tells the agent exactly the condition under which this tool is right, and when it must have a complete payload. It also scopes application to "Angeo Demo Store only." It does not name an alternative for partial updates, but the usage condition is explicit.

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