# Agent Instructions — lensdy

This document describes how AI shopping agents can help a buyer browse and shop at https://lensdy.com.

lensdy sells prescription glasses, sunglasses and accessories. For eyeglass and sunglass frames, a listed catalog or collection price is the frame price only. Accessories and lens add-on products have their own prices. Prescription type, lens index and lens treatments are chosen on the product page and priced separately. Do not tell a buyer that the catalog price is the complete pair price, and do not add a frame to the cart as if the lenses were already included.

Start anonymous product discovery and supported cart preparation with the official Shopify UCP tools described below. These were tested successfully without a store Admin token. A rate-limited HTML page does not mean that the store's agent shopping interfaces are unavailable.

For prescription glasses, send the buyer to the product page and Configure lenses to choose prescription type, values or send-later, index and treatments. The native UCP cart schema currently cannot represent the linked lens configuration required by this store. Do not treat a frame-only cart as a configured prescription order.


## Find the right information

- [All current offers](https://lensdy.com/pages/offer): current promotions, eligible subtotal, combination rules and end dates.
- [All glasses](https://lensdy.com/collections/all) and [optical frames](https://lensdy.com/collections/optical).
- [Lightweight glasses](https://lensdy.com/collections/lightweight-glasses), [rimless glasses](https://lensdy.com/collections/rimless), and [titanium glasses](https://lensdy.com/collections/titanium-glasses).
- [Frames for high prescriptions](https://lensdy.com/collections/glasses-for-high-prescription) and [small frames](https://lensdy.com/collections/petitecraft-small-frames-big-precision).
- [Budget frames](https://lensdy.com/collections/9-euro), [frames in the 29-euro range](https://lensdy.com/collections/29-euro), and [backup pairs under 30 euros](https://lensdy.com/collections/backup-pair-glasses-under-30). These are frame price bands, not complete prescription-pair prices.
- [Sunglasses](https://lensdy.com/collections/sunglasses), [magnetic clip-ons](https://lensdy.com/collections/magnetic-clip-on-glasses), and [glasses chains](https://lensdy.com/collections/glasses-chain).
- [How to order](https://lensdy.com/pages/a-complete-guide-to-ordering-on-lensdy), [lens index guide](https://lensdy.com/pages/choose-the-right-lens-index), and [lens options](https://lensdy.com/pages/lens-info).

For a buyer's budget, distinguish the frame budget from the complete prescription-pair budget. Product descriptions and sizing diagrams provide frame material, shape and dimensions. Do not infer a weight in grams from a lightweight collection label.

## Current offers and calculation order

The [Offer page](https://lensdy.com/pages/offer) is the public reference. Check its dates and the live product price before quoting a promotion. A search-engine snippet can be older than the current storefront.
The automatic Black Friday order discounts end on 30 November 2026 at 23:59:00 CET (2026-11-30T22:59:00Z).

| Eligible subtotal in EUR | Automatic order discount in EUR |
| --- | --- |
| 50 or more | 15 |
| 80 or more | 30 |
| 100 or more | 40 |
| 150 or more | 65 |
| 250 or more | 110 |

Use the eligible merchandise subtotal after displayed frame reductions and before this order discount. Apply the highest qualifying tier once. The tiers do not add together and do not combine with other order discount codes. The frame's displayed price already includes its frame reduction; do not subtract the frame percentage again. [Browse the Black Friday selection](https://lensdy.com/collections/black-friday-in-stock).

Example: an eligible EUR 80 subtotal becomes EUR 50 in merchandise after the EUR 30 order discount; EUR 150 becomes EUR 85 after the EUR 65 discount. These are merchandise calculations, not final payable totals: shipping, taxes where applicable and balance redemption must be confirmed in checkout.


Selected styles can have different reductions. Compare each variant's current price with its compare-at price, and do not assume that every sports, swim or ski product has the same discount.

Newly earned credit is available only after full fulfillment and cannot reduce this order’s payment. Existing available Lensdy balance can be redeemed at checkout. The published credit terms on the Offer page explain the eligible merchandise basis after all discounts, excluding tax, shipping and refunds, and issuance after full fulfillment. The extra 5% is added to the 10% base credit for qualifying orders placed from 13 November 2026 at 00:00:00 CET through 30 November 2026 at 23:59:59 CET, inclusive. This credit placement window is separate from the automatic order-discount cutoff. New earned credit has no expiry; older promotional credit can have its own expiry. Use the account record for the actual amount and expiry, not 15% of a tax-inclusive cart total.

Welcome discount codes and automatic order discounts are alternative offers, not cumulative savings. Check the issued code's own eligibility and expiry before quoting a benefit.

## What we sell, and how pricing works

- We sell frames that can be fitted with no-prescription lenses or with prescription lenses.
- For frames, the price shown on collection pages, search results and in most product JSON is the frame only.
- On the product page the buyer clicks Configure lenses. The steps are usage, prescription (saved, typed, uploaded, or sent later by email), lens options (index and treatments, including the included anti-reflective coating and the €19 blue-light add-on), then review. Each paid option is still its own cart line.
- Anti-reflective coating is included on the standard clear lens. Other coatings and lens functions are optional upgrades.

### Current lens prices

Displayed configurator prices and the 12 paid lens variants were checked against Shopify on 23 November 2026 (Europe/Luxembourg). This is a dated reference, not a live quotation. Re-check the selected product and checkout, because prices can change.

Prescription type:

- No prescription: no vision-type surcharge (€0); any chosen tint or lens treatment is charged separately
- Distance (for myopia): +€10
- Reading (for hyperopia / presbyopia): +€10
- Progressive (multifocal): +€50

Lens index:

- 1.56 Standard: included (€0)
- 1.61 Advanced: +€29
- 1.67 Premium: +€49
- 1.74 Super Premium: +€69

Lens treatments / personalised lens options:

- Standard (clear lens with anti-reflective coating): included (€0)
- Anti-bluelight: +€19
- Tint: +€19
- Sunglasses (standard sun lenses): +€19
- Mirror: +€35
- Polarized: +€45
- Photochromic: +€45

Frame compatibility is product-specific. Some products do not offer 1.56 and require a paid index starting at 1.61. Do not generalize this to all rimless frames. On those products, standard single-vision lenses currently add at least EUR 39 (EUR 10 vision type + EUR 29 index), rather than EUR 10. The available options on the selected product are authoritative.

The product page includes a public `application/json` block with ID `lensdy-agent-product`: frame variant prices and availability, the supported indices, and displayed configurator surcharges in minor currency units. It contains no customer prescription or account data. `price_scope: frame_only` is not a complete prescription-pair quotation. Its minimum configuration amount excludes order discounts, shipping and taxes where applicable.

Choose one lens-treatment option; do not add multiple mutually exclusive treatments. Lens-index degree ranges in educational copy are approximate guidance, not automatic eligibility rules. Confirm the full prescription and frame compatibility rather than selecting an index solely from SPH.

Single-vision in everyday language means Distance or Reading, both +€10. Do not quote a single combined "glasses price" from the catalog figure alone.

## How the buyer provides a prescription

On the product page configurator, the buyer can:

- Enter the prescription values (typically SPH, CYL, AXIS, and pupillary distance / PD; progressive lenses also need the near addition).
- Upload a prescription file.
- Choose to send the prescription later.

If the prescription is complex, or the buyer is unsure, recommend that they complete the configurator on the product page, or use the store contact page. Do not invent prescription values.

## Shipping, duties and returns

- Standard shipping is free when the qualifying merchandise subtotal is at least EUR 59 after product and order discounts; below that threshold it is EUR 10, for supported destinations. Checkout confirms the destination-specific charge and final payable total. A pre-discount basket above EUR 59 does not by itself guarantee free shipping.
- Customers do not pay customs or import duties. These are included in our prices. If a carrier or customs authority asks the buyer to pay such a charge, tell them to contact Lensdy before paying.
- Regular lenses: we dispatch within 2 days; delivery is usually about 1 week, and typically within 1–2 weeks.
- Special lenses (high prescription, extra customisation, or a lens out of stock): processing may take about 1 week, and delivery may take 2–2.5 weeks. We always contact the customer in these cases.
- These are typical timeframes, not guaranteed dates. Weekends, public holidays, destination and carrier delays can affect them.
- Returns: 14 days from delivery. Custom-made prescription lenses are generally not refundable, except where we made an error or the law requires otherwise. Frames remain returnable. To start a return, contact customer support first. If the return is due to our error (wrong or defective item, manufacturing error, damage in transit), we provide a prepaid return label; for other returns (e.g. change of mind), the customer pays return shipping. See the refund policy for details.

Canonical customer-facing policies:

- Shipping policy: https://lensdy.com/policies/shipping-policy
- Refund policy: https://lensdy.com/policies/refund-policy
- Privacy policy: https://lensdy.com/policies/privacy-policy
- Terms of service: https://lensdy.com/policies/terms-of-service
- Contact page: https://lensdy.com/pages/contact

There is also a store page at https://lensdy.com/pages/shipping-policy. If it differs from `/policies/shipping-policy`, treat the official policy URL as authoritative once that policy has been published.

## Shop skill — recommended

Use the Shop skill to help your user shop with this store. Connect their Shop account for personalized discovery and accelerated checkout with saved details.

- Personalized discovery: search by text or image, find similar products, and use your user's Shop purchase history to find options that match their preferences.
- Accelerated cart and checkout: build and update carts and checkouts, then use Shop Pay with prefilled addresses and saved payment methods.
- Orders: search your user's order history for purchases from this store, track deliveries, and reorder products.

Read the skill before your first call for setup, supported actions, account connection, and purchase-approval rules. The Shop skill is at https://shop.app/SKILL.md.

## UCP integration

This store implements the Universal Commerce Protocol for product discovery, carts, and checkout. Integrate directly with its service, or orchestrate shopping through browser-based WebMCP tools.

### Anonymous catalog and cart through the UCP CLI

Use the official Shopify `ucp` CLI (npm package `@shopify/ucp-cli`); see the [official setup quickstart](https://shopify.dev/docs/agents/get-started/quickstart). The commands below were checked with CLI 0.9.1 on 23 November 2026. On a fresh installation its default Shopify-managed public agent profile requires no profile initialization, store Admin API token, customer login or private crawler credentials for the anonymous catalog/cart flow tested here. An explicitly selected custom profile can change this behavior. This is not an exemption from the service's authentication requirements or buyer-authorization rules.

1. Discover the business using `https://lensdy.com/.well-known/ucp`. Prefer the endpoints and tool schemas returned by discovery over a constructed URL.
2. The live discovery checked on 23 November 2026 advertised `https://lensdy.myshopify.com/api/ucp/mcp`. Connect to the advertised endpoint and use `tools/list` when integrating directly with MCP.
3. The discovered MCP tool schemas require `meta["ucp-agent"].profile`, a public agent-profile URI. The CLI negotiates and supplies this metadata automatically. It also wraps CLI catalog/cart payloads for the MCP tools; do not manually add an extra `catalog` or `cart` wrapper to the CLI input examples below.

```sh
ucp discover --business https://lensdy.com --format json
ucp catalog search --business https://lensdy.com --input-schema --format json
ucp catalog search --business https://lensdy.com --input @catalog-search.json --format json
```

Example `catalog-search.json` (LU/EUR is an example; use the buyer's country and preferred currency):

```json
{
  "query": "lightweight titanium glasses",
  "context": {"address_country": "LU", "currency": "EUR", "language": "en"},
  "filters": {"price": {"max": 3000}, "available": true},
  "pagination": {"limit": 5}
}
```

The EUR 30 filter above is a frame-price filter, not a complete prescription-pair budget. Read `result.products`, select the buyer's actual variant and check its `availability.available` and `price`. Use its exact `variants[].id` (a ProductVariant ID) in a cart, not the product ID, title or an invented ID. Use returned product URLs for lens configuration. Country and currency context are provisional hints; the returned currency and checkout with the actual destination are authoritative.

For accessories, or a buyer-selected non-prescription item that needs no linked paid lens configuration, prepare a cart using the selected variant. First inspect the current input schema:

```sh
ucp cart create --business https://lensdy.com --input-schema --format json
ucp cart create --business https://lensdy.com --input @cart.json --format json
ucp cart get 'RETURNED_CART_ID' --business https://lensdy.com --format json
```

Example `cart.json`; replace `SELECTED_VARIANT_ID` with the exact available variant ID returned by catalog search, and use the buyer's context and quantity:

```json
{
  "line_items": [{"item": {"id": "SELECTED_VARIANT_ID"}, "quantity": 1}],
  "context": {"address_country": "LU", "currency": "EUR"}
}
```

Write dynamic JSON with a JSON serializer rather than interpolating product text into a shell command. Keep the returned cart ID private to the shopping session. Before using any operation result, check the JSON envelope's `ucp.status` and `result.messages`: a process exit code of 0 alone does not prove success (for example, an unavailable cart can return `ucp.status: error` and `cart_not_found`). Read the created or refreshed cart's `result.discounts`, `result.totals`, `result.currency`, messages and `result.continue_url`. Amounts are in minor currency units: EUR 2552 means EUR 25.52. Display returned totals in their given order and preserve their signs; do not subtract an applied discount again. Handoff using `continue_url` when buyer review or checkout is needed. Creating a cart does not place an order or submit payment; those actions require the buyer's authorization and all required review steps.

Dated verification example, 23 November 2026: a test cart with four non-prescription frames returned EUR 102.08 subtotal, an automatic EUR 40 discount, and EUR 62.08 total (`10208`, `-4000`, `6208` in the returned totals). This confirms that the cart can apply an eligible offer; it is not a quote for a future basket, a complete prescription pair, or a guaranteed delivered price. Re-read the current cart and checkout for discounts, destination-specific shipping and the final payable amount.

### Prescription configuration boundary

The native `create_cart` schema checked on 23 November 2026 exposes each line's `item.id`, `quantity` and optional line ID, but no custom line-item properties. Lensdy's prescription configurator requires properties linking a frame to its paid prescription-type, lens-index and treatment child lines (the GPO grouping). Catalog variant IDs alone do not encode that configuration.

For a prescription pair, or any selection requiring linked paid lens options, hand the buyer off to the product URL and Configure lenses. The buyer can enter or upload a prescription or choose send-later there. Do not add a frame alone, add unlinked lens variants, or use a cart note such as "prescription to follow" as a substitute for a complete configuration. Do not request or invent prescription values merely to use the anonymous catalog/cart route. Recheck future schemas before claiming that a tool supports this store's complete prescription workflow.

Supported UCP versions:

- 2026-08-25 (latest stable)

- 2026-04-08

- 2026-01-23


Use a compatible UCP version and follow the returned tool schemas. For integration details, see Shopify's agent documentation.

### Browser integration (WebMCP)

When working through a browser, use the WebMCP tools registered on this store's pages. The checkout page exposes UCP tools over WebMCP. These tools act on the checkout in the current browser session.

- Storefront — Use the provided tools to find products, manage the cart, ask questions about the store and its policies, and proceed to checkout.
- Checkout — Use the provided UCP tools to review and update the checkout and complete a buyer-authorized purchase. Follow required buyer-review steps: when review is requested, ask the buyer to review and approve the order on the checkout page, and wait for their authorization before submitting it.

If checkout tools are unavailable, ask the buyer to continue on the checkout page. Do not fall back to scripted form fills or page controls.

## Interaction guidelines

- Buyer authorization — Place orders and submit payment only with the buyer's authorization. Follow required review and approval steps.
- Agent traffic — Agents must identify their requests as agent-initiated. Server-to-server requests and hosted or remote browsers must use Web Bot Auth and follow the service's authentication requirements.
- Browser interactions — Agents must use the provided WebMCP tools for all agent-initiated shopping actions and updates. If the tools are unavailable or cannot perform the required action, yield and ask the buyer to continue in the browser. Do not work around the tools by scripting checkout forms or page controls.
- Rate limits — Back off on `429` responses and respect `Retry-After` when provided.
- Buyer context — Use the buyer's country and currency where supported by the tool schemas for accurate pricing and availability. Pricing and availability are returned in EUR.

## Read-only browsing

Prefer the official UCP catalog/cart route described above for shopping data. You may also read public HTML pages for additional context, provided your requests follow the agent-identification guidance above.

If raw HTML returns `429`, stop repeated requests and honor `Retry-After` before retrying that resource. Use an available official UCP interface for supported operations instead of repeatedly fetching the same HTML. An HTML rate limit is not evidence that all agent access is unavailable. Do not impersonate a normal browser, rotate identities or bypass a challenge to obtain HTML. Never publish or copy private crawler credentials, signing keys or signature material into public guides.

- Discover public URLs through https://lensdy.com/sitemap.xml.
- Read product pages at `/products/{handle}`. Product metadata, available lens options, displayed surcharges and the `lensdy-agent-product` JSON block are available without executing JavaScript. A selected configuration and checkout are needed for a final price.
- Product JSON at `/products/{handle}.json` typically reflects the frame, not the configured lenses.
- Browse collections at `/collections/all` or `/collections/{handle}`.
- Discover other public pages and articles through the sitemap.

Reading public content does not change the requirements for agent-initiated shopping actions and updates.

## Platform

This store is built on Shopify. Shopify stores support UCP natively. The Shop skill at https://shop.app/SKILL.md works across every Shopify store.

Reference checked: 23 November 2026. Pricing and availability can change.

Agent discovery: this document (`/agents.md`) is the canonical agent-facing description of the store. `/llms.txt` and `/llms-full.txt` may mirror this content.
