Skip to main content
Glama
thenavidm

Lemon Squeezy MCP Server

by thenavidm

Create checkout

create_checkout
Destructive

Creates a unique checkout for a selected product variant, letting you set buyer details, discounts, quantities, and checkout appearance.

Instructions

Creates a unique checkout for a specific variant with specified attributes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoExact private profile label. Does not prove store ownership; mode applies to the main API key only.
confirmNoSet true only when the user asked for exactly this action.
payloadNoComplete native JSON object body. JSON:API uses data/type/id/attributes/relationships. No mixing with body flags or payload_file. License credential is private configuration, never body input.
previewNo
store_idNo
test_modeNo
expires_atNo
variant_idNo
output_fileYesRequired absolute NEW private file for the signed checkout/invoice URL; exclusive0600, no overwrite.
custom_priceNo
payload_fileNoAbsolute regular non-symlink native JSON body file at most 1 MiB; cannot mix with payload or body flags.
checkout_dataNo
product_optionsNo
checkout_optionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed32 schema fields changedv3.0.0
    • addedInput schema / $defs
      Added value: +{
      +  "checkout_data": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "billing_address": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "country": {
      +            "description": "",
      +            "minLength": 1,
      +            "pattern": "^[A-Z]{2}$",
      +            "type": "string"
      +          },
      +          "zip": {
      +            "description": "",
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [],
      +        "type": "object"
      +      },
      +      "custom": {
      +        "description": "Native custom checkout data. Private and untrusted; never credentials.",
      +        "maxProperties": 100,
      +        "type": "object"
      +      },
      +      "discount_code": {
      +        "description": "",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "email": {
      +        "description": "",
      +        "format": "email",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "tax_number": {
      +        "description": "",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "variant_quantities": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "quantity": {
      +              "minimum": 1,
      +              "type": "integer"
      +            },
      +            "variant_id": {
      +              "minimum": 1,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "variant_id",
      +            "quantity"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 100,
      +        "type": "array"
      +      }
      +    },
      +    "required": [],
      +    "type": "object"
      +  },
      +  "checkout_options": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "active_state_color": {
      +        "description": "Native checkout hex color.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "background_color": {
      +        "description": "Native checkout hex color.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "borders_color": {
      +        "description": "Native checkout hex color.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "button_color": {
      +        "description": "Native checkout hex color.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "button_text_color": {
      +        "description": "Native checkout hex color.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "checkbox_color": {
      +        "description": "Native checkout hex color.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "dark": {
      +        "type": "boolean"
      +      },
      +      "desc": {
      +        "type": "boolean"
      +      },
      +      "discount": {
      +        "type": "boolean"
      +      },
      +      "embed": {
      +        "type": "boolean"
      +      },
      +      "headings_color": {
      +        "description": "Native checkout hex color.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "links_color": {
      +        "description": "Native checkout hex color.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "locale": {
      +        "enum": [
      +          "bg",
      +          "hr",
      +          "cs",
      +          "da",
      +          "nl",
      +          "en",
      +          "et",
      +          "fil",
      +          "fi",
      +          "fr",
      +          "de",
      +          "el",
      +          "hu",
      +          "id",
      +          "it",
      +          "ja",
      +          "ko",
      +          "lv",
      +          "lt",
      +          "ms",
      +          "mt",
      +          "pl",
      +          "pt",
      +          "ro",
      +          "ru",
      +          "zh-CN",
      +          "sk",
      +          "sl",
      +          "es",
      +          "sv",
      +          "th",
      +          "tr",
      +          "vi",
      +          null
      +        ],
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "logo": {
      +        "type": "boolean"
      +      },
      +      "media": {
      +        "type": "boolean"
      +      },
      +      "primary_text_color": {
      +        "description": "Native checkout hex color.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "secondary_text_color": {
      +        "description": "Native checkout hex color.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "skip_trial": {
      +        "type": "boolean"
      +      },
      +      "subscription_preview": {
      +        "type": "boolean"
      +      },
      +      "terms_privacy_color": {
      +        "description": "Native checkout hex color.",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [],
      +    "type": "object"
      +  },
      +  "product_options": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "confirmation_button_text": {
      +        "description": "",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "confirmation_message": {
      +        "description": "",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "confirmation_title": {
      +        "description": "",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "description": {
      +        "description": "",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "enabled_variants": {
      +        "items": {
      +          "minimum": 1,
      +          "type": "integer"
      +        },
      +        "maxItems": 100,
      +        "type": "array"
      +      },
      +      "media": {
      +        "items": {
      +          "format": "uri",
      +          "type": "string"
      +        },
      +        "maxItems": 100,
      +        "type": "array"
      +      },
      +      "name": {
      +        "description": "",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "receipt_button_text": {
      +        "description": "",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "receipt_link_url": {
      +        "description": "",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "receipt_thank_you_note": {
      +        "description": "",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "redirect_url": {
      +        "description": "",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [],
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / checkout_data / $ref
      Added value: +"#/$defs/checkout_data"
    • removedInput schema / properties / checkout_data / additionalProperties
      Removed value: -false
    • removedInput schema / properties / checkout_data / properties
      Removed value: -{
      -  "billing_address": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "country": {
      -        "description": "",
      -        "minLength": 1,
      -        "pattern": "^[A-Z]{2}$",
      -        "type": "string"
      -      },
      -      "zip": {
      -        "description": "",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [],
      -    "type": "object"
      -  },
      -  "custom": {
      -    "description": "Native custom checkout data. Private and untrusted; never credentials.",
      -    "maxProperties": 100,
      -    "type": "object"
      -  },
      -  "discount_code": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "email": {
      -    "description": "",
      -    "format": "email",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "name": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "tax_number": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "variant_quantities": {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "quantity": {
      -          "minimum": 1,
      -          "type": "integer"
      -        },
      -        "variant_id": {
      -          "minimum": 1,
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "variant_id",
      -        "quantity"
      -      ],
      -      "type": "object"
      -    },
      -    "maxItems": 100,
      -    "type": "array"
      -  }
      -}
    • removedInput schema / properties / checkout_data / required
      Removed value: -[]
    • removedInput schema / properties / checkout_data / type
      Removed value: -"object"
    • addedInput schema / properties / checkout_options / $ref
      Added value: +"#/$defs/checkout_options"
    • removedInput schema / properties / checkout_options / additionalProperties
      Removed value: -false
    • removedInput schema / properties / checkout_options / properties
      Removed value: -{
      -  "active_state_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "background_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "borders_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "button_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "button_text_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "checkbox_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "dark": {
      -    "type": "boolean"
      -  },
      -  "desc": {
      -    "type": "boolean"
      -  },
      -  "discount": {
      -    "type": "boolean"
      -  },
      -  "embed": {
      -    "type": "boolean"
      -  },
      -  "headings_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "links_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "locale": {
      -    "enum": [
      -      "bg",
      -      "hr",
      -      "cs",
      -      "da",
      -      "nl",
      -      "en",
      -      "et",
      -      "fil",
      -      "fi",
      -      "fr",
      -      "de",
      -      "el",
      -      "hu",
      -      "id",
      -      "it",
      -      "ja",
      -      "ko",
      -      "lv",
      -      "lt",
      -      "ms",
      -      "mt",
      -      "pl",
      -      "pt",
      -      "ro",
      -      "ru",
      -      "zh-CN",
      -      "sk",
      -      "sl",
      -      "es",
      -      "sv",
      -      "th",
      -      "tr",
      -      "vi",
      -      null
      -    ],
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "logo": {
      -    "type": "boolean"
      -  },
      -  "media": {
      -    "type": "boolean"
      -  },
      -  "primary_text_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "secondary_text_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "skip_trial": {
      -    "type": "boolean"
      -  },
      -  "subscription_preview": {
      -    "type": "boolean"
      -  },
      -  "terms_privacy_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / checkout_options / required
      Removed value: -[]
    • removedInput schema / properties / checkout_options / type
      Removed value: -"object"
    • changedInput schema / properties / confirm / description
      Previous value: -"Explicit approval for this requested effect, including private output files."New value: +"Set true only when the user asked for exactly this action."
    • addedInput schema / properties / payload / properties / data / properties / attributes / properties / checkout_data / $ref
      Added value: +"#/$defs/checkout_data"
    • removedInput schema / properties / payload / properties / data / properties / attributes / properties / checkout_data / additionalProperties
      Removed value: -false
    • removedInput schema / properties / payload / properties / data / properties / attributes / properties / checkout_data / properties
      Removed value: -{
      -  "billing_address": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "country": {
      -        "description": "",
      -        "minLength": 1,
      -        "pattern": "^[A-Z]{2}$",
      -        "type": "string"
      -      },
      -      "zip": {
      -        "description": "",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [],
      -    "type": "object"
      -  },
      -  "custom": {
      -    "description": "Native custom checkout data. Private and untrusted; never credentials.",
      -    "maxProperties": 100,
      -    "type": "object"
      -  },
      -  "discount_code": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "email": {
      -    "description": "",
      -    "format": "email",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "name": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "tax_number": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "variant_quantities": {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "quantity": {
      -          "minimum": 1,
      -          "type": "integer"
      -        },
      -        "variant_id": {
      -          "minimum": 1,
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "variant_id",
      -        "quantity"
      -      ],
      -      "type": "object"
      -    },
      -    "maxItems": 100,
      -    "type": "array"
      -  }
      -}
    • removedInput schema / properties / payload / properties / data / properties / attributes / properties / checkout_data / required
      Removed value: -[]
    • removedInput schema / properties / payload / properties / data / properties / attributes / properties / checkout_data / type
      Removed value: -"object"
    • addedInput schema / properties / payload / properties / data / properties / attributes / properties / checkout_options / $ref
      Added value: +"#/$defs/checkout_options"
    • removedInput schema / properties / payload / properties / data / properties / attributes / properties / checkout_options / additionalProperties
      Removed value: -false
    • removedInput schema / properties / payload / properties / data / properties / attributes / properties / checkout_options / properties
      Removed value: -{
      -  "active_state_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "background_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "borders_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "button_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "button_text_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "checkbox_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "dark": {
      -    "type": "boolean"
      -  },
      -  "desc": {
      -    "type": "boolean"
      -  },
      -  "discount": {
      -    "type": "boolean"
      -  },
      -  "embed": {
      -    "type": "boolean"
      -  },
      -  "headings_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "links_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "locale": {
      -    "enum": [
      -      "bg",
      -      "hr",
      -      "cs",
      -      "da",
      -      "nl",
      -      "en",
      -      "et",
      -      "fil",
      -      "fi",
      -      "fr",
      -      "de",
      -      "el",
      -      "hu",
      -      "id",
      -      "it",
      -      "ja",
      -      "ko",
      -      "lv",
      -      "lt",
      -      "ms",
      -      "mt",
      -      "pl",
      -      "pt",
      -      "ro",
      -      "ru",
      -      "zh-CN",
      -      "sk",
      -      "sl",
      -      "es",
      -      "sv",
      -      "th",
      -      "tr",
      -      "vi",
      -      null
      -    ],
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "logo": {
      -    "type": "boolean"
      -  },
      -  "media": {
      -    "type": "boolean"
      -  },
      -  "primary_text_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "secondary_text_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "skip_trial": {
      -    "type": "boolean"
      -  },
      -  "subscription_preview": {
      -    "type": "boolean"
      -  },
      -  "terms_privacy_color": {
      -    "description": "Native checkout hex color.",
      -    "minLength": 1,
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / payload / properties / data / properties / attributes / properties / checkout_options / required
      Removed value: -[]
    • removedInput schema / properties / payload / properties / data / properties / attributes / properties / checkout_options / type
      Removed value: -"object"
    • addedInput schema / properties / payload / properties / data / properties / attributes / properties / product_options / $ref
      Added value: +"#/$defs/product_options"
    • removedInput schema / properties / payload / properties / data / properties / attributes / properties / product_options / additionalProperties
      Removed value: -false
    • removedInput schema / properties / payload / properties / data / properties / attributes / properties / product_options / properties
      Removed value: -{
      -  "confirmation_button_text": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "confirmation_message": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "confirmation_title": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "description": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "enabled_variants": {
      -    "items": {
      -      "minimum": 1,
      -      "type": "integer"
      -    },
      -    "maxItems": 100,
      -    "type": "array"
      -  },
      -  "media": {
      -    "items": {
      -      "format": "uri",
      -      "type": "string"
      -    },
      -    "maxItems": 100,
      -    "type": "array"
      -  },
      -  "name": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "receipt_button_text": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "receipt_link_url": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "receipt_thank_you_note": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "redirect_url": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / payload / properties / data / properties / attributes / properties / product_options / required
      Removed value: -[]
    • removedInput schema / properties / payload / properties / data / properties / attributes / properties / product_options / type
      Removed value: -"object"
    • addedInput schema / properties / product_options / $ref
      Added value: +"#/$defs/product_options"
    • removedInput schema / properties / product_options / additionalProperties
      Removed value: -false
    • removedInput schema / properties / product_options / properties
      Removed value: -{
      -  "confirmation_button_text": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "confirmation_message": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "confirmation_title": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "description": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "enabled_variants": {
      -    "items": {
      -      "minimum": 1,
      -      "type": "integer"
      -    },
      -    "maxItems": 100,
      -    "type": "array"
      -  },
      -  "media": {
      -    "items": {
      -      "format": "uri",
      -      "type": "string"
      -    },
      -    "maxItems": 100,
      -    "type": "array"
      -  },
      -  "name": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "receipt_button_text": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "receipt_link_url": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "receipt_thank_you_note": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "redirect_url": {
      -    "description": "",
      -    "minLength": 1,
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / product_options / required
      Removed value: -[]
    • removedInput schema / properties / product_options / type
      Removed value: -"object"
  2. First observedv2.0.0

TDQS

C2.5/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is covered; the word 'unique' weakly reinforces non-idempotency. However, the description omits significant behavior — that the call writes a signed checkout URL to a new private 0600 file, requires an output target, and creates a live/open-world resource.

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?

A single front-loaded sentence with no filler, which is structurally clean. But for a 14-parameter mutation tool it is arguably too sparse to be 'appropriately sized'.

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

Completeness1/5

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

For a complex, destructive, open-world mutation with nested objects, 14 parameters, and no output schema, one generic sentence is far from complete. Nothing about the file output, confirmation requirement, or payload structure is conveyed.

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

Parameters2/5

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

Schema coverage is only 36% across 14 parameters, so the description must compensate — but it only alludes to 'variant' and 'attributes'. It gives no meaning for payload vs payload_file mutual exclusion, preview/test_mode, custom_price, expires_at, or the account/confirm flags.

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?

States a clear verb+resource (creates a checkout) and narrows scope to a specific variant with attributes. It does not explicitly differentiate from siblings like list_checkouts/get_checkout, but the create-vs-read distinction is obvious enough from the verb.

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?

The description offers no when-to-use guidance, no prerequisites (e.g. that a store/variant must exist), and no mention of the required output_file or the confirm gate that the schema implies. An agent gets no routing or precondition help.

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