Skip to main content
Glama
grammy-mcp
by louietyj

sendContact

Sends a phone contact to a specified Telegram chat or channel with required phone number and first name, then returns the sent message.

Instructions

Use this method to send phone contacts. On success, the sent Message is returned.

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>",
      "phone_number": "<phone_number>",
      "first_name": "<first_name>"
    },
    "name": "sendContact"
  }
}

Input Schema

NameRequiredDescriptionDefault
vcardNoAdditional data about the contact in the form of a vCard, 0-2048 bytes
chat_idYesUnique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
last_nameNoContact's last name
first_nameYesContact's first name
phone_numberYesContact's phone number
reply_markupNoAdditional interface options. An object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user.
protect_contentNoProtects the contents of the sent message from forwarding and saving
reply_parametersNoDescription of the message to reply to
message_effect_idNoUnique identifier of the message effect to be added to the message; for private chats only
message_thread_idNoUnique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
reply_to_message_idNoUse `reply_parameters` instead.
allow_paid_broadcastNoPass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
disable_notificationNoSends the message silently. Users will receive a notification with no sound.
business_connection_idNoUnique identifier of the business connection on behalf of which the message will be sent
direct_messages_topic_idNoIdentifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
suggested_post_parametersNoAn object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.
ephemeral_message_parametersNoAn object containing the parameters of the ephemeral message to send

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the mutation/external-visibility profile is covered. The description adds only the return value ('the sent Message is returned'), which is useful given no output schema, but says nothing about rate limits, the paid-broadcast fee path, ephemeral message caveats, or forum-topic requirements that the parameters expose.

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?

Two short, front-loaded sentences with no filler, and the return-value note is placed after the purpose. It is arguably too terse for a 17-parameter tool, but the terseness is a completeness issue rather than structural waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 17 parameters, several nested objects and no output schema, the description covers the purpose and the return type but omits any operational context: required-field implications, channel/business-account restrictions, or the deprecated reply_to_message_id versus reply_parameters choice. Adequate but thin relative to the surface area.

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% and every one of the 17 parameters carries its own description, including nested objects like reply_markup, ephemeral_message_parameters and suggested_post_parameters. The description adds no meaning beyond that, so the baseline of 3 applies.

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?

States a specific verb and resource ('send phone contacts') and mentions the success outcome. It distinguishes itself from sendLocation/sendVenue by implying a contact card rather than a place, though it never names a sibling to route agents away from.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to guidance. It does not say when to prefer this over sendMessage with a vCard, or over sendLocation for location sharing, nor does it mention prerequisites such as targeting a valid chat or bot permissions.

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

Deploy Server

Other Tools