Skip to main content
Glama

kos_program_read_file

Retrieve the contents of a kerboscript file from the archive volume directly or from a local kOS disk via telnet.

Instructions

Read a kerboscript file. For paths on the archive volume we read directly from disk; for local kOS disks we route through telnet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesSource path, e.g. `0:/launch.ks` or `1:/boot/recorder.ks`.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses that behavior differs by path (archive vs. local disk), but lacks details on error handling, permissions, or return value behavior.

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?

The description is two sentences, tightly written with no unnecessary words, and front-loaded with the primary action.

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 operation with one parameter and no output schema, the description is fairly complete. It could mention the return format, but the behavioral context about disk routing is sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the description does not add meaning beyond the schema's path description. Baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('read') and the resource ('kerboscript file'), and distinguishes between archive and local disk handling, setting it apart from sibling tools like kos_program_write_file.

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?

The description implies usage for reading script files and mentions different handling for archive vs local disks, but does not explicitly state when to use this tool over alternatives like kos_kb_read or kos_program_compile, nor does it provide exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lietblue/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server