Skip to main content
Glama
icyberdeveloper

tbank-myt

Статус корпоративной сессии

myt_status
Read-onlyIdempotent

Check if your MyT corporate session is still alive on the server by making an actual read request, auto-renewing the token if it is close to expiry. Returns the real server state, not a local calculation.

Instructions

Жива ли корпоративная сессия MyT — проверяет ЗАПРОСОМ, а не арифметикой. Секретов не печатает.

Токен продлевается сам перед любым запросом, за 120 секунд до истечения, поэтому нулевой остаток НЕ значит «сессия мертва». Этот тул делает обычный читающий запрос и отвечает по его результату — про состояние на сервере, а не про часы на машине, где крутится MCP. Обновить сессию принудительно — myt_refresh_session().

Как и любой читающий тул здесь, он может по дороге переминтить токен и переписать файл сессии: это поддержание доступа, а не изменение чего-то в мире пользователя. Если запись не удалась, ответ об этом скажет — молча «успешно» не вернёт.

Чего не может ни один тул — полного перелогина: он требует пароля и SMS и живёт в .venv/bin/python login_cli.py <логин>. Если сессия действительно мертва, ответ так и скажет; предлагать пользователю передать пароль не надо.

MyT — рабочее приложение Т-Банка. Если у тебя подключён ещё и банковский MCP: это другой аккаунт и другая сессия, его refresh_session() сюда не относится.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Beyond annotations, the description discloses that the tool may re-mint the token and rewrite the session file (while clarifying this is access maintenance, not a user-world change), that it does not print secrets, and that it will report write failures rather than silently returning success. This enriches the readOnlyHint and idempotentHint annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is quite long, with multiple paragraphs covering edge cases and context. While it is front-loaded with the core purpose, the extensive caveats (token renewal, file rewrite, re-login limitation, banking MCP distinction) make it less concise than necessary for a simple status check. All information is relevant, but it could be trimmed.

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

Completeness5/5

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

The description covers all essential context: the token self-renewal behavior, the meaning of a zero balance, the internal write side effect, failure reporting, the impossibility of full re-login, and the distinction from a different MCP session. Combined with the output schema and annotations, this provides a complete picture for the agent.

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

Parameters4/5

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

The tool has zero parameters, so there is nothing to explain. According to the rubric, a 0-parameter tool gets a baseline of 4, and the description adds no parameter-specific information because none is needed.

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 in the first sentence that this tool checks whether the MyT corporate session is alive by making a request ('Жива ли корпоративная сессия MyT — проверяет ЗАПРОСОМ, а не арифметикой'). It also distinguishes itself from the sibling tool myt_refresh_session by referring to it for forced refresh.

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

Usage Guidelines5/5

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

The description gives explicit guidance: use this tool to check session status, use myt_refresh_session for forced refresh ('Обновить сессию принудительно — myt_refresh_session()'), and never offer password re-login ('предлагать пользователю передать пароль не надо'). It also clarifies that the banking MCP's refresh_session is unrelated.

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/icyberdeveloper/tbank-myt'

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