Skip to main content
Glama

Angeo Magento 2 MCP (Demo Store)

Set Angeo Demo Store shipping details

set_shipping_information
Idempotent

Set the shipping address, contact details and chosen shipping method on a guest cart. The billing address is set to the same address automatically.

USE THIS after the user has given their delivery details and picked a shipping method from get_shipping_methods. Returns the final order totals including shipping, which you should show the user before placing the order. 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": {
      "cart_id": "<cart_id>",
      "email": "<email>",
      "firstname": "<firstname>",
      "lastname": "<lastname>",
      "street": "<street>",
      "city": "<city>",
      "postcode": "<postcode>",
      "country_id": "<country_id>",
      "telephone": "<telephone>",
      "carrier_code": "<carrier_code>",
      "method_code": "<method_code>"
    },
    "name": "set_shipping_information"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesDestination city or town.
emailYesCustomer email for order confirmation. Ask the user for it; never invent one.
regionNoState/province/region name. Optional for most EU countries.
streetYesStreet and house number, e.g. "Keizersgracht 123".
cart_idYesCart ID returned by create_cart.
lastnameYesRecipient's family name. Ask the user for it; never invent one.
postcodeYesDestination postal code, in the destination country's own format. Use the same value that was quoted through get_shipping_methods.
firstnameYesRecipient's given name, as it should appear on the delivery label. Ask the user for it; never invent one.
telephoneYesContact phone number. Ask the user for it; never invent one.
country_idYesISO 3166-1 alpha-2 country code, e.g. "NL".
method_codeYesmethod_code of the method chosen from get_shipping_methods.
carrier_codeYescarrier_code of the method chosen from get_shipping_methods.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/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, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the automatic billing-address copy and the fact that the response contains final order totals including shipping. It does not mention permissions, guest-cart token requirements, or what happens if the address is rejected.

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 tight sentences with the action front-loaded and the sequencing in the middle. The store-scoping caveat ("Applies to Angeo Demo Store only") is buried at the end and partly duplicates the title, but the text is otherwise free of waste.

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 12-parameter mutation with no output schema, the description supplies the missing return-value context (final totals including shipping) and the billing-address side effect. Error behavior and whether subsequent cart state changes are overwritten remain unstated, but the essentials for correct invocation are present.

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% and every field is documented including format hints (ISO alpha-2 country, destination-format postcode) and instructions to ask rather than invent user data. The description only summarizes the parameter groups (address, contact, method) and adds no syntax or constraint detail beyond the schema, so the 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?

States a specific verb and resource: set shipping address, contact details and shipping method on a guest cart. It also discloses a non-obvious side effect (billing address is copied from the shipping address) and scopes the tool to a guest cart in the Angeo Demo Store, which separates it from checkout-mutating siblings such as update_checkout and place_order.

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

Usage Guidelines5/5

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

Gives explicit sequencing: use it after the user supplies delivery details and picks a method from get_shipping_methods, and use the returned totals before placing the order. That is a clear precondition plus a named dependency and next step, leaving little to inference.

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