Skip to main content
Glama

Run / switch / delete a script

myio_script
Destructive

Control myIO script slots: reload recompiled programs, run scripts on demand, enable or disable slots, and delete files when write access allows.

Instructions

Script slot actions: reload (recompile prog/N.txt; id 0 = all), run (run once now, even if disabled), enable / disable (RAM only until reload/restart; persist=true also rewrites #enabled in the file), delete (removes prog/N.txt, needs MYIO_WRITE=config). Editor/admin level.

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>",
      "id": "<id>"
    },
    "name": "myio_script"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
actionYes
serverNocontroller name (default Ground floor)
persistNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description adds material context beyond them: enable/disable are volatile until reload/restart, persist=true rewrites the #enabled line in the file, delete requires MYIO_WRITE=config, and access is editor/admin level. The only gap is that it doesn't say what enable/disable do when persist is omitted given a restart, or what a delete returns.

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?

One compact sentence that front-loads the action taxonomy and attaches each qualifier directly to its action via parentheses. Dense but no sentence is wasted; it stops just short of being cryptic for a first-time reader.

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 4-parameter destructive tool with no output schema and only 25% schema coverage, the description supplies the missing semantics, persistence model, permission gate, and access level. Remaining gaps are minor: response shape and the effect of the server parameter on which controller's slots are touched.

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?

With schema coverage at 25%, the description carries most of the parameter burden and does so well: id=0 means all for reload, the id maps to prog/N.txt, persist controls both RAM-only vs file rewrite. Only the 'server' controller parameter is left to the schema, which does document it, so the combined coverage is strong.

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 names a specific resource (script slots) and enumerates every action verb the tool supports: reload, run, enable, disable, delete, each with a short gloss. An agent can tell this is the mutating lifecycle tool rather than the read/save siblings (myio_script_get, myio_script_save), though no sibling is named explicitly.

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?

Each action carries its own when-to-use context: reload recompiles, run executes once even if disabled, enable/disable are RAM-only unless persist=true, delete removes the file. It does not explicitly route the agent away from alternatives like myio_script_save for editing script content, so the boundary with siblings is implied rather than stated.

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