Skip to main content
Glama
Superandyfre

disk-clean-mcp

by Superandyfre

Disk Clean MCP

mcp-name: io.github.superandyfre/disk-clean-mcp

npm version build license node

Available Languages: English | Fran?ais | 简体中文 | 繁體中文 | ??? | 日本語


English

A Model Context Protocol (MCP) server that analyzes local disk usage in read-only mode and suggests cleanup targets by size, type, recency, and duplicates.

Features

  • Directory Scanning: Scan directories to summarize total size, file count, and directory count with configurable depth limits and glob patterns.

  • Extension Analysis: Breakdown disk usage by file extension to identify the largest file types.

  • Directory Ranking: List the heaviest subdirectories by aggregate file size.

  • Large File Detection: Find the largest files with optional filters for size, age, and glob patterns.

  • Stale File Suggestions: Identify large and old files that may be candidates for cleanup.

  • Duplicate Detection: Find groups of files with identical sizes and content hashes (read-only).

  • Configurable Limits: Use ignoreGlobs, includeGlobs, maxFiles, and maxDepth to refine scope and control workload.

Requirements

  • Node.js >= 18

  • Read-only operation (no delete/move functions)

  • Common folders ignored by default: node_modules, .git, dist, build, .cache

Installation & Usage

npm install -g disk-clean-mcp
# or use directly without installation
npx disk-clean-mcp

Configuration for Claude Desktop

{
  "mcpServers": {
    "disk-clean": {
      "command": "disk-clean-mcp",
      "args": [],
      "cwd": "/path/to/workdir"
    }
  }
}

Local Development

git clone https://github.com/Superandyfre/disk-clean-mcp.git
cd disk-clean-mcp
npm install
npm run build
npm start
# or dev mode with auto-compilation
npm run dev

Tools

  • scan_summary – Get total size, file count, directory count with optional depth and ignore globs

  • by_type – Top file extensions ranked by total size

  • top_dirs – Heaviest subdirectories by aggregate size

  • top_files – Largest files with filters (min size, age, glob include/exclude)

  • stale_candidates – Large and old files (cleanup suggestions)

  • duplicate_candidates – Groups of files with identical size and content hash (read-only)

MCP Hub / Claude Submission (EN/中文)

  • Status: pending listing; add MCP Hub link after approval.

  • Provide when submitting: repo URL, npm install command (npm install -g disk-clean-mcp / npx disk-clean-mcp), command name (disk-clean-mcp), Node >= 18, MIT license, and the tool list above.

  • Config snippet (Claude Desktop): see “Configuration for Claude Desktop” JSON above.

  • 中文要点:提交时准备仓库链接、npm 安装指令、命令名、Node 版本要求、MIT 许可、工具清单、Claude 配置示例。

Release Checklist

  • Run npm run build to verify compilation

  • Confirm Node.js >= 18

  • Update version: npm version patch|minor|major

  • Publish to npm: npm publish (requires npm login)

  • Update README and CHANGELOG if applicable

  • Update repository URLs in package.json if needed

License

MIT – Copyright (c) 2026 Superandyfre


Related MCP server: re-binary-diff

Fran?ais

Un serveur Model Context Protocol (MCP) qui analyse l'utilisation du disque local en mode lecture seule et suggère des cibles de nettoyage par taille, type, récence et doublons.

Fonctionnalités

  • Analyse de répertoires: Scannez les répertoires pour résumer la taille totale, le nombre de fichiers et répertoires avec limites de profondeur configurables et motifs glob.

  • Analyse par extension: Décomposez l'utilisation du disque par extension de fichier pour identifier les types de fichiers les plus volumineux.

  • Classement des répertoires: Listez les sous-répertoires les plus volumineux par taille de fichier agrégée.

  • Détection de fichiers volumineux: Trouvez les fichiers les plus volumineux avec filtres optionnels par taille, ?ge et motifs glob.

  • Suggestions de fichiers obsolètes: Identifiez les fichiers volumineux et anciens pour nettoyage potentiel.

  • Détection des doublons: Trouvez les groupes de fichiers avec tailles et hachages de contenu identiques (lecture seule).

  • Limites configurables: Utilisez ignoreGlobs, includeGlobs, maxFiles et maxDepth pour affiner la portée.

