Skip to main content
Glama
SuxyEE

bt-panel-mcp-server

by SuxyEE

read_file

Reads content of any server file with optional last N lines for large files. Inspect configs, logs, and other text files.

Instructions

读取服务器上任意文件内容(只读)。适合查看 Nginx 配置文件、PHP 配置、应用配置文件、自定义日志路径等。建议配合 last_lines 参数避免读取超大文件。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes服务器上文件的绝对路径,如 /etc/nginx/nginx.conf
last_linesNo只读取最后 N 行。不填则返回全部内容(注意大文件请务必填此参数)
Behavior3/5

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

With no annotations, the description discloses it is read-only and warns about large files, but does not cover other behavioral aspects like permissions, error handling, or file size limits.

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 extremely concise with two sentences that front-load the purpose, examples, and a key recommendation—no wasted words.

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?

The description is fairly complete given the simple tool: it covers purpose, usage examples, and a warning. However, it lacks details about error handling or return format, and could better address sibling tool differentiation.

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% with descriptions for both parameters; the tool description adds a recommendation to use last_lines, but the schema already fully explains parameter meanings, so minimal added value.

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 it reads any file content (read-only) and provides specific use cases like config files and log paths, distinguishing from sibling tools that focus on specific logs or listings.

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 gives clear context for when to use (viewing config files, custom logs) and recommends using the last_lines parameter for large files, but does not explicitly state when not to use or mention alternatives among siblings.

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/SuxyEE/bt-panel-mcp-server'

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