Skip to main content
Glama
Anonymouse8882

Telegram MCP

add_contact

Add a user to your Telegram contacts using their username, ID, or phone number. Optionally share your phone number with them.

Instructions

把某人加进通讯录。

已经能看到的人:传 user(@username 或 ID)。 只有电话号码:传 phone + first_name,会用号码导入。

Args: user: 目标用户的 @username 或 ID。 first_name: 备注名(必填,会显示在通讯录里)。 last_name: 备注姓。 phone: 只知道号码时用,带国家码。 share_my_phone: 是否把自己的号码也分享给对方。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userNo
phoneNo
last_nameNo
first_nameNo
share_my_phoneNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Given no annotations, the description discloses key behaviors (importing by phone, sharing phone). However, it lacks information on duplicate detection, error handling, or permission requirements, leaving some behavioral gaps.

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?

The description is concise, front-loaded with the purpose, and uses a clear args list format. Every sentence adds value without redundancy.

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?

While the tool is simple and an output schema exists, the description has a notable gap: it states 'first_name' is required, but the schema does not enforce it (no required array). Additionally, error scenarios (e.g., user not found) are not addressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully explains each parameter's purpose, including when to use 'user' vs. 'phone', the requirement for 'first_name', and the meaning of 'share_my_phone'. This adds significant value beyond the schema.

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 tool adds a contact and provides two distinct use cases (adding a known user vs. adding by phone number), which distinguishes it from sibling tools like list_contacts or delete_contact.

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?

It explicitly explains when to use the 'user' parameter vs. when to use 'phone' and 'first_name'. However, it does not mention when not to use the tool (e.g., for blocking or searching) or provide direct alternatives from siblings.

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/Anonymouse8882/TelegamMCP'

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