Configuration requise

  • Node.js >= 18

  • Opération en lecture seule (pas de fonctions de suppression/déplacement)

  • Dossiers ignorés par défaut: node_modules, .git, dist, build, .cache

Installation et utilisation

Paquet publié (recommandé)

npm install -g disk-clean-mcp
# ou utiliser directement
npx disk-clean-mcp

Configuration pour Claude Desktop

{
  "mcpServers": {
    "disk-clean": {
      "command": "disk-clean-mcp",
      "args": [],
      "cwd": "/path/to/workdir"
    }
  }
}

Développement local

git clone https://github.com/Superandyfre/disk-clean-mcp.git
cd disk-clean-mcp
npm install
npm run build
npm start
npm run dev  # mode dev avec recompilation automatique

Outils disponibles

  • scan_summary – Obtenez la taille totale, le nombre de fichiers et répertoires

  • by_type – Extensions de fichier classées par taille totale

  • top_dirs – Sous-répertoires les plus volumineux

  • top_files – Fichiers les plus volumineux avec filtres

  • stale_candidates – Fichiers volumineux et anciens

  • duplicate_candidates – Groupes de fichiers doublons

Licence

MIT – Copyright (c) 2026 Superandyfre


简体中文

一个 Model Context Protocol (MCP) 服务器,用于分析本地磁盘使用情况(只读模式),并按大小、类型、新旧程度和重复项建议清理目标。

功能特性

  • 目录扫描: 扫描目录以汇总总大小、文件数和目录数,支持可配置的深度限制和全局匹配模式。

  • 扩展名分析: 按文件扩展名分解磁盘使用情况,识别最大的文件类型。

  • 目录排名: 按聚合文件大小列出最大的子目录。

  • 大文件检测: 查找最大的文件,支持按大小、年龄和全局模式过滤。

  • 陈旧文件建议: 识别可能需要清理的大型且老旧的文件。

  • 重复项检测: 查找具有相同大小和内容哈希的文件组(只读)。

  • 可配置限制: 使用 ignoreGlobsincludeGlobsmaxFilesmaxDepth 来调整范围和控制工作负载。

系统要求

  • Node.js >= 18

  • 只读操作(无删除/移动功能)

  • 默认忽略的文件夹:node_modules.gitdistbuild.cache

安装与使用

已发布的包(推荐)

npm install -g disk-clean-mcp
# 或直接使用
npx disk-clean-mcp

Claude Desktop 配置示例

{
  "mcpServers": {
    "disk-clean": {
      "command": "disk-clean-mcp",
      "args": [],
      "cwd": "/path/to/workdir"
    }
  }
}

本地开发

git clone https://github.com/Superandyfre/disk-clean-mcp.git
cd disk-clean-mcp
npm install
npm run build
npm start
npm run dev  # 开发模式,自动编译

工具列表

  • scan_summary – 获取总大小、文件数、目录数,支持深度和忽略模式

  • by_type – 按总大小排列的文件扩展名

  • top_dirs – 最大的子目录(按聚合大小)

  • top_files – 最大的文件,支持过滤(大小、年龄、模式)

  • stale_candidates – 大型且老旧的文件(清理建议)

  • duplicate_candidates – 重复文件组(相同大小和哈希)

发布检查清单

  • 运行 npm run build 验证编译

  • 确认 Node.js >= 18

  • 更新版本:npm version patch|minor|major

  • 发布到 npm:npm publish(需要 npm 登录)

  • 更新 README 和 CHANGELOG(如适用)

许可证

MIT – Copyright (c) 2026 Superandyfre


繁體中文

一個 Model Context Protocol (MCP) 伺服器,用於分析本機磁碟使用情況(唯讀模式),並按大小、類型、新舊程度和重複項建議清理目標。

功能特性

  • 目錄掃描: 掃描目錄以彙總總大小、檔案數和目錄數,支援可設定的深度限制和通用配對模式。

  • 副檔名分析: 按檔案副檔名分解磁碟使用情況,識別最大的檔案類型。

  • 目錄排名: 按聚合檔案大小列出最大的子目錄。

  • 大檔案偵測: 查找最大的檔案,支援按大小、年齡和通用模式篩選。

  • 陳舊檔案建議: 識別可能需要清理的大型且老舊的檔案。

  • 重複項偵測: 查找具有相同大小和內容雜湊的檔案組(唯讀)。

  • 可設定限制: 使用 ignoreGlobsincludeGlobsmaxFilesmaxDepth 來調整範圍和控制工作負載。

