Skip to main content
Glama
portparcel-mcp

portparcel-mcp

Official
by x3n-network

mkdir

Destructive

Creates a single remote directory over FTP, FTPS, or SFTP using a named connection, without creating parent directories. Use it to prepare a target folder before uploading files.

Instructions

Create one remote directory. Does not recursively create parents.

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": {
      "connection": "<connection>",
      "remote_path": "<remote_path>"
    },
    "name": "mkdir"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
connectionYes
remote_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare openWorldHint, non-idempotency, and destructiveHint, so the safety profile is partly covered; the description adds the useful behavior that parents are not created. It does not disclose what happens on an existing path, whether failure or no-op, nor anything about the dry_run flag or permission requirements. No contradiction with annotations, though destructiveHint=true is a strong claim for a creation operation that the description does not clarify.

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?

Two short sentences, front-loaded with the action and immediately followed by the key constraint. Nothing is wasted and nothing is buried.

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?

With no output schema, zero schema description coverage, a dry_run parameter, and a remote filesystem mutation, the description is too thin: existence behavior, path resolution against the connection, and error semantics are all missing. The annotation-supplied destructive flag is also left unexplained for a create operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters, so the description must carry parameter meaning and it does not: remote_path format (absolute vs relative to connection root) is unstated, connection identity is unstated, and dry_run is never mentioned. Only the path-shape constraint (no parent creation) is inferable.

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 one remote directory" states a specific verb and resource, and "Does not recursively create parents" bounds the operation so an agent knows it is not a recursive mkdir. The remaining siblings (delete, rename, list_directory, stat, upload) are distinct operations, so no explicit negative routing is needed, though none is given.

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 only implied: an agent can infer this is the pre-step before upload or rename, and the parent-non-recursion note warns of a failure mode. There is no explicit when-to-use, no advice to call list_directory/stat first to check existence, and no statement about what happens if the directory already exists.

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