Skip to main content
Glama

Переменные контента бота

bots_variables_set

Set and update variables for bot scenarios: add or refresh values like prices, addresses, and links. Mark sensitive data as secret, remove unneeded keys.

Instructions

Задаёт переменные, которые подставляются в тексты сценария: цены, адреса, ссылки. Существующие ключи обновляются, новые создаются. Отмеченные секретными не показываются обратно. Ключ: латиница, цифры, подчёркивание и точка.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
botYesБот: название, @username или идентификатор.
caseNoДело: название или идентификатор. Если не указать, берётся дело по умолчанию, иначе последнее открытое в панели.
variablesNoПеременные, которые нужно завести или обновить.
delete_keysNoИмена переменных, которые удалить.
Behavior5/5

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

Beyond annotations (write, non-destructive), the description discloses that existing keys are updated, new ones created, and secret-marked values are not shown back. It also specifies key character constraints, providing valuable behavioral details.

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 compact sentences, front-loaded with the main action, and every sentence adds essential information. No fluff or redundant repetition of schema fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the schema richness and annotations, the description fully complements the structured data. It covers core behavior, key format, secret handling, and update semantics, making the tool's purpose and constraints complete for an agent.

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?

The schema already covers all parameters (100% coverage), but the description adds key format constraints (Latin, digits, underscore, dot) not present in the schema. It also reinforces the behavior of the 'secret' field, adding meaning beyond the schema.

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 states a specific verb ('Задаёт' - sets) and resource ('переменные' - variables for bot script texts), with concrete examples (prices, addresses, links). It clearly distinguishes this tool from siblings like bots_save or bots_control by focusing on content variables.

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?

The description provides clear context through examples ('цены, адреса, ссылки') and explains the update/create behavior, implying when to use it. It does not explicitly name alternatives or exclude cases, but given the unique sibling scope, the usage is evident.

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

Install Server

Other Tools

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