Skip to main content
Glama

Family Hardware

Create a cart link

create_cart_link

Prepare a shopping cart on familyhardware.com and get a link to it. Give the SKUs and quantities the user chose; the answer lists the items that were accepted with current prices, anything left out and why, and a cart_url. Give that link to the user: they open it, review the cart and pay on the website. This does not place an order, charge anyone or reserve stock, and it needs no sign-in. Shipping and tax are calculated at checkout. Create one link per cart, when the user is ready to buy.

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": {
      "items": "<items>"
    },
    "name": "create_cart_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesThe products to put in the cart. SKUs come from search_products or get_product_details. Quantity defaults to 1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: no order placed, no charge, no stock reservation, no sign-in required, shipping and tax deferred to checkout, and a new link per cart (consistent with idempotentHint=false). It also discloses the response shape — accepted items with current prices, rejected items with reasons, and a cart_url — which is exactly the mutation context an agent needs.

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?

Front-loads purpose, then inputs, then the output contract, then the guardrails — a sensible order with no filler. It runs slightly long and the 'they open it, review the cart and pay on the website' clause partly repeats the earlier no-charge statement, but every sentence still carries 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?

With one required parameter and no output schema, the description carries the full burden and does so: it explains the return payload (accepted items, exclusions with reasons, cart_url) and the side-effect boundary. Nothing an agent needs in order to call this 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 3 baseline applies, but the description adds real meaning: items may be silently rejected and must be surfaced to the user, which changes how the agent should pass SKUs and report results. It also clarifies that quantities are the user's choices rather than something the agent should invent.

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 ('Prepare a shopping cart on familyhardware.com and get a link to it') and immediately bounds the scope by saying it does not place an order. An agent can distinguish it from check_availability, check_price, and get_order_status without opening any schema.

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?

Gives a clear triggering condition ('when the user is ready to buy') and a cardinality rule ('Create one link per cart'). It does not explicitly name a sibling as the alternative for price or availability checks, which is the only gap.

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