Skip to main content
Glama
Telegram MCP

Telegram MCP

by aminkh17

Submit Telegram login code

auth_code

Submit the login code Telegram sent to the account to complete authentication and continue accessing approved chats.

Instructions

Submit the login code Telegram sent to the account.

Input Schema

NameRequiredDescriptionDefault
codeYesThe login code from Telegram (digits, sometimes with letters).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations only declare readOnlyHint=false and openWorldHint=true, so the description must carry the rest. It does not say whether the code is single-use, what happens on an incorrect code, whether a 2FA password step follows, or what a successful submission yields.

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?

A single front-loaded sentence with no filler. It is efficient, though its brevity contributes to the missing flow context rather than making room for it.

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 one-parameter tool with full schema coverage, the basics are covered. However, an authentication step in a multi-tool flow benefits from noting the expected sequence and outcomes, and there is no output schema to fill that gap.

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 already explains that the value is the Telegram login code with digits sometimes containing letters. The description adds only the framing that the code was sent to the account, which is marginal beyond the schema.

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+resource: submitting the login code Telegram sent. That is clearly distinct from auth_password, auth_start, and auth_status without needing the schema. It stops short of naming that distinction explicitly.

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 guidance on when to call this versus auth_password or auth_start, nor any prerequisite such as having called auth_start first. An agent must infer the position of this step in the auth flow from the tool name alone.

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