Skip to main content
Glama

Commonlands Optics: M12 Lens and C-Mount Lens Finder + Field-of-View Calculator

Server Details

M12 lens and C-mount lens finder with image-sensor matching and field-of-view calculator.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
CommonlandsAbbe/commonlands-mcp
GitHub Stars
0
Server Listing
commonlands-mcp
ChatGPT
–
Claude
Commonlands Optics: M12 Lens and C-Mount Lens Finder + Field-of-View Calculator

TDQS

A3.7/5.0

Scored across 21 tools

Disambiguation2/5

Several optical tools (calculate_field_of_view, match_lens_to_sensor, compare_lenses, recommend_lenses_for_application, search_lens_catalog, get_lens_distortion_profile) share a near-verbatim boilerplate description covering FOV/HFOV/sensor part numbers, so an agent cannot reliably tell which one to pick for a given request. The descriptions do contain some 'use X instead' pointers, but the overlapping boundaries between matching, comparison, and distortion-profile tools remain unclear.

Naming Consistency4/5

Almost all tools follow a snake_case verb_noun pattern (calculate_field_of_view, match_lens_to_sensor, create_cart, get_checkout), which is predictable. Minor deviations like read_shopify_products (read vs get) and noun-style status tools (get_shopify_ucp_readiness) keep it from a perfect score.

Tool Count3/5

At 21 tools this is on the heavy side for a lens-fit-and-commerce server, and three diagnostic/status tools (catalog snapshot, Shopify config, UCP readiness) plus two purchase-options tools pad the surface. The core optics and cart/checkout flows justify most of the count, but it feels over-scoped rather than tight.

Completeness4/5

Coverage is broad: FoV calculation, lens ranking, sensor specs, distortion profiles, catalog search, product resolution, purchase options, full cart lifecycle (create/get/update/cancel), checkout creation, and RFQ submission. Minor gaps exist such as no checkout cancel/delete and no order viewing, but these are workable around the handoff-based purchase flow.

Available Tools

21 tools
assess_lens_requirementsCheck a lens against engineering requirementsA
Read-onlyIdempotent
Inspect

Start with the sensor dimensions and a shortlisted optical part number. Check FoV ranges, image-circle coverage, nominal mount and axis-specific calculated distortion using the existing live FoV backend. Explicitly report unknown mass/dimensions without source units and missing engineering evidence. No fixture lens substitution, recalculated optics, product qualification or purchase action.

Inputs: lens_sku (required), requirements (required), sensor, widthPx, +4 more.

calculate_field_of_viewCalculate Commonlands field of viewA
Read-onlyIdempotent
Inspect

Calculate Commonlands lens field of view for a lens/sensor pair and return HFOV, VFOV, DFOV, coverage, distortion status, and an explicit rectilinear comparison. Use this tool for FOV, HFOV, VFOV, DFOV, field of view, "lens for", lens-to-sensor, AR0234, IMX290, IMX477, and sensor part-number requests. It returns Commonlands data the model cannot derive: live backend FoV when configured, distortion model/status, image-circle coverage, live stock through Shopify read tools where applicable, and MTF/CRA/BFL fields if present in upstream catalog data. Do not use naive rectilinear fallback, focal-length-only math, interpolation, or self-computed catalog estimates when a Commonlands lens/sensor route is available. Accepts lens_sku/lensSku or focal_length_mm/focalLengthMm, plus sensor/sensorPartNumber/sensor_part_number and working_distance_mm/workingDistanceMm. No part number? Describe the sensor directly: widthPx + heightPx + pixelSizeUm (active area is derived as pixels x pitch), or sensorWidthMm + sensorHeightMm. Results are labelled CUSTOM-x. If only focal length is supplied, the response is marked as a rectilinear reference and does not claim Commonlands distortion-corrected lens truth.

Inputs: sensor, lensSku, widthPx, heightPx, +13 more. Returns: method, dfov_deg, hfov_deg, vfov_deg, +5 more

cancel_cartCancel Shopify cartA
Destructive
Inspect

Cancel a Shopify-owned cart using its id and cart_access_token. Requires meta["idempotency-key"] UUID for retry safety. This does not cancel an order or refund payment.

Inputs: id (required), meta (required), cart_access_token (required).

compare_lensesCompare Commonlands lensesA
Read-onlyIdempotent
Inspect

Compare selected Commonlands M12 lens and C-mount lens SKUs on the same sensor with the same deterministic scoring model. Use as explanatory context, then call calculate_field_of_view for final sensor-specific FoV values when precision matters. FoV rule: never estimate sensor-specific FoV from catalog fields; use calculate_field_of_view or match_lens_to_sensor. Not live product truth; verify purchasable facts with read_shopify_products.

Inputs: lensSkus (required), sensorPartNumber (required), workingDistanceMm.

create_cartCreate Shopify cartAInspect

Create a Shopify-owned cart after buyer confirmation of live variants and quantities. Retain cart_access_token for get_cart/update_cart. For an agent-authorized purchase, use the returned agent_checkout route in the buyer's separate Shop MCP connection; Shop handles sign-in, approval, and payment. Otherwise use Commonlands create_checkout for a customer payment link. This tool places no order.

