Skip to main content
Glama
Mr365truck

lms-ssh-client-mcp

by Mr365truck

ssh_sftp_rmdir

Remove an empty directory on a remote server via SFTP. Provide the connection session ID and the remote path to delete.

Instructions

Remove an empty directory on the remote server using SFTP.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connectionIdYesThe session ID returned by ssh_connect
pathYesRemote directory path to remove
Behavior2/5

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

No annotations are provided, so the description carries full burden. It fails to disclose behavior for non-empty directories, required permissions, or error scenarios. Only states 'empty directory' without elaboration.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Very concise (8 words), but too brief; lacks important details such as the implication of 'empty' and connection prerequisite. Could expand without losing conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple tool with 2 required params and no output schema, the description should cover prerequisites (active connection), constraints (directory must exist and be empty), and failure behavior. It covers only the basic action.

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 description adds minimal extra meaning, only the 'empty directory' constraint which is behavioral rather than parameter-specific.

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 ('Remove'), the target ('empty directory'), and the method ('using SFTP'). It distinguishes from sibling tools like ssh_sftp_mkdir 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 guidance on when to use this tool versus alternatives (e.g., for non-empty directories). No mention of prerequisites like an active connection from ssh_connect.

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