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 €9/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. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, and openWorld, and the description adds substantially beyond them: existing query parameters are preserved, values are normalized to lower-case, processing happens server-side with files deleted immediately and nothing stored, and a concrete rate limit of 5 calls/day per IP applies. That is exactly the kind of operational and data-handling context an agent needs before calling.

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?

Three sentences, front-loaded with the capability and then the storage/rate-limit/auth facts, with no filler. The final pricing sentence is dense with URLs and header names, but every element is actionable information for an agent that must choose an auth route.

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?

For a stateless, no-output-schema transformation tool, the description covers inputs, normalization rules, data handling, rate limits, and authentication — enough to call it correctly. The one gap is that the return value (presumably the tagged URLs, one per input line) is never described, and there is no output schema to fall back on.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the seven parameters (including the lowercase boolean with its default) are already documented. The description still adds meaning beyond the schema by explaining that `urls` accepts one-or-many, that existing parameters in those URLs are retained, and that values are cleaned to lower-case — behavior the schema does not convey.

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 ("Add") and specific resources (utm_source, utm_medium, utm_campaign, term/content) applied to "one or many URLs," plus the scoping behavior of preserving existing parameters. No sibling tool in the catalog does URL campaign tagging, so there is nothing to disambiguate against.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied (campaign tagging for marketing links) and the access paths are spelled out in detail — 5 free calls/day per IP, an X-API-Key from the paid tier, or x402 per-call payment. However there is no explicit statement of when to prefer this over building UTM strings another way, and no exclusions or preconditions beyond pricing.

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