MCP tools

botpark has an MCP server so an AI client, such as Claude Code, can inspect and manage the bots. It accepts the owner's key only. Every tool call is recorded in an audit log, and a refusal comes back as <code>: <explanation>.

Reading#

ToolWhat it returns
list_botsEvery bot with its username, role, chats, mode and who may send through it.
bot_statusThe live Telegram profile compared with the configured one, whether the bot is polling, its mode and its ceilings.
get_personaA bot's voice and its one-sentence role.
get_moderation_rulesThe moderator's settings: current values and the ones that were overridden.
list_chatsThe chats a bot knows.
moderation_logBouncer's actions: deletions, warnings, mutes, kicks and bans. Filter by chat_id; limit is 1 to 500.
game_statusThe current game, or the last one, with its players. Roles are not shown.
audit_logThe audit rows. Filter by bot or product; limit is 1 to 500.

Changing#

ToolWhat it does
set_modeSets a chat bot to off, draft or auto.
set_personaChanges a bot's voice and role. It applies from the next model call.
set_moderation_rulesChanges moderator settings as key and value pairs. null restores a default. A value the moderator would reject is not written.
update_profileChanges a bot's Telegram name (up to 64 characters), short description (120), description (512) or avatar (a 640×640 PNG).
send_messageSends a message as a bot, with the same fields as the Send API.
start_gameOpens signup for a game of Mafia in a chat, hosted by Bard.
stop_gameStops the current game and notifies the chat.

Limits#

  • Mode, persona and moderation rules exist only for the three chat bots.
  • One game runs at a time. start_game is refused while another game is active.
  • start_game opens a game on request. Quizzes and nominations follow the schedule set in the bot settings.