Skip to main content
Glama
grandMA2 MCP
by drohi-r

get_console_state

Returns the cached console state snapshot without telnet calls. Provides staleness flag, age, and summary; call hydrate first if missing or stale.

Instructions

    Return the cached ConsoleStateSnapshot without re-hydrating.

    Zero telnet cost. Includes staleness flag and full summary.
    Call hydrate_console_state first if the snapshot is missing or stale.

    Returns:
        str: JSON with hydrated, staleness_warning, age_seconds, partial, summary.
    

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_console_state"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the load and does disclose the key behavioral traits: the result is cached, there is zero telnet cost, and staleness is surfaced rather than hidden. It stops short of stating read-only/no-side-effect behavior or what happens on a hard failure, 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 the core action and cost, then the fallback instruction, with no filler sentences. The trailing "Returns:" block partly restates fields that an output schema already exposes, which is the only wasted text.

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?

A parameterless, low-complexity read whose result shape is covered by the output schema, so the description needs only cost and staleness context — which it provides. It would be fully complete if it said what an agent should do with the partial flag or on error.

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 the baseline is 4; there is no parameter meaning for the description to add or omit. Nothing here misleads about arguments.

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?

"Return the cached ConsoleStateSnapshot without re-hydrating" names a specific verb (return) and a specific resource (the cached snapshot), and the qualifier "without re-hydrating" immediately separates it from hydrate_console_state. 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 Guidelines5/5

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

It gives an explicit decision rule: use this for a zero-telnet-cost read, and call hydrate_console_state first if the snapshot is missing or stale. Both the alternative tool and the condition selecting it are stated, so no inference is required.

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