Skip to main content
Glama

NOVA MCP connector for Kommo

Subscribe bearer webhook

webhooks_add_bearer
DestructiveIdempotent

Хук через посредника, когда приёму нужен заголовок. amo сам заголовок не ставит. Хук в amo смотрит на sp1-nova.ru, для Kommo на sp1-nova.com. sp1 отправляет тот же POST на destination и добавляет Authorization: Bearer token. token — секрет без слова Bearer. В ответ секрет не возвращается. Повтор с тем же destination обновляет секрет и события. События: responsible_lead — у сделки сменился ответственный; responsible_contact — у контакта сменился ответственный; responsible_company — у компании сменился ответственный; responsible_customer — у покупателя сменился ответственный; responsible_task — у задачи сменился ответственный; restore_lead — сделка восстановлена из удалённых; restore_contact — контакт восстановлен из удалённых; restore_company — компания восстановлена из удалённых; add_lead — добавлена сделка; add_contact — добавлен контакт; add_company — добавлена компания; add_customer — добавлен покупатель; add_talk — добавлена беседа; add_task — добавлена задача; update_lead — сделка изменена; update_contact — контакт изменён; update_company — компания изменена; update_customer — покупатель изменён; update_talk — беседа изменена; update_task — задача изменена; delete_lead — удалена сделка; delete_contact — удалён контакт; delete_company — удалена компания; delete_customer — удалён покупатель; delete_task — удалена задача; status_lead — у сделки сменился статус; note_lead — примечание добавлено в сделку; note_contact — примечание добавлено в контакт; note_company — примечание добавлено в компанию; note_customer — примечание добавлено в покупателя; add_message — входящее сообщение от клиента; add_outgoing_message — исходящее сообщение клиенту; add_chat_template_review — шаблон WhatsApp отправлен на одобрение. Списки: add_catalog_{id}, update_catalog_{id}, delete_catalog_{id}. Адрес destination — куда amo отправит POST. На него можно повесить рутину Grok: add_message — новое входящее сообщение, add_lead — новая сделка. У других AI-провайдеров тот же приём: routine, automation или webhook, которые принимают HTTP POST. Если адрес уже есть, amo заменяет его settings целиком, а не дописывает события. Удаление снимает адрес со всех событий. На аккаунт не больше 100 хуков.

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": {
      "destination": "<destination>",
      "token": "<token>",
      "settings": "<settings>"
    },
    "name": "webhooks_add_bearer"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo
tokenYesСекрет для заголовка Authorization: Bearer.
settingsYesКоды событий из описания инструмента.
destinationYesПубличный http(s) адрес, куда sp1 перешлёт хук.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations (destructive=true, idempotent=true), the description discloses that the token is a secret and is NOT returned in the response, that repeating with the same destination updates the secret and events, that an existing address has its settings replaced wholesale rather than appended, that deletion removes the address from all events, and that the limit is 100 hooks per account. These are exactly the mutation/lifecycle facts annotations cannot convey.

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

Conciseness2/5

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

The thirty-plus event codes are dumped inline in a run-on paragraph, dominating the text and burying the actual behavior. The key operational facts (secret not returned, full settings replacement, 100-hook cap) are stranded after the long enumeration rather than front-loaded, so the reader must wade through a wall of event names to reach crucial constraints.

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 4-param destructive mutation with no output schema, the description covers token handling, replacement semantics, deletion behavior, and per-account limits — enough to call it correctly and understand the safety profile. What the response actually returns is only hinted at via 'the secret is not returned', leaving response shape partly unstated, but that is a minor gap.

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?

At 75% schema coverage the description adds real meaning: token is 'секрет без слова Bearer' (the raw secret, not the 'Bearer ' prefix), destination is where amo sends the POST, and settings takes the enumerated event codes. The full event taxonomy (responsible_*, add_*, update_*, delete_*, note_*, plus add_catalog_{id} style list events) operationalizes the settings array. The 'sort' parameter is not explained in prose.

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?

The opening 'Хук через посредника, когда приёму нужен заголовок' explains this creates a webhook that routes through an intermediary (sp1-nova.ru/.com) to add an Authorization header, and clarifies amo itself does not set the header — this differentiates it from the plain webhooks_add sibling. The action verb ('create/subscribe') lives only in the title, so the purpose is described via mechanism rather than a crisp verb+resource statement.

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?

'когда приёму нужен заголовок' plus 'amo сам заголовок не ставит' gives clear selection context: use this when the destination requires a Bearer header. It also notes the same trick applies to other AI providers (routine/automation/webhook accepting HTTP POST). It never explicitly names webhooks_add as the no-header alternative, so the when-not guidance is implied rather than stated.

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