Skip to main content
Glama
grandMA2 MCP
by drohi-r

system_admin

Manage grandMA2 console system tasks—log in/out, lock/unlock, send Lua/chat, and reboot/restart/shutdown with confirmation for destructive actions.

Instructions

System administration — login, logout, lock, unlock, lua, chat,
reboot, restart, shutdown.

Args:
    action: One of:
        SAFE_READ: "logout"
        SAFE_WRITE: "login", "lock", "unlock", "chat"
        DESTRUCTIVE: "lua", "reboot", "restart", "shutdown"
    user: Username (required for login)
    password: Password (required for login; optional for lock/unlock)
    script: Lua script string (required for lua)
    message: Chat message text (required for chat)
    confirm_destructive: Must be True for lua/reboot/restart/shutdown

Returns:
    str: JSON with command_sent, raw_response, risk_tier

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": {
      "action": "<action>"
    },
    "name": "system_admin"
  }
}

Input Schema

NameRequiredDescriptionDefault
userNo
actionYes
scriptNo
messageNo
passwordNo
confirm_destructiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/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 and does disclose meaningful behavior: actions are grouped by risk tier, destructive ones gate on confirm_destructive, and the response includes risk_tier. What is missing is consequence detail — it never says that reboot/restart/shutdown are irreversible or what lua actually executes and with what privileges.

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 operation list, then a clean Args/Returns block with each parameter on its own line. The action names are duplicated between the opening sentence and the Args block, which is mild redundancy, but the risk-tier grouping in Args earns its space.

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 six-parameter, no-annotation mutation multiplexer this is close to complete: every parameter's per-action requirement is stated and destructive gating is explicit, and the output schema covers return values (the Returns block restates it harmlessly). The remaining gap is consequence and privilege information for the destructive actions.

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 coverage is 0% and the schema's action field has no enum, so the description is the only source of parameter meaning. It supplies the complete action vocabulary, per-action requiredness (user/password for login, script for lua, message for chat, password optional for lock/unlock), and the confirm_destructive gating rule — fully compensating for the coverage gap.

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?

The description opens with a specific resource (system administration) and enumerates the exact operations it multiplexes: login, logout, lock, unlock, lua, chat, reboot, restart, shutdown. An agent can tell immediately what domain this covers, though nothing distinguishes it from the large sibling set (e.g. blackout_toggle, abort_task) that also touch system state.

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 through a risk taxonomy (SAFE_READ / SAFE_WRITE / DESTRUCTIVE) and the rule that confirm_destructive must be True for lua/reboot/restart/shutdown, which is genuine guidance about how to call it. However, there is no statement of when to prefer this tool over a sibling, nor any exclusion or prerequisite (e.g. auth or session state) before use.

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