Skip to main content
Glama
YawLabs

@yawlabs/lemonsqueezy-mcp

by YawLabs

ls_list_orders

Read-onlyIdempotent

Retrieve orders with optional filters by store ID or customer email. Paginated results include meta.page with currentPage, lastPage, and total for navigation.

Instructions

List all orders, optionally filtered by store or user email. Results are paginated — check meta.page in the response for currentPage, lastPage, and total.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
includeNoComma-separated related resources to include (e.g. 'store,customer,order-items,subscriptions,license-keys,discount-redemptions')
storeIdNoFilter by store ID
pageSizeNoResults per page (1-100)
userEmailNoFilter by user email
pageNumberNoPage number (1-indexed)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.14.2
    • changedInput schema / properties / userEmail / pattern
      Previous value: -"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"New value: +"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
  2. First observedv0.10.10

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral disclosure by stating that results are paginated and pointing to meta.page for currentPage, lastPage, and total, which is outside the annotations. This is useful but does not cover rate limits or response ordering, so not a 5.

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?

Two sentences, front-loaded with purpose and then the essential pagination detail. Every sentence contributes; there is no filler or repetition of schema contents.

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?

For a list tool with all parameters optional and a complete input schema, the description covers the main behavior, optional filters, and pagination response shape. It does not discuss the include parameter or default ordering, but those are documented in the schema and are not necessary for basic invocation. The absence of an output schema is partly mitigated by the pagination metadata note.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so each parameter is already documented in the schema. The description summarizes the two filters (store/user email) and pagination, but does not add new semantics beyond what the property descriptions already state. Baseline 3 applies correctly.

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 the specific action 'List all orders' and scoping phrase 'optionally filtered by store or user email', making the resource and verb unambiguous. This sets it apart from single-order tools like ls_get_order and mutation tools like ls_generate_order_invoice/ls_refund_order. The scope ('all orders') is precise and leaves no room for confusion.

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 establishes a clear use case: retrieving orders at scale with optional store/email filters. It does not, however, name sibling tools or state when not to use this tool, so agents must infer alternatives from naming. Clear context, but no explicit exclusions.

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