Skip to main content
Glama

ssh_find_files

Search for files on a remote server using filename glob patterns. Filter by type (files or directories), limit results, and specify search depth.

Instructions

Find files by name pattern on the remote server.

Args: path: Directory to search in. pattern: Filename glob pattern (e.g., ".py", "test_"). file_type: Type filter: "f" for files, "d" for directories, "" for both. max_results: Maximum entries to return. max_depth: Maximum directory depth to search. host: SSH host alias from config. Uses default if omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo.
patternNo*
file_typeNof
max_resultsNo
max_depthNo
hostNo
Behavior3/5

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

No annotations are provided, so the description carries full burden. It explains the purpose and parameters but does not disclose behavioral traits such as read-only nature, permission requirements, connection prerequisites, or error handling. The tool is implied to be safe, but not explicitly stated.

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?

The description is concise, using a clear docstring format with bullet-pointed Args section. Each parameter gets a line, and the overall length is appropriate. Could be slightly more terse, but structure is effective.

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?

Given 6 parameters, 0% schema coverage, and no output schema, the description adequately covers parameter semantics but lacks details on return format, error handling, and prerequisites like SSH connection setup. It is minimally complete for an agent to use, but gaps remain.

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

Parameters4/5

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

Schema description coverage is 0%, so the description compensates well by explaining each parameter with examples (e.g., pattern: '*.py'), accepted values (file_type: 'f', 'd', ''), and defaults. It adds meaning beyond the schema's titles and types.

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 'Find files by name pattern on the remote server,' providing a specific verb ('Find'), resource ('files'), and scope ('by name pattern'). This distinguishes it from sibling tools like ssh_list_dir (lists directory without pattern) and ssh_grep (searches file contents).

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?

The description lists parameters and their defaults, which implicitly guides usage, but it does not explicitly state when to use this tool over alternatives like ssh_list_dir or ssh_grep. No when-not-to-use or exclusion criteria are provided.

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/mkavinkumar1/ssh-mcp'

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