Skip to main content
Glama
YawLabs

@yawlabs/lemonsqueezy-mcp

by YawLabs

ls_list_variants

Read-onlyIdempotent

List all product variants, optionally filtered by product ID. Returns paginated results with page metadata so you can navigate through every variant.

Instructions

List all variants, optionally filtered by product. Results are paginated — check meta.page in the response for currentPage, lastPage, and total. WARNING: do NOT read price as the amount charged -- for usage-based, per-seat or otherwise tiered variants it is vestigial and commonly reads the same value across products that bill very differently. The authoritative per-unit price lives on each variant's PRICE resource: call ls_list_prices with the variantId, take the newest record by created_at, and read its effective_unit_price. Cross-store note: when LEMONSQUEEZY_ALLOWED_STORE_IDS is set, this tool requires at least one of: productId. Even with that set, Pair with a scoped LemonSqueezy API key for true cross-store enforcement -- the API key's visibility is the true boundary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
includeNoComma-separated related resources to include (e.g. 'product,files')
pageSizeNoResults per page (1-100)
productIdNoFilter by product ID
pageNumberNoPage number (1-indexed)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.10.10

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds substantial behavioral context: pagination via meta.page, the vestigial nature of `price` for tiered variants, and the cross-store enforcement nuance. This goes well beyond annotations and directly prevents costly misinterpretations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is information-dense but verbose, containing multiple warnings and notes in a single block. While it is front-loaded with the core purpose and pagination, the pricing warning and cross-store note could be more concisely structured. The length is justified by importance but it lacks crispness.

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?

Given no output schema, the description covers the essential response structure (meta.page for pagination) and provides critical guidance on price accuracy. It also addresses cross-store authorization nuances. An agent has enough to call the tool correctly and interpret results, even without seeing the response schema.

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% with each parameter described. The description enhances this by clarifying productId as an optional filter and implicitly connecting pageSize/pageNumber to pagination. It also highlights that productId becomes required when LEMONSQUEEZY_ALLOWED_STORE_IDS is set, adding semantic depth beyond the schema.

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?

The description opens with a clear, specific statement: 'List all variants, optionally filtered by product.' This names the verb, resource, and a filtering option, distinguishing it from single-variant retrieval (ls_get_variant) and price listing (ls_list_prices). No ambiguity about the tool's core function.

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?

The description provides strong usage context: pagination behavior, a warning about the unreliable `price` field, and guidance to use ls_list_prices for authoritative pricing. It also notes the cross-store requirement for productId. However, it does not explicitly state when to avoid this tool in favor of ls_get_variant for a single variant, though that is implied by the listing nature.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.