Skip to main content
Glama
@serversareup/mcp-server

@serversareup/mcp-server

read_instance_file

Read-only

Read a UTF-8 file from a guest instance by specifying its instance ID and file path.

Instructions

Read a UTF-8 guest file; requires instances:files:read.

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>",
      "path": "<path>"
    },
    "name": "read_instance_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries the rest and does add value: it discloses the encoding contract (UTF-8 only, implying binary or non-UTF-8 files are out of scope) and the exact permission scope required. It stops short of describing behavior on missing files, size limits, or how contents are returned.

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?

A single compact clause with the verb and the key constraint front-loaded and no filler. It is terse to the point of under-specifying, but nothing in it is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-required-parameter read tool with no output schema and zero schema descriptions, the definition covers the operation, encoding, and auth but omits parameter meaning and any hint of what is returned. Adequate to start a call, not adequate to call it confidently the first time.

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

Parameters2/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 explain both parameters and does not. It never clarifies whether 'id' is an instance identifier or what form 'path' takes (absolute vs relative to a root), leaving the agent to guess at call semantics.

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 (read a guest file) plus a concrete constraint (UTF-8) and the required permission scope, which lets an agent separate it from write_instance_file. It does not explicitly name its counterpart, so sibling differentiation is implied rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no mention of alternatives such as a write counterpart or an exec-based read. The only usage signal is the permission prerequisite 'requires instances:files:read', which tells the agent about auth, not about tool selection.

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