Skip to main content
Glama

Send message to phone

send_message_to_phone
Destructive

Send text or files to a Telegram phone number, with automatic temporary contact creation and optional removal after delivery.

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 or local paths (one or more strings). Local paths work in stdio mode only.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations set destructiveHint and openWorldHint. Description adds behavior: temporary contact creation and deletion (contact_was_new/contact_removed), which aligns with annotations and provides useful transparency beyond the hints.

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 with front-loaded action, no filler, and a link to detailed docs. Every sentence earns its place.

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 8 params, output schema, and annotations, description covers core behavior and return values. Relies on external documentation for comprehensive details, but is sufficient for standard use.

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 description coverage is 100%, so baseline is 3. Description does not add new param info beyond schema; it mentions return values but not parameter meanings. No additional semantic value.

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?

Description clearly states the tool sends to a phone number, may create a temporary contact, and sends text or files. It distinguishes from sibling 'send_message' by focusing on phone numbers rather than chat IDs.

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?

Description gives clear context (sending to phone, temporary contact creation) but does not explicitly exclude alternatives or mention when not to use. It includes a link to full documentation for more details.

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