Skip to main content
Glama

Подключить или настроить бота

bots_save

Connect a new bot by token or modify an existing bot's settings. Tokens are verified live and stored encrypted; changing token or mode restarts the running bot.

Instructions

Без параметра bot подключает нового бота по токену — токен проверяется живым запросом к платформе и хранится зашифрованным. С параметром bot меняет настройки. Смена токена или режима перезапускает работающего бота. Платформу у подключённого бота сменить нельзя: у неё свой вид токена и свои пределы.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
botNoКакого бота менять. Не указывайте, чтобы подключить нового.
caseNoДело: название или идентификатор. Если не указать, берётся дело по умолчанию, иначе последнее открытое в панели.
modeNopolling — панель сама забирает обновления; webhook — платформа шлёт их на панель (нужен публичный адрес по https).
nameNoНазвание бота в панели.
tokenNoТокен бота. Обязателен при подключении. Вид у каждой платформы свой: у Telegram 1234567890:AA… от @BotFather, у MAX — длинная строка без двоеточия из кабинета разработчика. Точный вид и где его брать — operbots_catalog what=platforms.
enabledNoВключён ли бот. false останавливает работающего.
platformNoКуда подключаем нового бота. По умолчанию telegram. У подключённого не меняется.
autostartNoЗапускать бота при старте панели.
ai_providerNoПодключение к ИИ-сервису: название или идентификатор. null — отвязать сервис от бота, ничего взамен не назначая.
descriptionNoОписание бота.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed3 schema fields changedv0.1.16
    • changedInput schema / properties / mode / description
      Previous value: -"polling — панель сама забирает обновления; webhook — Telegram шлёт их на панель (нужен публичный адрес по https)."New value: +"polling — панель сама забирает обновления; webhook — платформа шлёт их на панель (нужен публичный адрес по https)."
    • addedInput schema / properties / platform
      Added value: +{
      +  "description": "Куда подключаем нового бота. По умолчанию telegram. У подключённого не меняется.",
      +  "enum": [
      +    "telegram",
      +    "max"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / token / description
      Previous value: -"Токен от @BotFather вида 1234567890:AA… Обязателен при подключении."New value: +"Токен бота. Обязателен при подключении. Вид у каждой платформы свой: у Telegram 1234567890:AA… от @BotFather, у MAX — длинная строка без двоеточия из кабинета разработчика. Точный вид и где его брать — operbots_catalog what=platforms."
  2. Changed2 schema fields changedv0.1.14
    • changedInput schema / properties / ai_provider / description
      Previous value: -"Подключение к ИИ-сервису: название или идентификатор."New value: +"Подключение к ИИ-сервису: название или идентификатор. null — отвязать сервис от бота, ничего взамен не назначая."
    • changedInput schema / properties / ai_provider / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  3. First observedv0.1.1

TDQS

A4.3/5.0
Behavior5/5

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

The description discloses non-obvious behaviors beyond annotations: live token validation, encrypted storage, automatic restart on token or mode change, and immutability of platform. This significantly helps an agent anticipate side effects.

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?

Four short sentences front-load the main behavior and then cover constraints and side effects without filler. Every sentence earns its place.

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 10 parameters and no output schema, the description covers the key decision points: connect vs configure, restart semantics, platform immutability, and live token validation. It does not enumerate every parameter, but the schema already documents those.

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 coverage is 100%, so the baseline is 3; the description goes beyond by explaining the conditional role of bot, the restart effect of changing token or mode, and the platform restriction. It adds useful integration semantics rather than merely repeating the schema.

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 description states a specific action on a specific resource: connecting a new bot when bot is omitted and changing settings when bot is provided. It is clear but does not explicitly name sibling tools to differentiate, so it stops short of a 5.

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?

Clear usage context is given: omit bot to connect, include bot to reconfigure, and changing token or mode restarts a running bot. It does not explicitly state when to choose a sibling tool such as bots_control or bots_delete, so it lacks explicit exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/uk-kd/operbots-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server