Skip to main content
Glama

Завести короткую ссылку

create_short_link

Короткая ссылка на домене школы: на адрес (url) или в бота (bot_username и, если нужно, start_code: код воронки «Старта»). platform (youtube, vk, rutube, telegram, direct, email, site, other) ставит метки сама: utm_source, utm_medium, utm_campaign; свои метки (utm: source, medium, campaign, content, term) главнее. path: свой путь латиницей; без него система выберет понятный, варианты покажет suggest_link_path. button: подпись кнопки под роликом, set_id: ролик или кампания школы.

Та же ссылка (тот же адрес или бот с кодом, та же площадка, кнопка и ролик) второй раз не заводится: вернётся прежняя, created=false. Например: url https://it-ontime.ru/mikrotik, platform youtube → short_url https://go.it-ontime.ru/mikrotik, метки youtube, video, mikrotik. Ошибка (путь занят, адрес не тот, нет домена) приходит ответом 400 с текстом для человека.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
utmNo
pathNo
titleNo
buttonNo
set_idNo
platformNo
start_codeNo
bot_usernameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior1/5

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

The description contradicts the annotation idempotentHint=false by explicitly stating that the same link arguments will not create a new link and will return the existing one with created=false. This makes the operation idempotent in effect, so the description conflicts with the annotation. Otherwise it adds useful details about automatic UTM tagging, UTM override precedence, and 400 error responses.

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?

The description is a single dense paragraph but contains no filler. It front-loads the main purpose and then moves through parameter semantics, deduplication behavior, example, and error handling in a logical order, though the lack of visual structure reduces readability.

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?

Given 9 parameters, no output schema, and moderate annotation coverage, the description covers most parameter meanings, deduplication behavior, and an example return shape. It omits the title parameter and does not fully describe the response structure, but it is largely sufficient for correct invocation.

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 description coverage is 0%, so the description must carry the parameter burden. It explains 8 of 9 parameters with meaningful semantics: url, bot_username, start_code, platform (with enum-like examples), utm keys and precedence, path, button, and set_id. The title parameter is not described, preventing a perfect score.

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?

The description states exactly what the tool produces: a short link on the school domain pointing either to a URL or to a bot, with automatic UTM tagging. It distinguishes itself from the sibling suggest_link_path by naming it for path suggestions, and the example makes the output concrete.

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?

The description gives clear context for what the tool does and mentions suggest_link_path for generating path variants, but it does not explicitly say when to use this tool versus alternatives like update_short_link or list_short_links. Usage is implied by the create operation.

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