Skip to main content
Glama
ftrans-cn

ft-ftp-mcp-stdio

by ftrans-cn

搜索文件

search_files
Idempotent

Recursively search remote FTP/SFTP directories for files matching a filename wildcard pattern, without following symbolic links. Ideal for locating files within a controlled server root.

Instructions

在虚拟远程目录下按文件名通配符递归搜索,不进入或返回符号链接。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes服务器虚拟绝对路径,以 / 开头;/ 表示配置的服务器 root。
serverNo可选服务器别名;省略时使用默认服务器。
patternYes文件名通配符;非空且不能包含路径分隔符。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false, openWorldHint=true, so the safety profile is largely covered; the description usefully adds that traversal is recursive and that symlinks are neither entered nor returned, a real behavioral constraint not in the annotations. However, it does not address the notable readOnlyHint=false for what reads as a pure query, nor limits, ordering, or permission requirements on large trees.

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 zero filler; the recursive-scope constraint comes before the symlink caveat. It is efficient, though arguably too terse for a three-parameter search tool, which is why it falls short of a 5.

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-value explanation is unnecessary, and all three parameters are documented. Still missing is what an agent needs for correct invocation on large trees: result limits, ordering, whether path may point at a file, and how the symlink exclusion interacts with matching within a symlinked directory.

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 coverage is 100% (path, server, pattern all documented, including that pattern is non-empty and cannot contain path separators). The description's mention of 'filename wildcard' merely restates the pattern parameter and adds no syntax examples, glob dialect, or recursion-depth semantics beyond the schema.

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 gives a specific verb (递归搜索, recursively search), resource (文件, files under a virtual remote directory), and matching rule (按文件名通配符, by filename wildcard). It clearly separates itself from a plain listing, but it never names siblings such as list_dir or get_file_info, so an agent must infer the boundary.

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?

It states the matching mechanism and a symlink exclusion, but gives no guidance on when to prefer this over list_dir, get_file_info, or read_text_preview, and no prerequisites or exclusion conditions. The agent is left to infer usage entirely.

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