Skip to main content
Glama
MCP File Operations Server

MCP File Operations Server

by itcom

app_search_files

Search files by name pattern or content within a directory, with optional extension filters and excluded folders to locate project files quickly.

Instructions

【app】ファイル検索を行います

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "app_search_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
patternNo
directoryNo.
exclude_dirsNo
content_searchNo
file_extensionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv13.0.0

TDQS

C2.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it says nothing about read-only nature, whether it searches file contents or only names, recursion behavior, result limits, or performance cost. 'Search' weakly implies a non-destructive read, but that is inference rather than disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with no waste, but its brevity reflects under-specification rather than disciplined editing. Nothing is front-loaded beyond a generic label.

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

Completeness1/5

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

For a five-parameter search tool with no annotations and no output schema, the description is far too thin. It does not explain what is returned (paths, matches with line numbers), how content_search affects results, or how pattern and file_extension combine.

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

Parameters1/5

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

Schema description coverage is 0% across five parameters (pattern, directory, exclude_dirs, content_search, file_extension), and the description adds no meaning for any of them. The agent gets no indication of pattern syntax (glob vs regex), how content_search interacts with pattern, or what the default exclusions imply.

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

Purpose3/5

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

The description states a verb and resource ('ファイル検索を行います' – perform a file search), so the basic purpose is identifiable. However, it gives no scope or distinguishing detail versus siblings such as app_list_files or app_read_file, leaving the agent to guess how this differs from merely listing files.

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 when-to-use guidance, no mention of alternatives, and no prerequisites. The agent cannot tell from the text when file search is preferable to app_list_files or app_read_file; only the tool name hints at it.

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