write_subscription
write_subscription
Live server: test server (test.mcp.solvimon.com) only.
Creates and manages BILLING subscriptions and their schedules. Use init to subscribe a known customer from your backend. Use create_checkout_link for self-serve. Quotes go through create_quote and write_quote.
Actions: create, update, delete, init, activate, cancel, void, archive, copy
Resource types: pricing_plan_subscriptions, pricing_plan_subscription_groups, pricing_plan_schedules
initactivates at once. For a ramp (several schedules on one subscription),createa DRAFT subscription with its schedules, review it, thenactivate.- Every schedule is checked: an ACTIVE plan version, a
billing_periodthe version declares (required when it declares several), no overlap with the next schedule. Gaps and a start in the past are warned about. - A config with a yearly price and no
pricing_periodis refused, because it would be charged every period. cancelends the subscription at period end.voidterminates it immediately.copyduplicates it inDRAFTwith all schedules, discounts and commitments.
Example prompts
- “Subscribe Acme Inc. to the Growth Plan, billed monthly in EUR, starting on the first of next month.”
- “Draft a ramp for Acme Inc.: 50% off the platform fee in year one, full price from year two.”
- “Cancel Acme Inc.’s subscription at the end of the current period.”
- “Copy Acme Inc.’s subscription as a draft so I can move it to the new plan version.”
- “Void the subscription we created for Acme Inc. by mistake today.”
Example output
Prompt: “Draft a Growth Plan subscription for Docs Example B.V., billed every six months in EUR, starting at the beginning of next year. Don’t activate it yet.”
Tool call:
Response (trimmed):
Claude’s answer: The subscription is drafted for Docs Example B.V. on the Growth Plan, billed every six months in EUR from the start date. Nothing bills yet. When you’re ready, I can activate its schedule and then the subscription.