Build a UTM-tagged link
build_utm_linkAdd UTM campaign tags to a link: utm_source (required), utm_medium, utm_campaign, utm_term, utm_content and utm_id, written in lower case with underscores so analytics tools group them, replacing any UTM tags already on the address. Answers the tagged link, the tags and notes. Answers from what you send alone: nothing is fetched or stored.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>",
"source": "<source>"
},
"name": "build_utm_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | utm_id: the campaign's ID. | |
| url | Yes | The page the link goes to (https://…). | |
| term | No | utm_term: paid keyword. | |
| medium | No | utm_medium: the kind of channel (email, social, cpc, referral). | |
| source | Yes | utm_source: where the visit comes from (newsletter, x, reddit). | |
| content | No | utm_content: tells two links in one campaign apart. | |
| campaign | No | utm_campaign: what is being promoted. | |
| keepCase | No | Keep capitals and spaces as typed (default: lower case, underscores). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| toolUrl | Yes |