系統需求

  • Node.js >= 18

  • 唯讀作業(無刪除/移動功能)

  • 預設忽略的資料夾:node_modules.gitdistbuild.cache

安裝與使用

已發佈的套件(推薦)

npm install -g disk-clean-mcp
# 或直接使用
npx disk-clean-mcp

Claude Desktop 設定範例

{
  "mcpServers": {
    "disk-clean": {
      "command": "disk-clean-mcp",
      "args": [],
      "cwd": "/path/to/workdir"
    }
  }
}

本機開發

git clone https://github.com/Superandyfre/disk-clean-mcp.git
cd disk-clean-mcp
npm install
npm run build
npm start
npm run dev  # 開發模式,自動編譯

工具清單

  • scan_summary – 取得總大小、檔案數、目錄數,支援深度和忽略模式

  • by_type – 按總大小排列的檔案副檔名

  • top_dirs – 最大的子目錄(按聚合大小)

  • top_files – 最大的檔案,支援篩選(大小、年齡、模式)

  • stale_candidates – 大型且老舊的檔案(清理建議)

  • duplicate_candidates – 重複檔案組(相同大小和雜湊)

授權

MIT – Copyright (c) 2026 Superandyfre


???

?? ??? ???? ?? ?? ??? ???? ??, ??, ??? ? ?? ???? ?? ??? ???? Model Context Protocol (MCP) ?????.

??

  • ???? ??: ????? ???? ? ??, ?? ? ? ???? ?? ????, ?? ??? ?? ?? ? ??? ??? ?????.

  • ??? ??: ?? ????? ??? ???? ???? ?? ? ?? ??? ?????.

  • ???? ??: ?? ?? ???? ?? ? ?? ????? ?????.

  • ? ?? ??: ??, ?? ? ??? ???? ??? ??? ???? ?? ? ??? ????.

  • ??? ?? ??: ?? ??? ? ? ?? ?? ??? ??? ?????.

  • ?? ??: ??? ?? ? ??? ??? ?? ?? ??? ????(?? ??).

  • ?? ??? ??: ignoreGlobs, includeGlobs, maxFiles ? maxDepth? ???? ??? ?????.

?? ??

  • Node.js >= 18

  • ?? ?? ??(??/?? ?? ??)

  • ????? ???? ??: node_modules, .git, dist, build, .cache

?? ? ??

??? ???(??)

npm install -g disk-clean-mcp
# ?? ?? ??
npx disk-clean-mcp

Claude Desktop ?? ?

{
  "mcpServers": {
    "disk-clean": {
      "command": "disk-clean-mcp",
      "args": [],
      "cwd": "/path/to/workdir"
    }
  }
}

?? ??

git clone https://github.com/Superandyfre/disk-clean-mcp.git
cd disk-clean-mcp
npm install
npm run build
npm start
npm run dev  # ?? ???? ?? ?? ??

??

  • scan_summary – ? ??, ?? ?, ???? ? ??

  • by_type – ? ???? ??? ?? ???

  • top_dirs – ?? ???? ?? ? ?? ????

  • top_files – ??? ?? ?? ? ??(??, ??, ??)

  • stale_candidates – ?? ??? ??(?? ??)

  • duplicate_candidates – ?? ?? ??(??? ?? ? ??)

????

MIT – Copyright (c) 2026 Superandyfre


日本語

ローカルディスクの使用状況を読み取り専用モードで分析し、サイズ、タイプ、最新性、および重複によってクリーンアップ対象を提案するModel Context Protocol(MCP)サーバーです。

機能

  • ディレクトリスキャン: ディレクトリをスキャンして、合計サイズ、ファイル数、ディレクトリ数を要約します。構成可能な深度制限とグロブパターンをサポートします。

  • 拡張分析: ファイル拡張子別にディスク使用量を分解し、最大のファイルタイプを識別します。

  • ディレクトリランキング: 集計ファイルサイズ別に最大のサブディレクトリを一覧表示します。

  • 大きなファイル検出: サイズ、年齢、グロブパターンでフィルタリング可能な最大のファイルを検索します。

  • 古いファイルの提案: クリーンアップの対象となる可能性がある大きくて古いファイルを識別します。

  • 重複検出: 同じサイズとコンテンツハッシュを持つファイルグループを検索します(読み取り専用)。

  • 構成可能な制限: ignoreGlobsincludeGlobsmaxFilesmaxDepthを使用してスコープを調整します。

