Skip to main content
Glama
YawLabs

@yawlabs/lemonsqueezy-mcp

by YawLabs

ls_update_subscription

Idempotent

Change subscription plan, pause/resume billing, adjust billing anchor, or update invoice details. For cancellations, use the dedicated cancel tool.

Instructions

Update a subscription. Can change the variant (plan switch), pause/unpause, set billing anchor, or update invoice details. Use ls_cancel_subscription for cancellation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subscriptionIdYesThe subscription ID to update
variantIdNoNew variant ID for plan switching
pauseNoPause mode: 'void' (pause, skip billing), 'free' (pause, keep access free), or 'resume' to unpause
cancelledNoSet to false to un-cancel a subscription before it expires. To cancel, use ls_cancel_subscription instead.
billingAnchorNoDay of month (1-28) to anchor billing to
invoiceImmediatelyNoIf true, invoice immediately when updating (default false for prorated changes)
disableProrationsNoIf true, disable prorations when changing plans
trialEndsAtNoSet trial end date (ISO 8601 format). Set to null to end trial immediately.
Behavior4/5

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

Annotations indicate mutation (readOnlyHint=false) and idempotency (idempotentHint=true). Description adds value by detailing specific modifications (variant, pause, billing anchor, invoice details) and explicitly ruling out cancellation. No contradictions with annotations.

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, each serving a distinct purpose: first sentence summarizes tool capabilities, second sentence provides sibling alternative. No redundant or superfluous text.

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?

Covers main actions and distinguishes from cancellation. Lacks mention of return value (e.g., updated subscription object), which would be helpful given no output schema. Adequate for most use cases.

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 documented. Description groups parameters into categories (variant, pause, etc.), offering high-level organization but not adding new semantic meaning 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?

Description clearly states the tool updates a subscription and lists specific capabilities (variant change, pause/unpause, billing anchor, invoice details). Explicitly distinguishes from sibling tool for cancellation, ensuring no ambiguity.

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?

Provides clear context for when to use (updating subscription fields) and directs use of ls_cancel_subscription for cancellation. Could be improved by mentioning alternatives like ls_update_subscription_item for item-level changes, but current guidance is adequate.

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