Skip to main content
Glama

route_set_utm

Включает или выключает очистку меток utm у маршрута: метки utm_source, utm_medium и подобные убираются из всех ссылок копии (из видимого текста и из адреса под словами), остальное в адресе остаётся. Нужна, когда клиент не хочет переносить в свой канал чужую статистику переходов. Остальные правила маршрута остаются как есть.

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": {
      "routeId": "<routeId>",
      "strip": "<strip>"
    },
    "name": "route_set_utm"
  }
}

Input Schema

NameRequiredDescriptionDefault
stripYestrue — убирать из всех ссылок копии метки utm_* (utm_source, utm_medium и подобные), ссылка остаётся рабочей; false — оставлять ссылки как есть.
routeIdYesНомер маршрута — из списка маршрутов человека (действие routes.list).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false and openWorldHint=false; the description adds real substance beyond that by explaining the blast radius (utm labels removed from every link's visible text and href), what is preserved (the rest of the address, and all other route rules), and that links remain functional. It does not state whether the change is reversible beyond the strip=false toggle or what the response looks like.

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?

Front-loaded with the action, followed by the effect and the client-facing rationale; every clause carries information. It is a single dense sentence with a parenthetical, which is slightly heavy but not padded.

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 two-parameter, non-read-only toggle with no output schema, the description covers what changes, what is left untouched, and why an agent would call it. Only the return value and reversibility are unstated, which is minor at this complexity.

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 both parameters are already well documented, including routeId's provenance from routes.list. The description reinforces the partial-stripping semantics ('остальное в адресе остаётся') but adds little the schema does not already say, so the baseline 3 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?

States a precise verb+resource pair: enabling/disabling utm-label stripping on a route, and names exactly which labels (utm_source, utm_medium) are affected. It does not explicitly distinguish itself from near-miss siblings such as route_set_replacements or route_set_ad_filter, which also touch link text, so it falls short of a 5.

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?

Gives a clear when-to-use rationale: the client does not want to carry someone else's traffic statistics into their channel. There are no explicit exclusions or named alternatives, but the context for invoking it is unambiguous.

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.