Skip to main content
Glama
kostikpenzin

mcp-iva-mcu

by kostikpenzin

iva_user_session

Manage IVA user sessions by logging out, retrieving session info, logging in as a guest, setting session state, and obtaining login URLs.

Instructions

IVA user session management: logout, session info, guest login, session state, login URL. Clients API v2.28.12. Note: login and 2FA actions are excluded for security — authentication is handled automatically via IVA_LOGIN/IVA_PASSWORD environment variables.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesOperation to perform: - "login_as_guest": Log in as a guest (no credentials, anonymous access). Войти как гость. - "logout": Log out of IVA and end the current session. Выйти из системы. Завершить сессию. - "get_session_info": Get information about the current user session (profile, state, capabilities). Получить информацию о сессии. - "set_session_state": Set/update the session state (e.g. online/away/do-not-disturb). Установить состояние сессии. - "get_login_url": Get a login URL for a specified login type (e.g. SSO, OAuth redirect). Получить URL для входа.
confirmNoSet to true to confirm destructive actions (delete, remove, stop, etc.) when IVA_CONFIRM_DESTRUCTIVE is enabled.
providerIdNoLogin provider ID
sessionStateNoSession state to set

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.8

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the disclosure burden; it adds a useful security note that login and 2FA actions are excluded and authentication is automatic. It does not disclose side effects such as logout ending the session or set_session_state mutating presence, although those details appear in the schema's action enum.

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?

The description is short and front-loaded with the key operation list. The security note is relevant and concise, and there is little wasted text apart from the minor 'Clients API v2.28.12' fragment.

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

Completeness4/5

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

The schema's action enum provides detailed descriptions of each operation, including effects and examples, and all four parameters are documented. Description plus schema together give an agent enough context to invoke the tool correctly, though there is no output schema or return-format note for session info.

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%, so the baseline is 3. The tool description does not add parameter-level detail beyond naming operation areas; the schema already documents action, confirm, providerId, and sessionState.

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 opens with 'IVA user session management' and lists the concrete operation areas: logout, session info, guest login, session state, and login URL. This makes the tool's scope clear, though it lacks a single imperative verb and does not explicitly contrast with sibling tools.

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 description implies this tool is for session-related actions and explicitly excludes login/2FA, explaining that authentication is handled automatically via IVA_LOGIN/IVA_PASSWORD environment variables. However, it does not state when to prefer this tool over sibling tools or provide condition-based usage guidance beyond the authentication exclusion.

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