Skip to main content
Glama

Пароли к закрытому опросу

manage_quiz_passwords
Destructive

Ведёт список паролей доступа к закрытому опросу: показывает заведённые, добавляет новые, заменяет и удаляет. Пароли хранятся хешами, поэтому прочитать заведённый пароль нельзя ни здесь, ни в конструкторе — только заменить новым. В списке видны номер и дата: по номеру в ответах автор узнаёт, кто из приглашённых отвечал. Сама проверка пароля на входе включается настройкой use_password в update_quiz_settings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesЧто сделать: list — показать список, add — добавить, update — заменить пароль, delete — удалить.
quiz_idYesID опроса.
passwordNoПароль. Обязателен для update — это новое значение взамен прежнего. Для add его можно передать вместо списка passwords, если пароль один.
passwordsNoСписок паролей для add, до 50 штук за раз. Нужно больше — вызовите несколько раз: пароль хешируется, и большая пачка не успела бы обработаться.
password_idNoID пароля из list. Нужен для update и delete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the destructiveHint annotation, the description discloses a genuinely non-obvious behavior: passwords are stored as hashes so the value can never be read back anywhere, only overwritten. It also explains that the list exposes number and date to identify respondents. It omits auth/permission requirements and rate limits, keeping it short of a 5.

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-loads the purpose, then adds hashing, list content, and the enabling setting in a compact block of sentences. Every sentence carries information, though the number/date explanation is slightly tangential.

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 multi-action tool with no output schema, this covers the essentials: what each action does, that reads of the secret are impossible, what the list returns, and how enforcement is toggled. Missing only permissions/no-output detail, which is minor here.

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 field descriptions already cover password vs passwords, password_id, and update semantics. The prose largely restates what the schema documents (replace, list IDs) and adds no new format or constraint detail, so the baseline of 3 applies.

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 opens with a precise verb+resource and enumerates the four supported operations (list/add/update/delete), which map directly to the action enum. It clearly identifies this as the access-password manager for a closed quiz and even names the sibling (update_quiz_settings) that controls the entry check.

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?

It gives clear context: passwords cannot be read (only replaced), and the entry check is enabled via use_password in update_quiz_settings, which routes the agent to the right sibling. It stops short of an explicit when-not-to-use statement, but the operational framing is strong.

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