Skip to main content
Glama
grandMA2 MCP
by drohi-r

get_showfile_info

Retrieve cached grandMA2 show identity and host details—showfile, version, host status, active user, and hostname—without telnet cost; use variable lookup for live DATE/TIME values.

Instructions

    Return show identity and host info from the cached ConsoleStateSnapshot.

    Zero telnet cost — reads fields hydrated during hydrate_console_state.
    For live $DATE/$TIME values, use get_variable with var_name=DATE or TIME.

    Returns:
        str: JSON with showfile, version, host_status, active_user, hostname.
    

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_showfile_info"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it does disclose the key trait: zero telnet cost because it reads a cached snapshot, which implies staleness and motivates the get_variable redirect for live values. What it omits is failure behavior when the cache is empty or not hydrated — an agent cannot tell whether it gets an error, nulls, or stale defaults.

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 cost profile, then the alternative, then return fields — good ordering with no filler sentences. The Returns block is largely redundant since an output schema exists, but it is short enough that the mild duplication costs little.

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?

For a zero-parameter cached-read tool with an output schema, this covers what, cost, prerequisite hydration, and the sibling alternative. The remaining gap is edge-case behavior (unhydrated cache, staleness guarantees), which matters given the description emphasizes caching.

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 takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. The description correctly does not invent any inputs.

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: return show identity and host info (showfile, version, host_status, active_user, hostname) from the cached ConsoleStateSnapshot. It explicitly distinguishes itself from get_variable for live $DATE/$TIME values, so an agent can route between the two 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 Guidelines4/5

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

Gives clear usage context: this is the zero-telnet-cost cached read, and live time values should go to get_variable with var_name=DATE or TIME. It also implies the hydrate_console_state prerequisite by saying the fields are 'hydrated during hydrate_console_state', but it never states what to do if that hydration hasn't happened, nor how it compares to the other console-state siblings.

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