Skip to main content
Glama

Add a Telegram notification

bootform_add_telegram

Sends each submission to a Telegram chat through the person's own bot. Requires the Starter plan or higher. They need a bot token from @BotFather and the chat id: for a direct chat, they must open the bot and press Start first (a bot can't message someone who hasn't), and the id is their own user id; for a group or channel, add the bot to it first, and the id is negative (usually starting with -100). The bot token passes through this chat, so offer the dashboard (the form's Workflow tab) if they would rather not paste it here. After adding, a real submission is the test: check bootform_get_delivery_log if nothing arrives (Telegram answers 400 when the chat id is wrong or Start wasn't pressed).

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": {
      "form_id": "<form_id>",
      "bot_token": "<bot_token>",
      "chat_id": "<chat_id>"
    },
    "name": "bootform_add_telegram"
  }
}

Input Schema

NameRequiredDescriptionDefault
chat_idYesThe chat id: the person's user id for a direct chat, or the group's or channel's negative id
form_idYesThe form's id
bot_tokenYesThe bot token from @BotFather, like 123456789:AA...

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare the non-read-only, non-idempotent, non-destructive profile; the description goes well beyond by disclosing plan gating, the external prerequisite that the bot must be started or added to the group, the secret-handling concern around the token, and the specific failure signature (Telegram 400 on a wrong chat id or unstarted bot). That is exactly the operational context an agent needs before calling a non-idempotent external-side-effect mutation.

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?

A single dense paragraph that front-loads what the tool does before prerequisites, alternatives, and troubleshooting. It is long for one paragraph and re-explains the chat id in the trailing 400-error note, but nearly every sentence carries operational value, so the length is largely earned.

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?

With three required params, no output schema, and full schema coverage, the description covers setup prerequisites, security caveat, and a verification path via the delivery log. The only gap is that it never indicates what a successful call returns or that the new destination can be listed via bootform_list_destinations.

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, but the description adds real meaning beyond the schema: the '-100' convention for group/channel ids, the requirement to press Start before a direct chat will work, and the '@BotFather' origin of the token. It mostly restates chat_id semantics already in the schema, which keeps it from a 5.

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 opening sentence names a specific verb and resource ('Sends each submission to a Telegram chat through the person's own bot') and implicitly scopes it against the sibling destination tools (add_discord, add_slack, add_email, add_webhook) by naming the channel. An agent can identify this as the Telegram destination-setup tool without inspecting the schema.

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?

Gives concrete preconditions ('Requires the Starter plan or higher') and an explicit alternative path ('offer the dashboard ... if they would rather not paste it here'), plus a follow-up route to bootform_get_delivery_log when nothing arrives. It stops short of explicitly stating when to choose Telegram over the sibling destination tools, so it is strong context rather than full when/when-not guidance.

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