Skip to main content
Glama
Kynlos
by Kynlos

ftp_tree

Map a remote directory structure recursively to visualize project layout, with configurable depth to manage payload size.

Instructions

Generate a complete recursive directory map. Use this to visualize project structure, but be cautious with 'maxDepth' in very large remote repositories to avoid excessive network payload.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoRemote directory path to start mapping from (defaults to root)..
maxDepthNoMaximum recursion depth to prevent infinite loops or huge payloads.
Behavior3/5

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

No annotations exist, so description carries full burden. It warns about excessive payload with maxDepth, but does not disclose error handling (e.g., nonexistent path), permissions, or network behavior. Partially transparent.

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 efficient sentences, front-loaded with action. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and low complexity, description covers purpose and a key risk. Missing error handling details but sufficient for basic usage. Sibling tools exist for deeper analysis, so this is adequate.

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%, so baseline 3. The description restates parameter defaults and purpose without adding new meaning. No additional syntax, constraints, or examples beyond schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it generates a recursive directory map, which is distinct from siblings like ftp_list (flat listing) and ftp_stat (file details). The verb 'generate' and resource 'directory map' are specific.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context: use for visualization of project structure, and a caution about maxDepth in large repos. However, it does not explicitly compare to alternatives (e.g., use ftp_list for flat listing) or say when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Kynlos/ftp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server