Skip to main content
Glama
grandMA2 MCP
by drohi-r

call_plugin_tool

Execute a Lua plugin on the grandMA2 console by ID or name to run stored automation scripts. Requires destructive-action confirmation before sending the Plugin command.

Instructions

Execute a plugin on the grandMA2 console by ID or name.

Plugins are Lua scripts stored in the Plugin pool. This tool
invokes them using the Plugin keyword.

Args:
    plugin_id: Plugin number (int) or name (str).
    confirm_destructive: Must be True to proceed. Defaults to False (blocked).

Returns:
    str: JSON with command_sent and raw_response.

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": {
      "plugin_id": "<plugin_id>"
    },
    "name": "call_plugin_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
plugin_idYes
confirm_destructiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/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 it does reasonably well: it discloses that execution is gated by confirm_destructive (default False means blocked), that plugins are Lua scripts from the Plugin pool, and that invocation goes through the Plugin keyword. It still omits what 'destructive' means in practice, what happens on a blocked call (error vs. silent no-op), and any permission requirements.

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 purpose sentence followed by a short mechanism note and an Args/Returns block — easy to scan and free of padding. The Returns line is somewhat redundant given the output schema exists, but it is a single line and not harmful.

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 two-parameter execution tool with no annotations, the definition covers purpose, both parameters, the safety gate, and return shape. The remaining gaps (permission prerequisites, blocked-call failure mode, plugin name resolution rules) are moderate rather than critical, especially since an output schema exists.

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?

Schema description coverage is 0%, so the description must compensate, and it documents both parameters: plugin_id accepts either an integer number or a string name (matching the anyOf), and confirm_destructive must be True to proceed with a False default that blocks execution. It adds real meaning beyond the bare schema, though it doesn't clarify name-matching behavior (exact vs. partial) or what happens with an ambiguous name.

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 ('Execute a plugin on the grandMA2 console by ID or name') and identifies the underlying mechanism (the Plugin keyword, Lua scripts in the Plugin pool). It does not explicitly distinguish itself from siblings such as browse_plugin_library, check_plugin_available, or run_preset_plugin, so it falls short of a 5.

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?

Implied usage is clear from the domain (invoke an already-known plugin), but the description never says when to use this versus browsing or checking availability first, nor when a preset plugin tool would be more appropriate. The confirm_destructive caveat is a gating condition, not alternative-selection guidance.

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