要件

  • Node.js >= 18

  • 読み取り専用操作(削除/移動機能なし)

  • デフォルトで無視されるフォルダ: node_modules.gitdistbuild.cache

インストールと使用

公開パッケージ(推奨)

npm install -g disk-clean-mcp
# または直接使用
npx disk-clean-mcp

Claude Desktop設定例

{
  "mcpServers": {
    "disk-clean": {
      "command": "disk-clean-mcp",
      "args": [],
      "cwd": "/path/to/workdir"
    }
  }
}

ローカル開発

git clone https://github.com/Superandyfre/disk-clean-mcp.git
cd disk-clean-mcp
npm install
npm run build
npm start
npm run dev  # 自動コンパイル付きの開発モード

ツール

  • scan_summary – 合計サイズ、ファイル数、ディレクトリ数を取得

  • by_type – 合計サイズ別にソートされたファイル拡張子

  • top_dirs – 集計サイズ別に最大のサブディレクトリ

  • top_files – フィルタ付きの最大ファイル(サイズ、年齢、パターン)

  • stale_candidates – 大きくて古いファイル(クリーンアップ提案)

  • duplicate_candidates – 重複ファイルグループ(同じサイズとハッシュ)

ライセンス

MIT – Copyright (c) 2026 Superandyfre

  • 更新 README/CHANGELOG 如有改动

  • 将 package.json 中的 repository / bugs / homepage 替换为实际仓库地址

Tools

  • scan_summary – total size/files/dirs, optional depth and ignore globs.

  • by_type – top extensions by total size.

  • top_dirs – heaviest subdirectories.

  • top_files – largest files with filters (min size, age, glob include/exclude).

  • stale_candidates – large and old files.

  • duplicate_candidates – groups of files with identical sizes and hashes (read-only).

Notes

  • Read-only: no delete/move operations.

  • Defaults skip common noisy folders: node_modules, .git, dist, build, .cache.

  • Use ignoreGlobs / includeGlobs to refine scope.

  • Use maxFiles/maxDepth to control workload.

  • License: MIT

Available Tools

6 tools
by_typeC

Top file extensions by total size.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
maxDepthNo
maxFilesNo
rootPathYes
ignoreGlobsNo
includeGlobsNo

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, but it only states the output. It does not mention sorting direction, recursion behavior, handling of hidden files, file size calculation details, or whether the operation is read-only. The phrase 'Top file extensions by total size' implies some aggregation behavior but provides no explicit behavioral context.

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 extremely concise and front-loaded, with no filler words or redundant content. However, it may be too sparse for a tool with six parameters and no annotations, so while it earns high marks for conciseness, it is not the ideal size for the tool's complexity.

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?

The description is severely incomplete for a tool with six parameters, no output schema, and no annotations. It gives no usage guidance, behavioral details, or parameter semantics, leaving the agent to guess how to invoke it correctly. This is a one-line description for a non-trivial tool.

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%, so the description must compensate for six undocumented parameters. It adds no direct explanation of rootPath, limit, maxDepth, maxFiles, ignoreGlobs, or includeGlobs. The word 'Top' loosely hints at the limit parameter, but this is not sufficient for the agent to determine how to set parameters correctly.

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 clearly identifies the resource (file extensions) and the metric (total size), and the word 'Top' implies a ranked result. It distinguishes from sibling tools like top_dirs and top_files by focusing on file extensions, but lacks an explicit verb such as 'List' or 'Compute'.

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?

The description provides no guidance on when to use this tool versus alternatives such as scan_summary, top_dirs, or top_files. It does not mention any use cases, prerequisites, or exclusions, so an agent has no context for selecting it.

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

duplicate_candidatesC

Groups of files with identical size and content hash (read-only).

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
maxDepthNo
maxFilesNo
rootPathYes
ignoreGlobsNo
includeGlobsNo

TDQS

C2.7/5.0
Behavior3/5

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

