Skip to main content
Glama

UTM Builder

utm_builder
Read-onlyIdempotent

A UTM builder for campaign URLs, with the tagging mistakes caught as you type. A HelpySelf tool (helpyself.com).

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": {
      "url": "https://example.com/",
      "medium": "email",
      "source": "newsletter",
      "campaign": "spring-sale"
    },
    "name": "utm_builder"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoutm_id: GA4's campaign id, tying the link to a campaign record.
urlYesThe destination page. A bare hostname is accepted and assumed https. Any utm_ parameters already on it are replaced and a warning says so; other query parameters and a fragment are kept.
termNoutm_term: the paid keyword, for search ads.
mediumNoutm_medium: the channel, such as cpc, email or social.
sourceNoutm_source: where the traffic comes from, as a short name such as google or newsletter. A pasted URL is flagged. Empty or omitted fields are left off the link.
contentNoutm_content: which link or creative, for telling two links in one campaign apart.
campaignNoutm_campaign: the campaign name, such as spring-sale.
normaliseNoLower-case each value and turn spaces into hyphens before building the link. On by default, because inconsistent casing splits one campaign into several in reporting. Off keeps values exactly as given and warns about casing and spaces instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "campaign": "spring-sale",
      +    "medium": "email",
      +    "source": "newsletter",
      +    "url": "https://example.com/"
      +  }
      +]
  2. Changed8 schema fields changed
    • addedInput schema / properties / campaign / description
      Added value: +"utm_campaign: the campaign name, such as spring-sale."
    • addedInput schema / properties / content / description
      Added value: +"utm_content: which link or creative, for telling two links in one campaign apart."
    • addedInput schema / properties / id / description
      Added value: +"utm_id: GA4's campaign id, tying the link to a campaign record."
    • addedInput schema / properties / medium / description
      Added value: +"utm_medium: the channel, such as cpc, email or social."
    • addedInput schema / properties / normalise / description
      Added value: +"Lower-case each value and turn spaces into hyphens before building the link. On by default, because inconsistent casing splits one campaign into several in reporting. Off keeps values exactly as given and warns about casing and spaces instead."
    • addedInput schema / properties / source / description
      Added value: +"utm_source: where the traffic comes from, as a short name such as google or newsletter. A pasted URL is flagged. Empty or omitted fields are left off the link."
    • addedInput schema / properties / term / description
      Added value: +"utm_term: the paid keyword, for search ads."
    • addedInput schema / properties / url / description
      Added value: +"The destination page. A bare hostname is accepted and assumed https. Any utm_ parameters already on it are replaced and a warning says so; other query parameters and a fragment are kept."
  3. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds one useful behavioral note — mistakes are flagged as you type — but says nothing about what is actually returned (presumably the built URL) despite there being no output schema.

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

Conciseness3/5

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

The first sentence is tight and front-loaded, but the second sentence is pure vendor branding ('A HelpySelf tool (helpyself.com)') that does nothing to help an agent select or call the tool. Half the description's real estate is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 8 optional-ish parameters fully documented in the schema and safety covered by annotations, the main remaining gap is the return value: no output schema exists and the description never states that the result is the assembled URL. Adequate but not complete.

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 description coverage is 100%, and the schema itself documents each utm_ field, the URL replacement behavior, and the normalise default in detail. The description adds no parameter meaning beyond that, so the baseline 3 for fully covered schemas applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource: a builder for UTM-tagged campaign URLs, plus an inline validation feature ('tagging mistakes caught as you type'). It is clear what the tool produces, though it does not differentiate itself from any sibling or state its exact output form.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not guidance, and no mention of alternatives. Usage is only implied by the phrase 'for campaign URLs'; an agent must infer that this is the tool for generating tagged marketing links rather than, say, decoding them.

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