shorten_with_analytics
Shorten long URLs while integrating Google Analytics UTM parameters to track campaign performance. Customize keywords and titles for concise, trackable links using YOURLS-MCP server.
Instructions
Shorten a long URL with Google Analytics UTM parameters
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>",
"utm_source": "<utm_source>",
"utm_medium": "<utm_medium>"
},
"name": "shorten_with_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | No | Optional custom keyword for the short URL | |
| title | No | Optional title for the URL | |
| url | Yes | The URL to shorten | |
| utm_campaign | No | UTM campaign parameter | |
| utm_content | No | UTM content parameter | |
| utm_medium | Yes | UTM medium parameter | |
| utm_source | Yes | UTM source parameter | |
| utm_term | No | UTM term parameter |