Skip to main content
Glama
Mr365truck

lms-ssh-client-mcp

by Mr365truck

ssh_sftp_read_file

Retrieve file contents from a remote server via SFTP. Specify the connection, path, and optional encoding.

Instructions

Read the contents of a file on the remote server using SFTP.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connectionIdYesThe session ID returned by ssh_connect
pathYesRemote path of the file to read
encodingNoEncoding to use (e.g. 'utf8', 'base64' for binary files). Default is 'utf8'.
Behavior3/5

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

With no annotations, the description should disclose behavioral traits. It implies a read operation, but doesn't explicitly state it's non-destructive or safe, nor address potential size limits or error handling.

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?

Single sentence is concise and front-loaded with the core action and context (remote server, SFTP). No redundant words.

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 the lack of output schema and annotations, the description doesn't mention return type (string with encoding) or how to handle binary files. The schema hints at encoding, but description could be more 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 covers all parameters (connectionId, path, encoding) with descriptions. The tool description adds no additional semantic detail beyond the schema.

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 reads a file via SFTP, with a specific verb ('Read') and resource ('file on remote server'). It distinguishes well from sibling tools like ssh_sftp_write_file and ssh_sftp_delete_file.

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?

No explicit guidance on when to use this tool versus alternatives (e.g., ssh_execute_command for reading with cat). It doesn't mention prerequisites like an active session.

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/Mr365truck/LMS-SSH-Client-MCP'

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