Skip to main content
Glama

sftp_mkdir

Create a directory on a remote server over SFTP to organize files or prepare paths for uploads. Specify the remote path and optional timeout for the operation.

Instructions

Create a directory on the remote 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": {
      "path": "<path>"
    },
    "name": "sftp_mkdir"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesRemote directory path to create
timeoutNoAbort this SFTP operation if it makes no progress for this many milliseconds
session_idNoSession ID (optional if using pre-configured server)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it says nothing about error behavior when the path already exists, whether intermediate directories are created, permissions on the new directory, or whether the operation is idempotent. These are exactly the traits an agent needs before invoking a mutation.

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

Conciseness4/5

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

A single tight sentence with the action front-loaded and zero waste. It is concise but borders on under-specified rather than trim.

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 three-parameter mutating filesystem tool with no annotations and no output schema, the definition omits session requirements, failure modes for existing paths, and recursive-creation behavior. The schema covers parameter meaning, but the behavioral picture remains incomplete.

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, timeout, and session_id are each documented in the schema, including the optional-session fallback. The description adds no meaning beyond that, so the 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?

"Create a directory on the remote server" states a specific verb (create) and resource (directory) with the remote scope made explicit. It is immediately distinguishable from siblings like sftp_delete or sftp_list, though the description does not explicitly name them.

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 guidance on when to use this versus alternatives, no mention that an active SSH/SFTP session is a prerequisite, and no stated exclusions. The single sentence leaves the agent to infer context entirely.

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