Skip to main content
Glama
portparcel-mcp

portparcel-mcp

Official
by x3n-network

rename

Destructive

Change the name of a single regular remote file within an allowed root via a named connection profile. Supports dry-run and overwrite; excludes directories and recursion.

Instructions

Rename one regular remote file inside the allowed root. Not recursive.

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>",
      "destination": "<destination>"
    },
    "name": "rename"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
overwriteNo
connectionYes
destinationYes
remote_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/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 risk profile is carried by structured data. The description adds real value with the sandbox constraint ("inside the allowed root") and the non-recursive guarantee, but says nothing about what happens when the destination already exists, how the overwrite flag changes the outcome, or what dry_run previews.

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?

Two short sentences, front-loaded with the operation and immediately followed by the scoping caveat; nothing is redundant. The brevity is efficient rather than padded, though it borders on under-specified for a destructive mutation.

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 destructive, non-idempotent write operation with five parameters at 0% schema coverage and no output schema, the definition is too thin. An agent cannot tell how to handle an existing destination file, what dry_run returns, or what connection identifies, all of which are needed to call this safely.

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 5 parameters, so the description carries the full burden and does not meet it. connection, remote_path, destination, overwrite, and dry_run are never mentioned; only the phrase "inside the allowed root" indirectly hints at the path constraint, leaving the two safety-relevant flags entirely unexplained.

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?

"Rename one regular remote file inside the allowed root" gives a specific verb (rename) and a narrowed resource (a single regular file, not a directory or tree). The scope qualifiers distinguish it from a bulk/recursive move, though it never names a sibling tool as the alternative path.

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?

"Not recursive" plus "one regular remote file" implies the boundary condition: this is for single-file renames, and directory renames or recursive moves are out of scope. It stops short of explicit when-to-use/when-not-to-use guidance or any prerequisite about the file needing to exist.

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