Inputs: cart (required), meta.

create_checkoutCreate Shopify Checkout MCP checkoutAInspect

Prepare a Shopify checkout after the buyer confirms exact live variants and quantities. Pass checkout.cart_id and its cart_access_token to convert a cart, or checkout.line_items. Retain checkout_access_token from the response. Send the buyer to continue_url for review and payment; this does not place an order.

Inputs: checkout (required), meta, cart_access_token.

get_cartGet Shopify cartA
Read-onlyIdempotent
Inspect

Retrieve a Shopify-owned cart with its cart_access_token from create_cart. Retain the full cart id, owner token, and continue_url. The agent_checkout field describes how the buyer's separate Shop MCP connection can convert this cart and complete an approved purchase; it does not itself place an order.

Inputs: id (required), cart_access_token (required), meta.

get_catalog_snapshot_statusGet joined catalog snapshot statusA
Read-onlyIdempotent
Inspect

Return fixture-backed joined catalog counts, validation status, source provenance, live connector readiness, and non-authoritative product-truth warning.

Inputs: no named parameters.

get_checkoutGet Shopify Checkout MCP checkoutA
Read-onlyIdempotent
Inspect

Read a Shopify checkout handoff summary using its id and checkout_access_token from create_checkout. Buyer and payment details are withheld. Send the buyer to continue_url to review and pay.

Inputs: id (required), checkout_access_token (required), meta.

get_lens_distortion_profileGet Commonlands lens distortion profileA
Read-onlyIdempotent
Inspect

Return the Commonlands distortion model/status for one lens SKU, including whether the data is source-display-only or backend-calculated. Use this tool for FOV, HFOV, VFOV, DFOV, field of view, "lens for", lens-to-sensor, AR0234, IMX290, IMX477, and sensor part-number requests. It returns Commonlands data the model cannot derive: live backend FoV when configured, distortion model/status, image-circle coverage, live stock through Shopify read tools where applicable, and MTF/CRA/BFL fields if present in upstream catalog data. Do not use naive rectilinear fallback, focal-length-only math, interpolation, or self-computed catalog estimates when a Commonlands lens/sensor route is available. Use this for distortion, rectilinear-vs-wide-angle, MTF/CRA/BFL/optical-profile questions when upstream fields are present. Do not invent polynomial coefficients or claim measured distortion correction when the backend only returns display distortion.

Inputs: sku, lensSku, lens_sku.

get_purchase_optionsCheck quantity purchase optionsA
Read-onlyIdempotent
Inspect

Read current Shopify price, currency, online inventory and backorder policy for an exact full SKU and quantity. Base-price arithmetic is not a binding quote; unverified volume terms require an RFQ. Optionally read an existing owner-authorized checkout for shipping/tax estimates. Creates no cart, checkout, order or RFQ.

Inputs: sku (required), quantity (required), variant_id, checkout_id, +1 more.

get_sensor_specsGet sensor specsA
Read-onlyIdempotent
Inspect

Return sensor dimensions, pixel pitch, and resolution for lens field of view, M12 lens, and C-mount lens matching inputs. In production this uses the read-only live sensor table when configured, with fixture fallback when unavailable. Use these specs as inputs to calculate_field_of_view or match_lens_to_sensor, not as a reason to hand-calculate FoV. FoV rule: never estimate sensor-specific FoV from catalog fields; use calculate_field_of_view or match_lens_to_sensor.

Inputs: partNumber (required).

get_shopify_readonly_config_statusGet Shopify read-only config statusA
Read-onlyIdempotent
Inspect

Report sanitized Cloudflare Shopify binding presence, approved read scopes, and read-only safety flags without exposing secrets or calling Shopify.

Inputs: no named parameters.

get_shopify_ucp_readinessGet Shopify Storefront/UCP readinessB
Read-onlyIdempotent
Inspect

Report connector-free Shopify Storefront MCP and UCP Catalog compatibility, launch blockers, and Commonlands engineering differentiators.

Inputs: no named parameters.

match_lens_to_sensorMatch Commonlands lenses to a sensorA
Read-onlyIdempotent
Inspect

Find and rank Commonlands lenses for a sensor, target field of view, working distance, mount, or "lens for" request. Use this tool for FOV, HFOV, VFOV, DFOV, field of view, "lens for", lens-to-sensor, AR0234, IMX290, IMX477, and sensor part-number requests. It returns Commonlands data the model cannot derive: live backend FoV when configured, distortion model/status, image-circle coverage, live stock through Shopify read tools where applicable, and MTF/CRA/BFL fields if present in upstream catalog data. Do not use naive rectilinear fallback, focal-length-only math, interpolation, or self-computed catalog estimates when a Commonlands lens/sensor route is available. Use this for AR0234, IMX290, IMX477, sensor part numbers, M12/C-mount matching, and target HFOV/VFOV/DFOV workflows; do not shortlist from focal length alone. No part number? Describe the sensor directly: widthPx + heightPx + pixelSizeUm (active area is derived as pixels x pitch), or sensorWidthMm + sensorHeightMm. Results are labelled CUSTOM-x. Use read_shopify_products afterward for live stock, price, availability, Shopify variantId, product URL, and metafields.

