{"ok":true,"result":{"slug":"utm-builder","name":"UTM Builder","summary":"Add UTM campaign parameters to a URL (replacing any existing ones, keeping other parameters and the #fragment), or parse the UTM parameters out of a tagged URL.","description":"Build campaign URLs with utm_source, utm_medium, utm_campaign and more. Keeps existing parameters and #fragments, warns about case and spaces, and parses UTM links.","method":"POST","endpoint":"/api/v1/tools/utm-builder","plan":"free","mcpName":"utm_builder","input":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","description":"The landing page URL, or in parse mode a URL with UTM parameters.","maxLength":4096},"mode":{"type":"string","description":"build: add the utm_* fields to url. parse: split url into its UTM and other parameters.","default":"build","enum":["build","parse"],"maxLength":200000},"utm_source":{"type":"string","description":"build: where the traffic comes from, e.g. newsletter or google. Required in build mode.","maxLength":500},"utm_medium":{"type":"string","description":"build: marketing medium, e.g. email, cpc or social.","maxLength":500},"utm_campaign":{"type":"string","description":"build: campaign name, e.g. spring_sale.","maxLength":500},"utm_term":{"type":"string","description":"build: paid search keyword.","maxLength":500},"utm_content":{"type":"string","description":"build: distinguishes ads or links in the same campaign, e.g. header_button.","maxLength":500},"utm_id":{"type":"string","description":"build: campaign ID.","maxLength":500}},"required":["url"]},"example":{"url":"https://shop.example.com/sale?ref=home#top","utm_source":"newsletter","utm_medium":"email","utm_campaign":"spring_sale"},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/utm-builder","page":"https://pithlab.com/tools/utm-builder"}}