Skip to main content
Glama
Claude File Manager MCP

Claude File Manager MCP

by wafuv

Find files by name

find_files

Finds files by glob (*.js, src/**/*.ts, config*) or a substring in the name. Service folders (node_modules, .git, .mcp) are skipped.

Instructions

Finds files by glob (*.js, src/**/*.ts, config*) or a substring in the name. Service folders (node_modules, .git, .mcp) are skipped.

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": {
      "pattern": "<pattern>"
    },
    "name": "find_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoWhere to search (defaults to root).
sortNoNewest files first (mtime) or alphabetical (path)mtime
ignoreNoAdditional names/globs to skip
patternYesGlob (`*.md`, `**/*.js`) or part of the name
max_depthNoMaximum depth
max_resultsNoMaximum number of results
include_dirsNoInclude folders in the results

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.5.1
    • addedInput schema / properties / sort
      Added value: +{
      +  "default": "mtime",
      +  "description": "Newest files first (mtime) or alphabetical (path)",
      +  "enum": [
      +    "mtime",
      +    "path"
      +  ],
      +  "type": "string"
      +}
  2. First observedv1.3.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuine behavioral trait: service folders (node_modules, .git, .mcp) are silently skipped, which materially affects results. It omits other consequential behavior — that results are silently capped (default max_results=300 of a 5000 maximum), that the search recurses to max_depth, and how results are ordered or formatted. These gaps matter for a tool an agent will rely on to know whether it saw everything.

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 sentences, front-loaded with the matching mechanism and followed by the exclusion caveat. Every clause earns its place; there is no filler or restatement of the title.

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 7-parameter, recursive filesystem query with no annotations and no output schema, the description covers matching and folder exclusions but leaves out result truncation, default depth, and return shape (relative vs absolute paths, whether directories appear). It is adequate to invoke the tool, but not complete enough for an agent to interpret or trust the results fully.

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 description coverage is 100%, so every parameter including path, sort, ignore, max_depth, and max_results is already documented in structured form, setting the baseline at 3. The description's glob examples largely duplicate the pattern parameter's own description and add no meaning for ignore, sorting, or truncation behavior.

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 and resource ('Finds files') and sharpens it with concrete glob and substring examples ('*.js', 'src/**/*.ts', 'config*'), so the matching semantics are unambiguous. It does not differentiate itself from siblings such as list_directory, list_tree, or search_content, leaving the agent to infer that this tool matches on name rather than content.

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?

Usage is only implied: the examples make clear this is a name-pattern search, which implicitly contrasts with content search, but the description never says when to prefer this over search_content or list_tree, nor does it state preconditions. An agent can guess correctly, but nothing is spelled out.

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