Skip to main content
Glama
leemwood

filemanager-mcp-server

by leemwood

read_file_advanced

Read files with control over encoding, byte offset, length, or line range for targeted data extraction.

Instructions

高级文件读取功能(支持多编码、部分读取等)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes文件路径
encodingNo文件编码utf8
startNo开始位置(字节)
lengthNo读取长度(字节)
linesNo按行读取范围
Behavior3/5

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

The description adds value by mentioning multi-encoding and partial reading support beyond the schema, but it does not disclose error behavior, permissions needed, or potential side effects. With no annotations, the burden on description is higher, yet it remains minimal.

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 a single, short sentence that conveys the core purpose and key differentiators. No unnecessary words; every part earns its place.

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?

Given 5 parameters and no output schema or annotations, the description is somewhat lacking. It does not explain return format, error cases, or constraints on parameter combinations. It captures the essence but is not fully complete.

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%, so the description does not need to add much. It summarizes parameters (multiple encodings, partial reading) but adds no further semantic meaning beyond what the schema provides.

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 tool is an advanced file reading function supporting multiple encodings and partial reading. It uses a specific verb and resource, and effectively distinguishes itself from the simpler sibling 'read_file'.

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 context of sibling tools implies this is for advanced scenarios, but no explicit when-to-use or when-not-to-use guidance is provided. It is clear but lacks exclusions or alternatives direct comparison.

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/leemwood/filemanager-mcp-server'

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