Skip to main content
Glama

Уникальные ссылки на опрос

manage_quiz_unique_links
Destructive

Ведёт наборы уникальных ссылок на опрос — отдельных адресов вида https://<домен опроса>/s/<код> для отдела, филиала, класса или партнёра. У каждой ссылки лимит ответов (свой или набора), у набора — срок, недельное расписание, правило пароля и свои тексты отказа. Ответ помнит ссылку, по ней фильтруются ответы и отчёт (unique_link_group_id / unique_link_ids в get_quiz_answers и generate_filtered_report). Основной адрес опроса работает как раньше. Чтение — по праву view_results, изменения — по праву settings. Ошибка проверки приходит машинным кодом поля, например «max_uses: max_uses_range».

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsNoID ссылок для bulk_links. Без ids действие применяется ко всему, что отбирают search и show, на всех страницах. Для delete нужны ids, search или show, отличный от all.
nameNoНазвание набора для create_group, до 120 символов.
pageNoСтраница для list_links, с 1.
showNoОтбор для list_links и для bulk_links без ids: all — все, no_answers — без ответов, answered — с ответами, limit_reached — набран лимит, unavailable — не пускают.
countNoСколько ссылок выпустить: для create_group и add_links, 1..1000. Не учитывается, если переданы labels.
actionYesЧто сделать: list_groups — наборы, get_group — один набор, create_group — создать набор со ссылками, update_group — изменить набор, delete_group — удалить набор со ссылками, list_links — ссылки набора по странице, add_links — добавить ссылки, update_link — изменить ссылку, bulk_links — включить, выключить или удалить несколько ссылок, export_links — файл со ссылками набора (CSV или Excel) по ссылке на скачивание.
formatNoФормат файла для export_links: xlsx (по умолчанию) или csv. Ссылка на скачивание действует час.
labelsNoНазвания ссылок для create_group и add_links: по ссылке на каждое непустое имя, в этом порядке, до 1000, каждое до 64 символов.
searchNoПодстрока кода или своего названия ссылки — для list_links и для bulk_links без ids.
changesNoИзменяемые поля. Для update_group: name, active, max_uses, starts_at, expires_at (моменты ISO), period_timezone, schedule_enabled, schedule_days (ISO 1..7), schedule_time_from, schedule_time_to (HH:mm), schedule_timezone, password_mode (survey — пароли опроса, own — пароль набора, none — без пароля), password (только запись), message_used, message_invalid (HTML, до 1000 символов текста). Для update_link: label, active, own_max_uses вместе с max_uses (свой лимит только сужает лимит набора), own_password, password_add, password_edit {id, value}, password_delete (id пароля), params — скрытые переменные ссылки [{name, value}], до 20.
dry_runNoДля update_group: только посчитать, сколько ссылок перестанут пускать при новом max_uses (becomes_used), ничего не сохраняя.
link_idNoID ссылки. Нужен для update_link.
quiz_idYesID опроса.
group_idNoID набора. Нужен для get_group, update_group, delete_group, list_links, add_links, bulk_links и export_links.
max_usesNoЛимит ответов на ссылку для create_group: 1 — одноразовые (по умолчанию), N, или null — без лимита.
per_pageNoСсылок на странице для list_links, до 500, по умолчанию 50.
bulk_actionNoДля bulk_links: enable — включить, disable — выключить, delete — удалить.

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 already declare destructive=true/non-idempotent/open-world, so the bar is lower, yet the description adds real value: the required permissions for reads vs writes, the fact that responses and reports are filtered by unique_link_group_id/unique_link_ids, and the machine error-code format (e.g. 'max_uses: max_uses_range'). These are behavioral details not covered by 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?

It is a long description, but front-loads the entity definition and then layers on limits, filtering, rights and error format, each sentence carrying distinct information. Appropriate sizing for a 10-action, 17-parameter tool, with only mild redundancy.

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 complex destructive multi-action tool with nested objects and no output schema, it covers the entity model, permission requirements, filtering side effects, and error format. The only gap is that return values are not described, but the detailed action enum compensates substantially.

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%, so the schema already documents all 17 parameters in detail (including the nested changes object and enum values). The description adds little parameter-level meaning beyond the domain framing, so the baseline 3 is correct.

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 names a specific resource (sets of unique survey links of form /s/<code>) and the managing verb, and it explicitly distinguishes its scope from the main survey address ('Основной адрес опроса работает как раньше'), separating it from set_quiz_link. An agent can grasp the domain without opening the schema.

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?

It lists all available operations and states the read-vs-write rights model (view_results for reads, settings for changes), which implies when it is usable. However it gives no explicit when-to-use/when-not or routing to sibling tools like set_quiz_link or manage_quiz_passwords. Usage is implied rather than directed.

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