Skip to main content
Glama
ftrans-cn

ft-ftp-mcp-stdio

by ftrans-cn

删除对象

delete
Destructive

Remove a single file or empty directory on FTP/SFTP at a virtual absolute path; confirmation must be true at runtime.

Instructions

删除单个文件或空目录;confirm 必须在运行时明确为 true。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes服务器虚拟绝对路径,以 / 开头;/ 表示配置的服务器 root。
serverNo可选服务器别名;省略时使用默认服务器。
confirmYes用户确认标记;运行时必须为 true。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, idempotentHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavior: the confirm flag must be explicitly true at runtime, and deletion is limited to files and empty directories. It stops short of describing failure behavior or irreversibility.

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?

A single compact sentence with a semicolon clause; the destructive scope is front-loaded and the confirm gate follows. 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?

An output schema exists, so return values need not be explained, and annotations carry the safety hints. The description plus schema covers path, server, and the confirm gate adequately; only failure/error behavior and permission expectations are left unstated.

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% — path, server, and confirm are all documented, including confirm's runtime requirement. The description restates the confirm constraint rather than adding new semantics, so the schema does the heavy lifting and baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb+resource (delete a single file or empty directory) and adds a scope restriction that matters — non-empty directories are out of scope. It does not, however, distinguish itself from siblings such as move or rename, so an agent must infer the boundary from the operation name alone.

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?

Usage is implied by the scope clause (single file or empty dir), which is useful guidance, but there is no explicit when-to-use/when-not statement and no named alternative for removing non-empty trees or relocating content. Adequate but leaves routing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.