Skip to main content
Glama
grandMA2 MCP
by drohi-r

navigate_console

Navigate the grandMA2 console object tree using cd commands to reach root, parent levels, indexes, or named objects, and parse the prompt to confirm the current location.

Instructions

Navigate the grandMA2 console's object tree using ChangeDest (cd).

Sends a cd command and captures the raw telnet response, attempting
to parse the resulting console prompt to determine the current
location in the object tree.

EXPLORATORY: The exact MA2 telnet prompt format is being validated.
The raw_response field always contains the unmodified telnet output
for manual inspection, regardless of whether parsing succeeded.

Args:
    destination: Navigation target. Supported formats:
        - "/" to go to root
        - ".." to go up one level
        - A number (e.g., "5") to navigate by index
        - An object type (e.g., "Group") when object_id is provided
          (uses dot notation: cd Group.1)
        - A quoted name (e.g., '"MySequence"') to navigate by name
    object_id: Object ID, produces dot notation cd [type].[id]
        (e.g., destination="Group", object_id=1 → cd Group.1)

Returns:
    str: JSON with command_sent, raw_response, parsed prompt details,
         and success indicator.

Examples:
    - Navigate to root: destination="/"
    - Go up one level: destination=".."
    - Navigate to Group 1: destination="Group", object_id=1 → cd Group.1
    - Navigate by index: destination="5"
    - After navigating, use list_console_destination to enumerate objects

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": {
      "destination": "<destination>"
    },
    "name": "navigate_console"
  }
}

Input Schema

NameRequiredDescriptionDefault
object_idNo
destinationYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses that a telnet command is sent, a raw response is captured, prompt parsing is unvalidated ('EXPLORATORY'), and raw_response is always unmodified regardless of parse success. It does not state that navigating changes console location state or that an authenticated session is required, which keeps it below a 5.

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 purpose and the exploratory caveat, then structured Args/Returns/Examples. Slightly verbose: the object_id dot-notation rule appears in both the Args section and the Examples, and the Returns section restates what the output schema already declares.

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?

Given an output schema exists, explaining return fields is optional but harmless, and the description covers the non-obvious parts—prompt parsing uncertainty and fallback raw output—that an agent needs. Missing only the statefulness/authentication context for a command that changes the console's current location.

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

Parameters5/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 entirely, and it does: it enumerates every supported destination format ('/', '..', bare index, type name, quoted name) with concrete examples, and defines object_id's role in producing dot notation cd [type].[id].

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: 'Navigate the grandMA2 console's object tree using ChangeDest (cd).' It also distinguishes itself from the sibling list_console_destination, which is named as the enumeration follow-up, so an agent can tell the two apart without opening either schema.

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 description explains navigation mechanics and points to list_console_destination after navigating, but gives no explicit when-to-use or when-not criteria versus alternatives such as get_console_location. The exploratory framing hints at trial usage but no selection rule is spelled out.

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