Skip to main content
Glama
telegram-bot-testing-mcp
by SnimanOff

tg_login_password

Submits the two-factor authentication password to finish a headless Telegram login when 2FA is required.

Instructions

Headless login step 3: submit the two-factor password (2FA only).

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": {
      "password": "<password>"
    },
    "name": "tg_login_password"
  }
}

Input Schema

NameRequiredDescriptionDefault
passwordYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the whole burden. It discloses only that this is a headless login step; it says nothing about what happens on an incorrect password, whether the session is established on success, or whether credentials are retained.

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?

A single short sentence, front-loaded with the sequence position and the scope restriction. Nothing is wasted.

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?

An output schema exists, so return values needn't be explained, and a one-parameter tool is inherently simple. However, the prerequisite chain ('step 3' implies prior steps without naming them) and failure behavior are left unstated for an authentication operation.

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 0% and the schema only labels the field 'Password', so any meaning must come from the description. The description does add the key distinction that this is the two-factor password rather than the account login password, but it adds nothing about format or source.

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 (submit) and a specific resource (the two-factor password), and the 'step 3 (2FA only)' framing distinguishes it from the sibling login steps tg_login_phone and tg_login_code. It stops just short of naming those siblings, but an agent can infer the sequence position.

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?

The '(2FA only)' qualifier and 'step 3' imply when the tool applies, but the description never explicitly says which sibling must be called first or what to do if 2FA is not enabled. Guidance is inferable rather than stated.

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