Skip to main content
Glama

Send message to phone

send_message_to_phone
Destructive

Send text messages or files to a Telegram phone number. Automatically creates a temporary contact with the option to remove it after sending.

Instructions

Send to a phone number: may create a temporary contact, then send text or files. Success: send result plus contact_was_new / contact_removed when applicable. Full documentation: https://github.com/leshchenko1979/fast-mcp-telegram/blob/main/docs/Tools-Reference.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
phone_numberYesE.164 phone number with country code, e.g. +1234567890 (must be on Telegram).
messageYesMessage text. When sending files, used as caption.
first_nameNoFirst name when creating a temporary contact.Contact
last_nameNoLast name when creating a temporary contact.Name
remove_if_newNoIf true, delete the contact after send when it was created only for this send.
reply_to_msg_idNoReply to this message id in the target chat after resolve.
parse_modeNo'markdown', 'html', or 'auto' (detect from content). Default is 'auto'.auto
filesNoList of attachment URLs, local paths, or data URIs (one or more strings). data: URIs (data:<mime>;base64,<payload>) work in all server modes; local paths work in stdio mode only.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
errorNo
operationNo
codeNo
paramsNo
exceptionNo
actionNo
error_codeNo
message_idNo
dateNo
chatNo
textNo
statusNo
senderNo
reply_markupNo
edit_dateNo
topic_idNo
phone_numberNo
contact_was_newNo
contact_removedNo
Behavior4/5

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

Annotations already provide destructiveHint and openWorldHint. The description adds context about creating temporary contacts and returning contact_was_new/contact_removed, which are side effects beyond annotations. However, it does not detail error cases or all behavioral nuances.

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?

Two sentences plus a reference link. Information is front-loaded: first sentence states the core purpose. Every word serves a purpose; no redundancy.

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 the tool's complexity (8 parameters, output schema exists), the description covers the high-level flow and return values. It relies on the schema for parameter details, which is acceptable, but could briefly mention interaction between parameters like files and message.

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 the schema documents all parameters thoroughly. The description provides overall flow context but does not add additional meaning to individual parameters beyond what the schema already offers.

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 clearly states the action ('Send') and the resource ('to a phone number'), and distinguishes it from siblings like 'send_message' by specifying the target is a phone number rather than a chat ID. It also mentions creating temporary contacts, which is specific.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for sending to phone numbers but does not explicitly compare with siblings or provide when-to-use vs when-not-to-use guidance. The link to full documentation exists but the description itself lacks direct usage guidelines.

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/leshchenko1979/fast-mcp-telegram'

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