Skip to main content
Glama
vino3dx
by vino3dx

read_text_file

Read-only

Read a local text file to inspect scripts, configuration, or logs, such as exported .ini files or MAXScript snippets, directly within the 3ds Max environment.

Instructions

读取一个文本文件(脚本、配置、日志)。用于检查导出的 .ini 或 MAXScript 片段。 [English] Read a text file (script, config, log). Handy for inspecting exported .ini files or MAXScript snippets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes文件绝对路径。 | Absolute file path.
maxCharsNo最多读取的字符数,默认 200000。 | Maximum characters to read, default 200000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds file category context but does not disclose return format, encoding, or error behavior; with the read-only annotation carrying the safety burden, this is adequate but not rich.

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?

The description is compact, with the core action front-loaded and useful examples included. The bilingual repetition is slightly redundant, but each segment earns its place by serving different-language agents.

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 tool, the combination of schema (path and maxChars), annotations (readOnly/destructive), and description (file types and scenarios) is nearly complete. No output schema exists, but 'read a text file' implies content return, and missing encoding/error details are minor for this use case.

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 path and maxChars both described in the schema including the default value. The tool description adds no parameter-level meaning beyond that, so baseline 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 states a specific verb and resource: 'Read a text file (script, config, log).' It further narrows scope with concrete use cases ('exported .ini files or MAXScript snippets') and is naturally distinguished from the sibling write_text_file by the explicit 'read' action.

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?

The description provides clear context for when to use the tool: 'Handy for inspecting exported .ini files or MAXScript snippets.' It does not explicitly name alternatives or say when not to use it, but the intended scenarios are concrete enough for an agent to route appropriately.

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