Skip to main content
Glama
telegram-mcp

telegram-mcp

by Maxsh

telegram_verify_code

Completes Telegram authorization by submitting the verification code sent to your phone, with an optional 2FA password when account protection is enabled.

Instructions

Complete Telegram authorization with verification code and optional 2FA password

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": {
      "code": "<code>"
    },
    "name": "telegram_verify_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesVerification code sent to your phone
passwordNo2FA password (if enabled on your account)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and largely does not meet it. It does not say whether a successful call persists a session, what happens on an invalid/expired code, whether the call can be retried, or what the tool returns; it only restates the inputs already in the schema.

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?

One front-loaded sentence with zero redundant wording, and the optional-parameter scope is flagged inline. It is efficient, though its brevity is part of why behavioral and sequencing details are missing.

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

Completeness2/5

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

For a stateful authentication step in a multi-tool flow with no annotations and no output schema, the description omits the sequencing relative to telegram_authorize, failure handling, and any notion of what a successful completion yields. An agent could not reliably place this call in the flow from the description alone.

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 baseline is 3: the schema already explains that code is the SMS-delivered verification code and password is the 2FA secret. The description's "optional 2FA password" adds no format, sourcing, or conditional detail beyond that.

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?

The description gives a specific verb and resource: "Complete Telegram authorization with verification code" plus an optional 2FA password, which is enough to distinguish it from general message-reading siblings. The word "Complete" hints that it finishes a flow a sibling starts, but it never names telegram_authorize, so the differentiation is only implied.

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?

Usage is only implied: "Complete" suggests this is a second step after initiating authorization, and "if enabled" scope for the password is carried by the schema, not the description. There is no explicit statement of when to call this versus telegram_authorize, nor what to do if the code fails or expires.

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