Skip to main content
Glama
nstok-id

NSTOK AI Software Factory MCP Server

Official
by nstok-id

read_file

Read a file inside an NSTOK repository with sandbox isolation and audit logging, using a repository name and relative path.

Instructions

Safely read a file inside an NSTOK repository with audit logging and sandbox isolation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesRelative path to file within the repository
repositoryYesRepository name (e.g. "Nstok-app-w", "Nstok-ui")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does add genuine context: audit logging and sandbox isolation tell the agent reads are logged and isolated. However, it omits error behavior, size/binary file handling, and permission requirements, leaving meaningful gaps for a file-access tool.

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 front-loaded sentence with no filler or redundancy. It is efficient, though 'Safely' is a slightly vague qualifier that could have been spent on more concrete detail.

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 two-parameter read tool with fully documented parameters and no output schema, the description covers the essentials and adds sandbox/audit context. It is close to complete, missing only edge-case behavior such as missing files or unreadable paths.

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 description coverage is 100%, with both 'path' and 'repository' documented in the schema itself, so the baseline is 3. The description adds no format, example, or constraint detail beyond what the schema already provides.

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 file inside an NSTOK repository'), which is unambiguous. It does not name or distinguish itself from the obvious sibling write_file, but the verb-resource pairing is clear enough to identify the operation.

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?

The description gives no guidance on when to use this versus alternatives such as search_repo_code or write_file, nor any prerequisites beyond the implicit need for a repository and path. Usage is only implied by the tool name.

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