Skip to main content
Glama
grandMA2 MCP
by drohi-r

console_login

Authenticate to a grandMA2 console with a username and password, sending a Login command over the active Telnet session to switch the session to that user account and rights level.

Instructions

Authenticate to the grandMA2 console as a specific user.

Sends a Login command over the active Telnet session, switching
the session to the specified user account and rights level.

Args:
    username: Console username (e.g. "operator", "administrator")
    password: Console password

Returns:
    str: JSON with command_sent and raw_response.

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

Input Schema

NameRequiredDescriptionDefault
passwordYes
usernameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose real behavior beyond a bare verb: the command is sent over Telnet, the session switches accounts, and the rights level changes. However, it says nothing about failure modes (bad credentials, no active session) or whether a prior login is replaced, which matters for an auth-mutating tool.

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?

Front-loaded with the purpose in the first line, followed by mechanism and a conventional Args/Returns block. Slightly redundant in restating authentication as 'Sends a Login command', but 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 the Returns block is a bonus rather than a requirement. For a two-parameter authentication tool with no annotations, the definition is missing prerequisite and error behavior, which is the main completeness 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 0%, so the description must compensate. It lists both parameters, and the username example ('operator', 'administrator') adds genuine meaning about valid account names, but 'password: Console password' is tautological and gives no guidance on handling or transport.

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?

States a specific verb and resource: 'Authenticate to the grandMA2 console as a specific user', then adds the mechanism ('Sends a Login command over the active Telnet session'). This is clearly distinct from console_logout or create_console_user without needing to name them.

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 implied rather than stated: the phrase 'over the active Telnet session' hints that a session must already exist, but there is no explicit when-to-use, when-not-to-use, or alternative (e.g., console_logout for the inverse, create_console_user for provisioning accounts).

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

Deploy Server

Other Tools