Skip to main content
Glama
MCP Server for FTP Access

MCP Server for FTP Access

Create Directory

create-directory
Idempotent

Create a new directory on an FTP server using the required remote path to organize files and prepare upload destinations.

Instructions

Create a new directory on the FTP server

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "remotePath": "<remotePath>"
    },
    "name": "create-directory"
  }
}

Input Schema

NameRequiredDescriptionDefault
remotePathYesPath of the directory to create

Output Schema

NameRequiredDescriptionDefault
createdYes
remotePathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.4.1
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed3 schema fields changedv1.2.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / additionalProperties
      Removed value: -false
  3. Changed1 schema field changedv1.2.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "created": {
      +      "type": "boolean"
      +    },
      +    "remotePath": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "remotePath",
      +    "created"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false. The description adds nothing beyond a restatement of the operation: it does not say what happens when the directory already exists (given idempotentHint=true, does it error or no-op?), whether parent directories are created, or what authentication is required on the FTP server.

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 zero filler; nothing redundant or buried. Its brevity is the right structure for a one-parameter tool, even though the content itself is thin.

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?

An output schema exists, so return values need not be explained, and the lone parameter is fully covered by the schema. However, for a mutation against a remote server the description omits the failure semantics (existing directory, missing parent, permissions) that an agent would need to invoke it confidently.

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 the single remotePath parameter is fully documented in the schema, which sets the baseline at 3. The description adds no format, absolute-vs-relative, or path-separator detail beyond what the schema provides.

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 pairs the specific verb "Create" with the resource "directory" and its target ("FTP server"), so an agent immediately knows what the tool does. It does not name or contrast any sibling, but the create/delete/list distinction is self-evident from the verb.

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 when-to-use guidance, no exclusions, and no mention of alternatives such as upload-file or rename-file for directories that already exist. The agent must infer all usage conditions from the tool name alone.

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