Skip to main content
Glama
portparcel-mcp

portparcel-mcp

Official
by x3n-network

stat

Read-onlyIdempotent

Inspect a remote path’s type and byte size over FTP, FTPS, or SFTP using a named connection profile to verify files before transfer.

Instructions

Inspect a remote path's type and byte size.

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": "stat"
  }
}

Input Schema

NameRequiredDescriptionDefault
connectionYes
remote_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered without the description. The description adds nothing beyond that: it does not say what happens for a nonexistent path, how symlinks or directories are treated, or whether the connection must already be configured.

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 front-loaded sentence with no filler; the return information is stated immediately. It is efficient, though its brevity is part of why other dimensions are 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?

For a simple two-parameter read-only tool with strong annotations, the description covers the core purpose and the return values (type and size), which is a reasonable minimum. The undefined "connection" parameter and the absence of any error/edge-case behavior leave meaningful gaps.

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% for both required parameters. The description echoes "remote path" but never explains whether the path is absolute or relative to a home/root directory, nor what the "connection" parameter refers to (a named saved connection, host string, etc.). With two undocumented parameters, the description fails to compensate.

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?

States a specific verb ("Inspect") and resource ("a remote path") plus exactly what is returned (type and byte size), which is enough to distinguish it from siblings like list_directory or download. It stops short of naming an alternative, so it lands at 4 rather than 5.

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 explicit when-to-use or when-not-to-use guidance, and no mention of alternatives such as list_directory for enumerating entries or download for retrieving content. Usage is only weakly inferable from the fact that it reports metadata for a single path.

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