Skip to main content
Glama
alebgl77

ftp-deploy-mcp

by alebgl77

Rename or move a remote entry

ftp_rename
Destructive

Rename or move a remote file or directory on a configured FTP, FTPS, or SFTP server using paths relative to the server root.

Instructions

Rename or move a remote file or directory (both paths relative to the server root).

Input Schema

NameRequiredDescriptionDefault
serverNoName of the configured server. Defaults to the configured default, or the sole server.
to_pathYesNew remote path, relative to the server root.
from_pathYesExisting remote path, relative to the server root.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.2
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "from_path": {
      -        "type": "string"
      -      },
      -      "moved": {
      -        "type": "boolean"
      -      },
      -      "security_warning": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "server": {
      -        "type": "string"
      -      },
      -      "to_path": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "server",
      -      "from_path",
      -      "to_path",
      -      "moved",
      -      "security_warning"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "enum": [
      -              "CONFIG_REQUIRED",
      -              "CONFIG_INVALID",
      -              "SERVER_REQUIRED",
      -              "SERVER_UNKNOWN",
      -              "INVALID_ARGUMENT",
      -              "READ_ONLY",
      -              "TRANSPORT_POLICY",
      -              "HOST_KEY_REJECTED",
      -              "REMOTE_ROOT_REJECTED",
      -              "PATH_REJECTED",
      -              "NOT_FOUND",
      -              "ALREADY_EXISTS",
      -              "TRANSFER_LIMIT",
      -              "TRANSFER_VERIFY",
      -              "TARGET_CHANGED",
      -              "CANCELLED",
      -              "TIMEOUT",
      -              "DEPLOY_PARTIAL",
      -              "TRANSPORT_ERROR",
      -              "OUTPUT_LIMIT",
      -              "INTERNAL_ERROR",
      -              "SCAN_LIMIT",
      -              "CAPACITY_LIMIT"
      -            ],
      -            "type": "string"
      -          },
      -          "effects": {
      -            "enum": [
      -              "none",
      -              "possible",
      -              "confirmed"
      -            ],
      -            "type": "string"
      -          },
      -          "message": {
      -            "type": "string"
      -          },
      -          "next_action": {
      -            "enum": [
      -              "fix_input",
      -              "fix_config",
      -              "select_server",
      -              "inspect_target",
      -              "retry",
      -              "contact_operator",
      -              "none"
      -            ],
      -            "type": "string"
      -          },
      -          "partial": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "completed_bytes": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "completed_files": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "failed_files": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "final": {
      -                "type": "boolean"
      -              },
      -              "total_files": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "completed_files",
      -              "completed_bytes",
      -              "failed_files",
      -              "final"
      -            ],
      -            "type": "object"
      -          },
      -          "request_id": {
      -            "format": "uuid",
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          },
      -          "schema_version": {
      -            "const": 1,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "schema_version",
      -          "code",
      -          "message",
      -          "retryable",
      -          "request_id",
      -          "next_action",
      -          "effects"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "from_path": {
      +        "type": "string"
      +      },
      +      "moved": {
      +        "type": "boolean"
      +      },
      +      "security_warning": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "server": {
      +        "type": "string"
      +      },
      +      "to_path": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "server",
      +      "from_path",
      +      "to_path",
      +      "moved",
      +      "security_warning"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "enum": [
      +              "CONFIG_REQUIRED",
      +              "CONFIG_INVALID",
      +              "SERVER_REQUIRED",
      +              "SERVER_UNKNOWN",
      +              "INVALID_ARGUMENT",
      +              "READ_ONLY",
      +              "TRANSPORT_POLICY",
      +              "HOST_KEY_REJECTED",
      +              "REMOTE_ROOT_REJECTED",
      +              "PATH_REJECTED",
      +              "NOT_FOUND",
      +              "ALREADY_EXISTS",
      +              "TRANSFER_LIMIT",
      +              "TRANSFER_VERIFY",
      +              "TARGET_CHANGED",
      +              "CANCELLED",
      +              "TIMEOUT",
      +              "DEPLOY_PARTIAL",
      +              "TRANSPORT_ERROR",
      +              "OUTPUT_LIMIT",
      +              "INTERNAL_ERROR",
      +              "SCAN_LIMIT",
      +              "CAPACITY_LIMIT"
      +            ],
      +            "type": "string"
      +          },
      +          "effects": {
      +            "enum": [
      +              "none",
      +              "possible",
      +              "confirmed"
      +            ],
      +            "type": "string"
      +          },
      +          "message": {
      +            "type": "string"
      +          },
      +          "next_action": {
      +            "enum": [
      +              "fix_input",
      +              "fix_config",
      +              "select_server",
      +              "inspect_target",
      +              "retry",
      +              "contact_operator",
      +              "none"
      +            ],
      +            "type": "string"
      +          },
      +          "partial": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "completed_bytes": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "completed_files": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "failed_files": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "final": {
      +                "type": "boolean"
      +              },
      +              "total_files": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "completed_files",
      +              "completed_bytes",
      +              "failed_files",
      +              "final"
      +            ],
      +            "type": "object"
      +          },
      +          "request_id": {
      +            "format": "uuid",
      +            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          },
      +          "schema_version": {
      +            "const": 1,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "schema_version",
      +          "code",
      +          "message",
      +          "retryable",
      +          "request_id",
      +          "next_action",
      +          "effects"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Addedv0.2.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is covered. The description adds only the note that paths are relative to the server root, which is already carried by the schema, and says nothing about destination-overwrite behavior, whether intermediate directories are created, or cross-directory move semantics.

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 front-loaded sentence with no filler. The operation and its scoping constraint appear immediately.

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 profile; parameters are fully documented in the schema. What is missing is any behavioral edge-case detail (overwrite, directory creation) for a destructive move operation, but the core is 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 description coverage is 100%, so from_path, to_path, and server are all documented in the schema; baseline 3 applies. The description's parenthetical about server-root-relative paths duplicates the schema rather than extending it.

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?

The description names a specific verb pair (rename/move) and the resource (remote file or directory), which is unambiguous. It does not explicitly contrast with siblings, though the tool is clearly unique among ftp_list/read/upload/download/mkdir/delete, so no confusion is likely.

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?

There is no statement of when to use this tool versus alternatives, no prerequisites, and no exclusions. The only routing signal is implicit in the verb itself, which is the same level of guidance as a description with none.

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