Skip to main content
Glama
YawLabs

@yawlabs/lemonsqueezy-mcp

by YawLabs

ls_update_subscription

Idempotent

Update a subscription to change its variant, pause or resume billing, set billing anchor, or modify invoice details.

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.
Behavior3/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, indicating a non-destructive, safe operation. The description adds no behavioral details beyond what annotations provide, such as side effects or authorization needs.

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 two sentences, front-loading the purpose and capabilities, with a clear redirection for cancellation. No extraneous information.

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 8 parameters, full schema coverage, and open annotations, the description covers core use cases well. Mild gap: no mention of return value (no output schema) could be added.

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?

All 8 parameters have descriptions in the input schema (100% coverage). The description's summary of capabilities mirrors the schema but adds no new meaning or syntax details.

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 'Update a subscription' and lists specific capabilities (change variant, pause/unpause, set billing anchor, update invoice details). It explicitly distinguishes from the sibling tool ls_cancel_subscription for cancellation.

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 clear context on when to use this tool (for updates) and explicitly directs to ls_cancel_subscription for cancellation. However, it does not discuss other potential alternatives like ls_update_subscription_item.

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