The '(read-only)' annotation in the text is a useful behavioral disclosure given no annotations are present. However, it does not mention recursion behavior, resource-intensive hashing, or any caveats about limits, leaving much of the behavior unspecified.

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 a single sentence with no redundant words, making it highly concise. However, it is so brief that it under-specifies, as conciseness should not come at the expense of necessary detail.

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 tool with six parameters and no output schema, the description is too sparse. It provides only a high-level definition and omits usage context, parameter semantics, and expected return behavior, making it incomplete for effective use.

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?

With 0% schema description coverage and no parameter explanations in the description, the meaning of all six parameters (rootPath, limit, maxDepth, etc.) is left entirely to the schema property names. The description does not compensate for the coverage gap.

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 clearly conveys that the tool identifies groups of files that share identical size and content hash, which distinguishes it from sibling tools like stale_candidates. However, it lacks an explicit verb (e.g., 'Finds' or 'Returns'), reducing specificity.

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?

No guidance is provided on when to use this tool versus alternatives. The description does not mention scenarios, prerequisites, or conditions that would favor duplicate_candidates over other sibling tools.

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

scan_summaryA

Scan a directory (read-only) to summarize total size, files, dirs. Supports ignore globs and depth limits.

ParametersJSON Schema
NameRequiredDescriptionDefault
maxDepthNoMaximum depth to descend (default 10)
maxFilesNoLimit files recorded for reports (default 50000)
rootPathYes
ignoreGlobsNoGlob patterns to ignore
includeGlobsNoGlob patterns to include; if set, only matches are scanned
followSymlinksNoWhether to follow symlinks (default false)

TDQS

A3.7/5.0
Behavior3/5

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

The description explicitly notes 'read-only', a key behavioral trait absent from annotations. However, it does not disclose other behaviors such as handling of symlinks, the maxFiles limit, or potential performance implications. With no annotations, the description carries the burden but only partially fulfills it.

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?

The description is a single, well-front-loaded sentence. It states the core purpose and two key features without redundancy. Every word contributes value.

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?

With 6 parameters and no output schema, the description covers the core behavior but omits important constraints like maxFiles limit, symlink handling, and the nature of the report. It does not explain how the summary is returned or any resource limitations, leaving the agent with partial contextual understanding.

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 83%, so the baseline is 3. The description mentions 'ignore globs and depth limits', aligning with ignoreGlobs and maxDepth, but adds nothing beyond the schema's existing parameter descriptions. The rootPath parameter lacks a schema description, but the description implies it via 'Scan a directory'.

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 the verb (scan), resource (directory), and outcome (summarize total size, files, dirs). It distinguishes this tool from siblings like top_dirs or top_files by emphasizing a general summary rather than specific rankings.

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 implies usage for obtaining directory statistics but does not explicitly state when to prefer this tool over alternatives or when not to use it. No exclusions or alternative tool references are provided, leaving the agent to infer context.

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

stale_candidatesC

Large and old files (read-only suggestions).

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
maxDepthNo
maxFilesNo
rootPathYes
minSizeMBNo
ignoreGlobsNo
includeGlobsNo
olderThanDaysNo

TDQS

C2/5.0
Behavior2/5

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

With no annotations present, the description carries the full burden of behavioral disclosure. It states 'read-only suggestions,' implying non-destructiveness, but does not explain selection criteria, output format, or any side effects. This is insufficient for a tool with no metadata to rely on.

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

Conciseness2/5

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

The description is extremely short, but this is under-specification rather than conciseness. The single phrase does not provide enough information to be actionable, so it does not earn its place in the tool definition.

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?

Given the tool's complexity (8 parameters, no output schema, no annotations), the description is expected to explain behavior and usage. It only offers a vague label, making it completely inadequate for an agent to select and invoke the tool correctly.

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?

The input schema contains 8 parameters with 0% coverage from the description. The description does not mention rootPath, limit, minSizeMB, or any other parameters, leaving the agent to guess their semantics. This is a complete failure to compensate for the schema's lack of descriptive text.

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 'Large and old files (read-only suggestions)' uses a noun phrase rather than an imperative verb, leaving ambiguity about whether this tool scans, lists, or reports. It hints at the tool's focus but does not clearly state the action, making it hard to distinguish from sibling tools like top_files or duplicate_candidates.

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?

No guidance is provided on when to use this tool versus alternatives like top_files or duplicate_candidates. The 'read-only' hint is the only context, but it does not direct the agent toward a specific use case or provide exclusions.

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

top_dirsC

