Skip to main content
Glama

UTM Link Builder API - tag many URLs with campaign parameters

utm_builder
Read-onlyIdempotent

Add utm_source, utm_medium, utm_campaign (and term/content) to one or many URLs, keeping existing parameters, clean lower-case values. Runs on our server, files are deleted right after the call, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.001/call via x402 at https://radarbg.com/x402/utm-builder.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "urls": "https://example.com/offer",
      "medium": "email",
      "source": "newsletter",
      "campaign": "Black Friday 2026"
    },
    "name": "utm_builder"
  }
}

Input Schema

NameRequiredDescriptionDefault
termNoutm_term (optional)
urlsYesURLs, one per line
mediumYesutm_medium, e.g. email
sourceYesutm_source, e.g. newsletter
contentNoutm_content (optional)
campaignYesutm_campaign
lowercaseNoLower case with _ for spaces

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world behavior, so the description's added details are the real value: existing parameters are kept, values are cleaned/lower-cased, no data is stored, and there are concrete rate and billing limits. The odd mention of "files are deleted" is a slightly confusing boilerplate note for a tool whose input is text URLs, but nothing contradicts the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences with the purpose front-loaded and operational constraints following. The pricing URLs and per-call cost are justified given the paid access model, though the prose is tightly packed into a single run-on second sentence.

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?

Covers authentication, cost, rate limits, and mutation semantics for a 7-parameter tool with no output schema. The only meaningful gap is that it does not describe the return value (e.g., the tagged URL list), which matters since no output schema exists.

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?

Schema coverage is 100%, so the baseline is 3. The description adds some meaning beyond the schema by noting that existing query parameters are preserved and that values are normalized to lower case (matching the lowercase default), but it gives no detail on multi-line URL handling, batch limits, or what happens with invalid URLs.

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?

States a specific verb and resource — adding utm_source/utm_medium/utm_campaign plus term/content to one or many URLs — with scope (single or batch) and behavior (existing params preserved). An agent can immediately tell this is a campaign-tagging tool, distinct from the data-lookup siblings.

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?

Provides clear operating context: free tier of 5 calls/day per IP, paid access via a Radar API key in X-API-Key, or per-call payment via x402. It does not name alternatives or say when not to use it, but for a narrowly scoped tagging tool the context is sufficient.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources