Skip to main content
Glama

Angeo Magento 2 MCP (Demo Store)

Angeo Demo Store shipping options

get_shipping_methods
Read-onlyIdempotent

Get the real shipping options and their costs for a cart, given a destination country and postcode.

USE THIS once the cart is complete and you know where the user wants it delivered. Returns carrier_code and method_code pairs that must be passed to set_shipping_information. Never guess or invent shipping prices — always quote from this tool. 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>",
      "country_id": "<country_id>",
      "postcode": "<postcode>"
    },
    "name": "get_shipping_methods"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoDestination city (optional, improves accuracy for some carriers).
regionNoState/province/region name (optional; required by some countries).
cart_idYesCart ID returned by create_cart.
postcodeYesDestination postal code.
country_idYesDestination country as ISO 3166-1 alpha-2 code, e.g. "NL".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so safety is covered; the description adds genuinely new context: prices must be quoted from this tool and never invented, the returned carrier_code/method_code pairs feed set_shipping_information, and the tool is limited to Angeo Demo Store. It does not cover failure modes (invalid postcode, unserviceable destination) or the currency of returned costs, which keeps it below 5.

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 short sentences, front-loaded with the operation, then the trigger condition, then the downstream contract. No sentence is redundant and the price-quoting warning is placed where it is most needed.

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 usefully names the returned carrier_code/method_code pairs and their purpose, and it marks the tool as store-scoped. What remains unstated is cost currency/format and behavior when no shipping method matches the destination, which an agent would need for edge cases.

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 every parameter including the optional city and region is already documented in the schema. The description only restates that destination country and postcode drive the lookup and adds no per-parameter meaning beyond that, so the 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?

States a specific verb and resource (get shipping options and costs) plus the inputs that scope it (cart, country, postcode). It is clearly distinguished from the sibling set_shipping_information, which consumes rather than produces this data.

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?

"USE THIS once the cart is complete and you know where the user wants it delivered" gives an explicit precondition, and the description names the downstream tool (set_shipping_information) that consumes the result, making the ordering of the workflow unambiguous.

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