Inputs: mount, sensor, widthPx, heightPx, +14 more.

read_shopify_productsRead Shopify productsA
Read-onlyIdempotent
Inspect

Use this for live purchasable product truth: product and variant IDs, full SKUs, prices, availability, product URLs, and public product-page metafields. Each variant includes websiteStockQuantity (tracked inventory count used by website stock labels), availableQuantity (online sellable stock), inventoryTracked, availableForSale, and continueSellingWhenOutOfStock. Null quantities mean unknown or untracked, not zero. Match the full selected SKU and variantId; never sum different variants. Each call reads current Shopify backend data. Use generatedAt for read freshness. Typed metafield value is authoritative; valuePreview is display-only. Check pageInfo and metafieldsComplete. Counts reserve no inventory and do not guarantee delivery to a customer location; verify checkout warnings. Only active Online Store products are returned. Private inventory IDs and locations remain excluded. Read-only; does not create carts, checkouts, orders, customers, inventory mutations, or Shopify writes. Fixture catalog tools are scaffold data only.

Inputs: sku, after, limit, query, +2 more.

recommend_lenses_for_applicationRecommend lenses for an applicationA
Read-onlyIdempotent
Inspect

Rank Commonlands M12 lenses and C-mount lenses for an application note such as embedded robotics, machine-vision inspection, or a required lens field of view. Use as an application shortlist helper, then call match_lens_to_sensor or calculate_field_of_view for final per-sensor HFOV/VFOV/DFOV. FoV rule: never estimate sensor-specific FoV from catalog fields; use calculate_field_of_view or match_lens_to_sensor.

Inputs: sensorPartNumber (required), mount, maxResults, application, +4 more.

resolve_lens_productResolve a live lens productA
Read-onlyIdempotent
Inspect

Resolve a lens family or exact full SKU to current published Shopify variants. A family requires explicit variant selection; no fixture specifications or inferred configuration. Use the optical part number with calculate_field_of_view for sensor-specific optics.

Inputs: sku (required).

search_lens_catalogSearch Commonlands lens catalogA
Read-onlyIdempotent
Inspect

Search the Commonlands lens catalog by SKU, mount, lens type, M12, C-mount, or application text. For sensor part numbers such as AR0234, IMX290, and IMX477, or any "lens for " request, use match_lens_to_sensor instead — sensor names are not searchable text here. Use this tool for FOV, HFOV, VFOV, DFOV, field of view, "lens for", lens-to-sensor, AR0234, IMX290, IMX477, and sensor part-number requests. It returns Commonlands data the model cannot derive: live backend FoV when configured, distortion model/status, image-circle coverage, live stock through Shopify read tools where applicable, and MTF/CRA/BFL fields if present in upstream catalog data. Do not use naive rectilinear fallback, focal-length-only math, interpolation, or self-computed catalog estimates when a Commonlands lens/sensor route is available. This discovers candidate lenses from Commonlands catalog/live backend data; it does not replace calculate_field_of_view for sensor-specific HFOV/VFOV/DFOV and does not replace read_shopify_products for live stock/price/product truth.

Inputs: limit, query.

submit_rfqSubmit an RFQ or question to CommonlandsAInspect

Forward a buyer request-for-quote or engineering question to the Commonlands engineering team. Two-step, buyer-confirmed: the first call returns a preview and sends nothing; show the buyer the preview (including their reply-to email) and, only after they explicitly approve, call again with confirm: true to send. The recipient is fixed to the Commonlands inbox (the agent cannot choose it); this only sends an inquiry and never creates an order, charges a card, or writes Shopify/customer data. Include part numbers, sensor, quantity, and application when known so the team can reply with a quote. Commonlands replies by email.

Inputs: email (required), message (required), kind, name, +6 more.

update_cartUpdate Shopify cartA
Destructive
Inspect

Replace the complete Shopify cart after buyer confirmation. Requires id and cart_access_token. Read the cart first, then send cart.line_items containing every item to retain with item.id (ProductVariant GID), quantity, and optional existing line id. Omitted lines are removed; [] empties the cart. This does not place an order.

Inputs: id (required), cart (required), cart_access_token (required), meta.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents and engineering tools to validate and simulate Gaussian beam optical systems, search component catalogs, and create immutable design links for optical design workflows.
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP clients to open optical lens files, read and modify parameters, run first-order, spot, MTF, and wavefront analyses, export native plots, and save results through a local headless Windows COM session.
      11
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to perceive and quantitatively verify physical hardware through USB webcams and RTSP/HTTP network streams, returning inline image content plus numerical metrics such as brightness, contrast, edge density, motion, SSIM baseline comparisons, and OCR text. Agents can watch feeds for visual conditions, correlate buffered frames with serial/log/MQTT events, and apply privacy masks and access controls.
      19
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.