Skip to main content
Glama

Read a script

myio_script_get
Read-onlyIdempotent

Retrieve the source code and current state of a specified myIO script slot to inspect or edit automation logic.

Instructions

The source code of script slot N (prog/N.txt) and its state. Language reference: myio_reference topic=script. 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": {
      "id": "<id>"
    },
    "name": "myio_script_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
serverNocontroller name (default Ground floor)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real context beyond that: the response includes both source and runtime state, and the call requires editor/admin privileges — a genuine authorization caveat an agent needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three compact sentences, front-loaded with what is returned, then the reference pointer, then the permission note. No filler or redundant restatement of the name.

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 simple read-only tool with no output schema, the description adequately covers what is returned and the access prerequisite. It leaves the failure behavior for an invalid slot unstated, but nothing essential to invoking it correctly is missing.

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 coverage is 50%, with 'server' documented in the schema but 'id' bare. The description compensates by explaining that id is a slot number mapped to prog/N.txt, which is the key semantic an agent needs; only the 1–16 bound is left to the schema.

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 resource ('source code of script slot N') and adds the concrete file mapping (prog/N.txt) plus that state is returned, so the agent knows exactly what comes back. It is clearly a read, distinct from the write-side siblings such as myio_script_save, though it does not name any sibling explicitly.

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?

Routes the agent to myio_reference topic=script for language documentation and flags the access level ('Editor/admin level'), which implies a prerequisite. It stops short of saying when to prefer this over myio_script or myio_file_read, so usage is implied rather than spelled out.

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