Heaviest directories under root (by aggregate file size).

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
maxDepthNo
maxFilesNo
rootPathYes
ignoreGlobsNo
includeGlobsNo

TDQS

C2.3/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden. It does not disclose any behavioral traits beyond the basic purpose: no mention of recursion behavior, performance implications, sorting order, or how parameters like maxDepth or maxFiles affect results. This is a significant gap for a scanning tool.

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

Conciseness2/5

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

The description is extremely brief (one fragment), which is not conciseness but under-specification. While it is front-loaded, it omits critical information needed for correct use. Every sentence should earn its place, but here the single sentence is insufficient.

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?

Given the tool has 6 parameters, no annotations, and no output schema, the description is severely incomplete. It provides no context on return format, parameter effects, potential side effects, or when to use it. This is inadequate for a tool of this complexity.

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%, and the description does not explain any parameters. It only implicitly mentions rootPath via 'under root' and file size sorting, but limit, maxDepth, maxFiles, ignoreGlobs, and includeGlobs are entirely unexplained. The description fails to compensate for the lack of schema documentation.

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 clearly identifies the tool's purpose: finding heaviest directories by aggregate file size under a root. It distinguishes itself from sibling tool 'top_files' by focusing on directories rather than files. However, it lacks an explicit verb (e.g., 'list' or 'find'), so it is a noun phrase rather than a full sentence.

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?

No guidance is provided on when to use this tool versus alternatives like top_files or stale_candidates. The description only states what it does, not the context for choosing it. There are no exclusions or comparisons to sibling tools.

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

top_filesB

Largest files with optional filters (size, age, glob include/exclude).

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
maxDepthNo
maxFilesNo
rootPathYes
minSizeMBNo
ignoreGlobsNo
excludeGlobsNo
includeGlobsNo
olderThanDaysNo

TDQS

B3/5.0
Behavior3/5

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

The description discloses that optional filters exist for size, age, and glob patterns, which is a behavioral trait beyond the schema. However, it does not mention whether the operation is read-only, output format, sorting order, or potential performance impacts. With no annotations, more detail would be expected.

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?

The description is a single, front-loaded sentence with no extraneous words. It efficiently conveys the core purpose and key filter capabilities.

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?

Given the tool has 9 parameters, no output schema, and no annotations, this description is incomplete. It does not explain return values, sorting order, default behavior, or practical usage context, leaving the agent with many unresolved questions.

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?

With 0% schema description coverage, the description must compensate for parameter explanation. It references size, age, and glob include/exclude, which maps to several parameters, but completely omits limit, maxDepth, maxFiles, and rootPath. The high-level categories help but leave significant gaps.

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 clearly identifies the resource as files and the intent to show the largest ones, differentiating it from sibling tools like top_dirs by specifying files. However, it lacks an explicit verb such as 'list' or 'show', making the purpose slightly implicit.

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?

The description gives no guidance on when to use this tool versus alternatives like top_dirs or scan_summary. It only implies usage through its filter options, but does not state prerequisites, exclusions, or alternative recommendations.

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

TDQS

B3/5.0
Disambiguation5/5

Each tool addresses a distinct aspect of disk analysis: summary, file types, directories, largest files, stale files, and duplicates. There is no overlap in their purposes, making selection unambiguous.

Naming Consistency4/5

All names use snake_case and are descriptive, but the grammatical pattern varies: scan_summary is verb-noun, by_type is preposition-noun, and top_dirs/stale_candidates are noun phrases. Despite this, the style is predictable and easy to navigate.

Tool Count5/5

With six tools, the set is well-scoped for a disk analysis server. Each tool covers a specific common need without excess overlap or bloat.

Completeness4/5

The tools cover the primary read-only analysis workflows: overall summary, type breakdown, directory hotspots, largest files, stale candidates, and duplicates. However, the server name suggests cleaning, yet no deletion or move actions are provided, leaving a minor gap for actual cleanup.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    B
    maintenance
    Read-only MCP server that wraps WizTree's CSV export and adds disk-usage analysis tools, enabling file system scanning and analysis via natural language.
    6
    3
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables read-only binary diff and fingerprinting of files without writing to disk, providing structured diffs and per-section SHA-256 hashes.
    3
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A read-only MCP server that reports largest files, folder sizes, and disk usage, running locally without any data leaving your machine.
    MIT

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/Superandyfre/disk-clean-mcp'

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