Skip to main content
Glama
thenavidm

Lemon Squeezy MCP Server

by thenavidm

List discounts

list_discounts
Read-onlyIdempotent

Retrieve a paginated list of discounts to review promotions, filter by store, and manage discount campaigns in Lemon Squeezy.

Instructions

Returns a paginated list of discounts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
accountNoExact private profile label. Does not prove store ownership; mode applies to the main API key only.
includeNoComma-separated native relationships from pinned official SDK: store, variants, discount-redemptions.
per_pageNoNative page size; default10, max100.
store_idNoExact native resource ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is fully covered. The description's only added behavioral note is that results are paginated, which is thin given the schema already exposes page/per_page, and it says nothing about default ordering, scoping by store, or limits.

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

Conciseness4/5

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

A single front-loaded sentence with zero filler. It is efficient, though its brevity reflects under-specification rather than disciplined editing.

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

Completeness2/5

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

With five optional parameters and no output schema, the description should at minimum explain scoping (per-store vs. account-wide) and that filtering is optional. As written, an agent cannot tell whether omitting store_id returns all discounts or fails, leaving a real gap for a list endpoint.

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 80%, so the schema largely documents parameters (account, include, per_page, store_id). The description adds no parameter meaning at all, so the baseline of 3 applies when structured fields do the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Returns a paginated list of discounts'), so an agent knows exactly what it retrieves. It does not, however, differentiate this tool from close siblings such as list_discount_redemptions or get_discount, which is the only thing keeping it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus get_discount (single lookup) or list_discount_redemptions, and no mention of scoping prerequisites like store_id or account. The agent must infer usage entirely from the name.

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