Skip to main content
Glama

Новый вебхук

create_quiz_webhook

Добавляет вебхук к опросу. Создаётся выключенным: сначала проверьте отправкой, потом включите через toggle_quiz_webhook — так же устроено в интерфейсе. Адрес должен быть публичным http или https, внутренние адреса не принимаются.

Input Schema

NameRequiredDescriptionDefault
urlYesАдрес, куда уходят данные. Только публичный http или https.
bodyNoКакие поля ответа слать: список id вопросов (uuid из get_quiz_structure) и имён скрытых переменных.
hoursNoЗадержка перед отправкой в часах: 0, 1, 6, 12 или 24. Ноль — сразу.
titleYesНазвание вебхука, до 255 символов.
methodYesHTTP-метод: get, post, put или patch.
headersNoДополнительные заголовки запроса, список из {"name": "...", "value": "..."}.
quiz_idYesID опроса.
incompleteNoСлать и незавершённые ответы.
body_namingNoПереименование полей: объект «id поля → свой ключ» для полей из body.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / body / description
      Previous value: -"Шаблон отправляемых данных: какие поля ответа слать."New value: +"Какие поля ответа слать: список id вопросов (uuid из get_quiz_structure) и имён скрытых переменных."
    • addedInput schema / properties / body / items
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / body / type
      Previous value: -"object"New value: +"array"
    • changedInput schema / properties / body_naming / description
      Previous value: -"Переименование полей: свой ключ для каждого поля отправки."New value: +"Переименование полей: объект «id поля → свой ключ» для полей из body."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare the non-destructive, non-idempotent, non-read-only profile, and the description adds genuinely new behavior: the resource is created in a disabled state and requires a separate enable step, plus a URL policy that rejects internal addresses. It does not explain duplicate-handling despite idempotentHint=false.

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

Conciseness5/5

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

Three short sentences: purpose first, then the activation workflow, then the address constraint. No filler, and the most important behavioral nuance (disabled-by-default) is front-loaded.

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 9-parameter create tool with full schema coverage and annotations, the description covers the critical gotcha an agent must know (created off, enable later). With no output schema, it could have indicated what is returned to feed into toggle_quiz_webhook, but the essentials are present.

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 every parameter including url, body, hours, method, and body_naming is already documented. The description only restates the public http/https constraint that the url schema already carries, adding no new per-parameter meaning.

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 first sentence states a specific verb and resource ('Добавляет вебхук к опросу'), and the second explicitly routes the agent to the sibling toggle_quiz_webhook for a different action, so it is distinguishable from create/update/toggle/delete webhook siblings.

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 a concrete workflow: the webhook is created disabled, the agent should verify by sending, then enable it via toggle_quiz_webhook, which is a clear context for use. It does not, however, say when to prefer update_quiz_webhook over a fresh create, so an exclusion is missing.

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