Skip to main content
Glama
MCP File Operations Server

MCP File Operations Server

by itcom

app_list_files

Lists files in the app directory, with optional recursive search, hidden-file inclusion, and directory exclusions to inspect project structure.

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_list_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
directoryNo.
recursiveNo
exclude_dirsNo
include_hiddenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv13.0.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and largely fails it. It omits the meaningful default behavior encoded in the schema — non-recursive traversal, hidden files excluded, and implicit exclusion of vendor/node_modules/storage/.git — which materially changes what the caller receives. It also says nothing about output shape (flat paths? names only?) or any size/pagination limits.

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?

A single front-loaded sentence with no filler, which is structurally fine. The problem is under-specification rather than verbosity, so the efficient form does not earn a high score.

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

Completeness2/5

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

For a four-parameter tool with no annotations, no parameter descriptions, and no output schema, one bare sentence is inadequate. An agent knows roughly what it does but not how the defaults shape the result or what the return value looks like.

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

Parameters2/5

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

Schema description coverage is 0% across four parameters, so the description must compensate and does not. It only vaguely implies the 'directory' parameter (ディレクトリ内) while saying nothing about recursive, exclude_dirs, or include_hidden — the last two having defaults that silently alter results.

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 names a clear verb (取得します / retrieve) and resource (ファイル一覧 / file list) scoped to a directory, so the basic purpose is legible. However, the '【app】' qualifier is unexplained and the definition does nothing to separate it from sibling app_search_files, which sounds like it also returns files. An agent cannot confidently pick this over the search sibling from the text alone.

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 at all: nothing says whether this is for browsing a known directory versus finding files by pattern (app_search_files), or when to prefer app_read_file. Usage must be inferred entirely from the name and the phrase 一覧 (listing).

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