Skip to main content
Glama
grandMA2 MCP
by drohi-r

disconnect_console

Closes Telnet sessions to the console to free it for another client or stop an idle connection; the next call reconnects automatically without changing console state.

Instructions

Close this server's Telnet session(s) to the console.

Use it to free the console for another Telnet client or to stop an idle
session; the next tool call reconnects automatically with the current
settings. Does not change any console state.

Returns:
    str: JSON with sessions_closed.

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": "disconnect_console"
  }
}

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.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden and mostly meets it: it discloses that no console state is modified, that reconnection is automatic on the next call, and what the response contains. It omits edge behavior such as what happens when no session is open (error vs. zero count) or whether multiple sessions are all closed.

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 action, then usage rationale, then a behavioral caveat — no filler sentences. The trailing 'Returns: str: JSON with sessions_closed' block is mildly redundant given an output schema exists.

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, non-destructive session tool with an output schema, the description covers purpose, trigger conditions, side-effect profile, and post-call behavior. Only session-count edge cases and overlapping-session handling are left unstated.

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 nothing for the description to disambiguate; baseline is 4. The description correctly implies no input is needed.

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?

States a specific verb and resource: 'Close this server's Telnet session(s) to the console.' The scoping to 'this server' and the Telnet-session framing make the operation identifiable. It does not explicitly contrast with console_login/console_logout, so sibling differentiation relies on the reader's inference.

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 two concrete use cases ('free the console for another Telnet client', 'stop an idle session') and reassures that 'the next tool call reconnects automatically', which is the key decision factor. It lacks an explicit when-not clause, though 'Does not change any console state' implicitly steers state-changing intents elsewhere.

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