Skip to main content
Glama
Mr365truck

lms-ssh-client-mcp

by Mr365truck

ssh_sftp_delete_file

Delete a file on a remote server via SFTP. Provide the session ID and remote file path to remove the file.

Instructions

Delete a file on the remote server using SFTP.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connectionIdYesThe session ID returned by ssh_connect
pathYesRemote file path to delete
Behavior2/5

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

No annotations are provided, so the description must carry the full burden of behavioral disclosure. It only says 'delete a file' but does not mention whether the operation is permanent, what happens if the file doesn't exist, or required permissions. The destructive nature is inferred but not detailed.

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, complete sentence with no unnecessary words. Every part is relevant and 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?

For a simple delete tool with no output schema and two well-documented parameters, the description is largely adequate. However, it fails to mention that a valid connection from ssh_connect is required, and it does not describe success/failure behavior or error cases. With siblings present, a small improvement would be beneficial.

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% (both connectionId and path have descriptions). The tool description adds no additional meaning beyond what the schema already provides. Baseline of 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 clearly states the action (delete), the resource (file), and the method (SFTP). It is a specific verb+resource combination that distinguishes it from siblings like ssh_sftp_rmdir (for directories) or ssh_sftp_read_file (for reading).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the tool is for deleting files via SFTP but does not explicitly state when to use it versus alternatives (e.g., rmdir for directories) or prerequisites (e.g., must have an active connection from ssh_connect). No exclusions or context provided.

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