Skip to main content
Glama

Angeo Magento 2 MCP (Demo Store)

Create Angeo Demo Store cart

create_cart

Create a new, empty guest shopping cart and return a cart_id.

USE THIS as the first step of any purchase, as soon as the user signals intent to buy ("add that to my cart", "I'll take it", "let's buy it"). Every other cart and checkout tool needs the cart_id it returns. Create the cart once and reuse the same cart_id for the whole conversation. Applies to Angeo Demo Store only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_cart"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so the write/non-idempotent profile is covered. The description adds genuinely useful context beyond that: the cart is empty and guest-scoped, it returns a cart_id, and it should be created only once and reused — which is exactly the practical consequence of idempotentHint=false. It stops short of saying whether carts expire or how long a cart_id stays valid.

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 action and return value, then the trigger condition, then the reuse rule and scope. Nothing is repeated and every sentence carries operational information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter tool with no output schema, the description covers everything an agent needs: what it creates, what it returns, when to call it, how often to call it, and which store it applies to. No meaningful gap remains.

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?

The tool takes zero parameters, so the baseline is 4. The description usefully documents the one piece of data an agent needs from the call — the returned cart_id — even though there is no input to explain.

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 ("Create a new, empty guest shopping cart") plus the return value (cart_id) and the scope (Angeo Demo Store only). This clearly separates it from add_to_cart, get_cart, and the checkout siblings, which operate on an existing cart.

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 an explicit trigger ("as soon as the user signals intent to buy") with concrete example utterances, and states the ordering constraint that every other cart and checkout tool depends on the returned cart_id. It also pre-empts the common misuse of creating multiple carts by saying to create once and reuse the id for the whole conversation.

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