Skip to main content
Glama
bale-mcp

bale-mcp

by sepehr071

Bot: send message

bot_send_message
Destructive

Sends a text message from a Bale bot to a chat, channel, or reply thread. Use it to deliver markdown messages or inline buttons, then wait for the user's reply with the returned message_id.

Instructions

Send a real text message from the bot. Confirm recipient and text with the user first.

Markdown text. The user must have sent /start first. Then bot_wait_for_reply with the returned message_id.

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": {
      "chat_id": "<chat_id>",
      "text": "<text>"
    },
    "name": "bot_send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesMessage text.
buttonsNoInline buttons as rows of labels, e.g. [['Yes', 'No']]. A press arrives as kind 'button'.
chat_idYesChat id (number) or public '@channel' username.
reply_to_message_idNoMessage id to reply to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.3.0
    • changedInput schema / properties / buttons / description
      Previous value: -"Inline buttons as rows of labels, e.g. [['Yes', 'No']]. A press arrives as kind 'button' (text = label, cut to 64 bytes)."New value: +"Inline buttons as rows of labels, e.g. [['Yes', 'No']]. A press arrives as kind 'button'."
    • changedInput schema / properties / chat_id / description
      Previous value: -"Chat id (number, e.g. 123456789) or public '@channel' username. See bot_list_chats."New value: +"Chat id (number) or public '@channel' username."
    • changedInput schema / properties / reply_to_message_id / description
      Previous value: -"Reply to this message id in the same chat."New value: +"Message id to reply to."
  2. Changed8 schema fields changedv0.2.0
    • changedInput schema / properties / buttons / description
      Previous value: -"Inline buttons as rows of labels, e.g. [['Yes', 'No']]. A press arrives as a message of kind 'button' whose text is the label (cut to 64 bytes); bot_wait_for_reply returns it."New value: +"Inline buttons as rows of labels, e.g. [['Yes', 'No']]. A press arrives as kind 'button' (text = label, cut to 64 bytes)."
    • removedInput schema / properties / buttons / title
      Removed value: -"Buttons"
    • changedInput schema / properties / chat_id / description
      Previous value: -"Chat id (number from bot_get_new_messages or bot_list_chats, e.g. 123456789) or a public channel/group username like '@mychannel'."New value: +"Chat id (number, e.g. 123456789) or public '@channel' username. See bot_list_chats."
    • removedInput schema / properties / chat_id / title
      Removed value: -"Chat Id"
    • removedInput schema / properties / reply_to_message_id / title
      Removed value: -"Reply To Message Id"
    • removedInput schema / properties / text / title
      Removed value: -"Text"
    • removedInput schema / title
      Removed value: -"bot_send_messageArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "bot_send_messageDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, openWorldHint=true and non-idempotency, so the bar is lower. The description still adds non-obvious operational context: the /start prerequisite, the requirement to confirm recipient and text with the user, and that the send returns a message_id that feeds bot_wait_for_reply. Rate limits and failure modes are not covered.

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

Conciseness4/5

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

Three short lines, front-loaded with the action and immediately followed by the safety check and follow-up. The telegraphic fragments ("Markdown text.") read as notes rather than prose, which is efficient but slightly disjointed.

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-parameter mutation tool with no output schema, the description covers the key things an agent needs: prerequisite, confirmation, formatting, and the returned message_id for chaining. Missing only error/rate-limit behavior, which is secondary here.

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 coverage is 100%, so all four parameters are already documented, and the buttons example is handled by the schema itself. The only added meaning is that the text body is parsed as Markdown, which is genuinely useful but marginal against a fully described 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?

"Send a real text message from the bot" gives a specific verb plus resource and the word "real" implies a live delivery rather than a draft. It is distinguishable from bot_send_file and bot_edit_message by implication, though no sibling is named explicitly.

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 states a prerequisite (the user must have sent /start) and a confirmation step before sending, and it routes to bot_wait_for_reply as the follow-up using the returned message_id. It does not explicitly contrast with bot_send_file or bot_edit_message, which is the only missing piece.

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