Skip to main content
Glama
YawLabs

@yawlabs/lemonsqueezy-mcp

by YawLabs

ls_list_order_items

Read-onlyIdempotent

List all order items from your LemonSqueezy store, with optional filters by order, product, or variant. Results are paginated for easy navigation.

Instructions

List all order items, optionally filtered by order or product. Results are paginated — check meta.page in the response for currentPage, lastPage, and total. Cross-store note: when LEMONSQUEEZY_ALLOWED_STORE_IDS is set, this tool requires at least one of: orderId, productId, variantId. 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
orderIdNoFilter by order ID
productIdNoFilter by product ID
variantIdNoFilter by variant ID
includeNoComma-separated related resources to include (e.g. 'order,product,variant')
pageNumberNoPage number (1-indexed)
pageSizeNoResults per page (1-100)
Behavior5/5

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

The description adds significant behavioral context beyond annotations: it explains pagination (check meta.page for currentPage, lastPage, total) and cross-store filtering constraints. Annotations already indicate read-only, idempotent, non-destructive; description complements them well without contradiction.

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?

The description is concise with three sentences, each adding distinct value: listing function, pagination behavior, and cross-store nuance. No filler or redundancy.

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

Completeness4/5

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

Given 100% schema coverage and annotations present, the description covers pagination and cross-store behavior adequately. Could be improved by mentioning typical return fields beyond pagination, but overall sufficient for a list tool.

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 baseline is 3. The description adds value by explaining the cross-store requirement that at least one of orderId, productId, or variantId is needed when LEMONSQUEEZY_ALLOWED_STORE_IDS is set, providing context beyond the schema's basic descriptions.

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 clearly states the tool lists all order items with optional filters by order or product. It distinguishes from sibling tools like ls_get_order_item (single item) and other list tools by specifying the resource and filtering options.

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 guidance on pagination and cross-store filtering requirements when LEMONSQUEEZY_ALLOWED_STORE_IDS is set, but does not explicitly contrast with siblings like ls_list_orders or ls_get_order_item, which would further clarify when to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/YawLabs/lemonsqueezy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server