MCP Filesystem Server
MCP ファイルシステムサーバー
ファイルシステム操作のための強力なモデルコンテキストプロトコル(MCP)サーバー。大容量ファイルやファイルシステムとのインテリジェントな連携に最適化されています。スマートなコンテキスト管理により、ファイルやディレクトリへの安全なアクセスを提供し、膨大なデータを扱う際の効率を最大限に高めます。
MCP ファイルシステムを選ぶ理由
スマートコンテキスト管理: 大きなファイルやファイルシステムを効率的に操作
関連するコンテンツのみに焦点を当てた部分的な読み取り
必要なものを正確に見つけるための正確なコンテキストコントロール
ページネーションによるトークン効率の高い検索結果
リクエストのオーバーヘッドを削減するための複数ファイル操作
インテリジェントなファイル操作:
設定可能なコンテキストウィンドウによる行単位の読み取り
競合を防ぐためのコンテンツ検証を備えた高度な編集
標準のgrepを超えるきめ細かな検索機能
正確なファイル操作のための相対行参照
Related MCP server: Filesystem MCP Server
主な特徴
セキュアファイルアクセス: 明示的に許可されたディレクトリ内でのみ操作を許可します
包括的な操作:ファイルシステム機能のフルセット
標準操作(読み取り、書き込み、一覧表示、移動、削除)
強化された操作 (ツリーの視覚化、重複の検出など)
grep 統合による高度な検索 (利用可能な場合は ripgrep を使用)
コンテキスト制御(grepの-A/-B/-Cオプションのような)
大規模な結果セットの結果ページ区切り
コンテンツ検証と相対行番号による行対象操作
パフォーマンスの最適化:
大きなファイルやディレクトリを効率的に処理します
Ripgrep 統合による超高速検索
ファイル全体の読み込みを回避するための行単位の操作
包括的なテスト:行動駆動型アプローチによる75以上のテスト
クロスプラットフォーム: Windows、macOS、Linuxで動作
クイックスタートガイド
1. クローンとセットアップ
まず、まだインストールしていない場合は uv をインストールします。
# Install uv using the official installer
curl -fsSL https://raw.githubusercontent.com/astral-sh/uv/main/install.sh | bash
# Or with pipx
pipx install uv次に、リポジトリのクローンを作成し、依存関係をインストールします。
# Clone the repository
git clone https://github.com/safurrier/mcp-filesystem.git
cd mcp-filesystem
# Install dependencies with uv
uv pip sync requirements.txt requirements-dev.txt2. 絶対パスを取得する
リポジトリの場所とアクセスするディレクトリの両方に絶対パスが必要です。
# Get the absolute path to the repository
REPO_PATH=$(pwd)
echo "Repository path: $REPO_PATH"
# Get absolute paths to directories you want to access
realpath ~/Documents
realpath ~/Downloads
# Or on systems without realpath:
echo "$(cd ~/Documents && pwd)"3. Claudeデスクトップを設定する
Claude Desktop 構成ファイルを開きます。
macOSの場合:
~/Library/Application\ Support/Claude/claude_desktop_config.jsonWindows の場合:
%APPDATA%/Claude/claude_desktop_config.json
次の構成を追加します (実際のパスに置き換えてください)。
{
"mcpServers": {
"mcp-filesystem": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/mcp-filesystem",
"run",
"run_server.py",
"/absolute/path/to/dir1",
"/absolute/path/to/dir2"
]
}
}
}重要:すべてのパスは絶対パス(ルートディレクトリからのフルパス)でなければなりません。realpath または
pwdを使用して、正しい絶対パスであるrealpathを確認してください。
4. Claude Desktopを再起動します
設定を保存した後、変更を有効にするために Claude Desktop を再起動します。
インストール
使用法
サーバーログを監視する
Claude Desktop からサーバー ログを監視するには、次の操作を行います。
# On macOS
tail -n 20 -f ~/Library/Logs/Claude/mcp-server-mcp-filesystem.log
# On Windows (PowerShell)
Get-Content -Path "$env:APPDATA\Claude\Logs\mcp-server-mcp-filesystem.log" -Tail 20 -Waitこれは、問題をデバッグしたり、Claude が何を要求しているのかを正確に確認したりするのに特に役立ちます。
サーバーの実行
特定のディレクトリへのアクセス権を持つサーバーを実行します。
# Using uv (recommended)
uv run run_server.py /path/to/dir1 /path/to/dir2
# Or using standard Python
python run_server.py /path/to/dir1 /path/to/dir2
# Example with actual paths
uv run run_server.py /Users/username/Documents /Users/username/Downloadsオプション
--transportまたは-t: トランスポートプロトコル (stdio または sse、デフォルト: stdio)--portまたは-p: SSEトランスポートのポート(デフォルト: 8000)--debugまたは-d: デバッグログを有効にする--versionまたは-v: バージョン情報を表示する
MCP Inspectorと併用
MCP Inspector を使用した対話型テストとデバッグの場合:
# Basic usage
npx @modelcontextprotocol/inspector uv run run_server.py /path/to/directory
# With SSE transport
npx @modelcontextprotocol/inspector uv run run_server.py /path/to/directory --transport sse --port 8080
# With debug output
npx @modelcontextprotocol/inspector uv run run_server.py /path/to/directory --debugこのサーバーは、MCPの現在のベストプラクティスに沿うよう、FastMCP SDKを使用して構築されています。効率的なコンポーネントキャッシュシステムとダイレクトデコレータパターンを採用しています。
クロードデスクトップ統合
Claude Desktop 構成ファイルを編集して、MCP ファイルシステムを統合します。
設定ファイルの場所:
macOSの場合:
~/Library/Application\ Support/Claude/claude_desktop_config.jsonWindows の場合:
%APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"mcp-filesystem": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp-filesystem/repo",
"run",
"run_server.py"
]
}
}
}特定のディレクトリへのアクセスを許可するには、それらを追加の引数として追加します。
{
"mcpServers": {
"mcp-filesystem": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp-filesystem/repo",
"run",
"run_server.py",
"/Users/yourusername/Projects",
"/Users/yourusername/Documents"
]
}
}
}注:
--directoryフラグは、run_server.py を含むリポジトリの場所を uv に指示するため重要です。/path/to/mcp-filesystem/repo/path/to/mcp-filesystem/repoシステム上でリポジトリをクローンした実際のパスに置き換えてください。
発達
テストの実行
# Run all tests
uv run -m pytest tests/
# Run specific test file
uv run -m pytest tests/test_operations_unit.py
# Run with coverage
uv run -m pytest tests/ --cov=mcp_filesystem --cov-report=term-missingコードスタイルと品質
# Format code
uv run -m ruff format mcp_filesystem
# Lint code
uv run -m ruff check --fix mcp_filesystem
# Type check
uv run -m mypy mcp_filesystem
# Run all checks
uv run -m ruff format mcp_filesystem && \
uv run -m ruff check --fix mcp_filesystem && \
uv run -m mypy mcp_filesystem && \
uv run -m pytest tests --cov=mcp_filesystem利用可能なツール
基本的なファイル操作
read_file : ファイルの完全な内容を読み取る
read_multiple_files : 複数のファイルを同時に読み取る
write_file : 新しいファイルを作成するか、既存のファイルを上書きします
create_directory : 新しいディレクトリを作成するか、ディレクトリが存在することを確認する
list_directory : ファイルとディレクトリの詳細なリストを取得します
move_file : ファイルやディレクトリを移動または名前変更する
get_file_info : ファイルまたはディレクトリに関する詳細なメタデータを取得する
list_allowed_directories : サーバーがアクセスを許可されているディレクトリを一覧表示する
ラインターゲット作戦
read_file_lines : オフセット/制限パラメータを使用して特定の行範囲を読み取る
edit_file_at_line : コンテンツの検証と相対行番号を使用して正確な編集を行う
古いコンテンツの編集を防ぐためのコンテンツ検証のサポート
相対行番号により、地域編集が容易になります
複数の編集アクション (置換、挿入前、挿入後、削除)
head_file : テキストファイルの最初のN行を読み込む
tail_file : テキストファイルの最後のN行を読み取る
詳細検索
grep_files : 強力なオプションを使用してファイル内のパターンを検索する
パフォーマンス向上のための Ripgrep 統合(Python フォールバック付き)
きめ細かなコンテキスト制御(grep の -A/-B/-C オプションのような)
大規模な検索結果のページ区切り
大文字と小文字の区別と単語全体のオプションを備えた正規表現のサポート
search_files : コンテンツ検索でパターンに一致するファイルを検索する
directory_tree : ファイルとディレクトリの再帰ツリービューを取得します
分析とレポート
calculate_directory_size : ディレクトリの合計サイズを計算する
find_duplicate_files : 内容を比較して重複ファイルを検索する
compare_files : 2つのテキストファイルを比較し、相違点を表示する
find_large_files : 指定したサイズより大きいファイルを検索する
find_empty_directories : 空のディレクトリを検索する
使用例
ファイル行の読み取り
Tool: read_file_lines
Arguments: {
"path": "/path/to/file.txt",
"offset": 99, # 0-based indexing (line 100)
"limit": 51, # Read 51 lines
"encoding": "utf-8" # Optional encoding
}Grepでコンテンツを検索する
Tool: grep_files
Arguments: {
"path": "/path/to/search",
"pattern": "function\\s+\\w+\\(",
"is_regex": true,
"context_before": 2, # Show 2 lines before each match (like grep -B)
"context_after": 5, # Show 5 lines after each match (like grep -A)
"include_patterns": ["*.js", "*.ts"],
"results_offset": 0, # Start from the first match
"results_limit": 20 # Show at most 20 matches
}行ターゲット編集
Tool: edit_file_at_line
Arguments: {
"path": "/path/to/file.txt",
"line_edits": [
{
"line_number": 15,
"action": "replace",
"content": "This is the new content for line 15\n",
"expected_content": "Original content of line 15\n" # Verify content before editing
},
{
"line_number": 20,
"action": "delete"
}
],
"offset": 0, # Start considering lines from this offset
"relative_line_numbers": false, # Whether line numbers are relative to offset
"abort_on_verification_failure": true, # Stop on verification failure
"dry_run": true # Preview changes without applying
}重複ファイルの検索
Tool: find_duplicate_files
Arguments: {
"path": "/path/to/search",
"recursive": true,
"min_size": 1024,
"format": "text"
}大規模ファイルとファイルシステムのための効率的なワークフロー
MCP ファイルシステムは、大きなファイルや複雑なファイルシステムとのインテリジェントな対話のために設計されています。
スマートコンテキスト検出
grep_files使用すると、正確なコンテキスト制御で必要なものを正確に見つけることができます。一致の前後のコンテキスト行を細かく制御することで、トークンの無駄を防止します。
トークン制限に圧倒されることなく、大規模な結果セットを効率的にページ分割します
Ripgrep統合により、数百万のファイルと行を含む大規模なファイルシステムを処理できます。
ターゲットリーディング
offset/limitを使用して
read_file_linesで関連セクションのみを調べる正確なコンテンツ検索のためのシンプルなオフセット/制限パラメータによるゼロベースのインデックス
トークンの効率を最大化するために読み取る行数を正確に制御します
複数のファイルを同時に読み取り、往復の回数を減らす
正確な編集
コンテンツ検証付きの
edit_file_at_lineで対象を絞った編集を行う競合を防ぐために編集前にコンテンツが変更されていないことを確認する
複雑なファイル内の部分編集には相対行番号を使用する
複雑な変更を1回の操作で複数の編集アクションで実行
変更を適用する前にプレビューできるドライラン機能
高度な分析
find_duplicate_filesやcompare_filesなどの専用ツールを使用する素早いナビゲーションのために、
directory_treeを使用してディレクトリツリーを生成します。find_large_filesとfind_empty_directoriesを使用して問題のある領域を特定する
このワークフローは、大規模なファイルやファイルシステムを扱う必要があるAI搭載ツールにとって特に有益です。例えば、Claudeなどの高度なAIアシスタントは、これらの機能を活用して、コードベースを効率的にナビゲートしたり、ログファイルを分析したり、トークン効率を維持しながら大規模なテキストベースのデータセットを操作したりすることができます。
標準ファイルシステムMCPサーバーに対する利点
基本的なファイルシステム MCP サーバーとは異なり、MCP-Filesystem は次の機能を提供します。
トークン効率
スマートな行ターゲット操作により、ファイル全体をコンテキストに読み込むことを回避します。
大きな結果のページネーション制御により、コンテキストのオーバーフローを防止
コンテキスト制御による正確な grep (ファイル全体の検索だけでなく)
複数ファイルの読み取りにより、往復リクエストが削減されます
インテリジェント編集
編集上の競合を防ぐためのコンテンツ検証
ファイル全体を必要としない行単位の編集
相対行番号のサポートにより、地域編集が容易になりました
変更を適用する前にプレビューできるドライラン機能
詳細検索
大規模なファイルシステムパフォーマンスを実現する Ripgrep 統合
コンテキストに応じた結果(一致だけでなく)
返されるものを細かく制御
除外サポート付きのパターンベースのファイル検索
追加ユーティリティ
ファイルの比較と重複排除
ディレクトリサイズの計算と分析
空のディレクトリ識別
ツリーベースのディレクトリ視覚化
セキュリティフォーカス
堅牢なパス検証とサンドボックス
パストラバーサル攻撃に対する保護
シンボリックリンクの検証とセキュリティ
機密情報を公開せずに詳細なエラーレポートを作成
既知の問題と制限事項
パス解決:最も一貫した結果を得るには、常に絶対パスを使用してください。相対パスは、許可されたディレクトリではなく、サーバーの作業ディレクトリを基準として解釈される可能性があります。
パフォーマンス: 大きなディレクトリの場合、
find_duplicate_filesや recusrive search などの操作は完了するまでにかなりの時間がかかることがあります。権限処理:サーバーは、実行ユーザーと同じ権限で動作します。サーバーがアクセスする必要があるディレクトリに対して適切な権限が付与されていることを確認してください。
安全
サーバーは、許可されたディレクトリ外へのアクセスを防ぐために厳密なパス検証を実施します。
明示的に許可されたディレクトリ内でのみ操作を許可します
パストラバーサル攻撃に対する保護を提供します
シンボリックリンクが許可ディレクトリ外を指していないことを確認する
機密情報を公開せずに意味のあるエラーメッセージを返します
パフォーマンスに関する考慮事項
grep 機能で最高のパフォーマンスを得るには:
ripgrep (
rg) をインストールするサーバーは、利用可能な場合は自動的にripgrepを使用し、Pythonのフォールバックを使用します。
ライセンス
Available Tools
21 toolscalculate_directory_sizeB
Calculate the total size of a directory recursively.
Args:
path: Directory path
format: Output format ('human', 'bytes', or 'json')
ctx: MCP context
Returns:
Directory size information
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| format | No | human |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden but lacks behavioral details. It mentions recursion but doesn't disclose performance implications for large directories, error handling for invalid paths, or whether it follows symlinks. The return format options are listed but not explained.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with clear sections (Args, Returns) and front-loaded purpose. It's concise but could be slightly tighter by integrating the format options into the main sentence rather than a separate list.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 2 parameters, no annotations, and no output schema, the description covers the basics but lacks depth. It explains parameters adequately but doesn't detail return values beyond 'Directory size information', leaving ambiguity about output structure for different formats.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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. It clearly explains 'path' as 'Directory path' and 'format' with its three options, adding essential meaning beyond the bare schema. The 'ctx' parameter is mentioned but not explained, slightly reducing completeness.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('calculate the total size') and resource ('directory recursively'), distinguishing it from siblings like 'get_file_info' (single file) or 'list_directory' (listing contents). The verb 'calculate' with 'recursively' precisely defines the scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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 'get_file_info' (for single files) or 'find_large_files' (for identifying large items). The description only states what it does, not when it's appropriate compared to sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
compare_filesB
Compare two text files and show differences.
Args:
file1: First file path
file2: Second file path
encoding: Text encoding (default: utf-8)
format: Output format ('text' or 'json')
ctx: MCP context
Returns:
Comparison results
| Name | Required | Description | Default |
|---|---|---|---|
| file1 | Yes | ||
| file2 | Yes | ||
| encoding | No | utf-8 | |
| format | No | text |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It mentions the tool 'shows differences' but doesn't disclose important behavioral traits: what type of comparison is performed (line-by-line, character-level?), whether it's read-only or modifies files, what happens with binary files, error handling, or performance characteristics. The description is minimal beyond the basic operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is perfectly structured and concise. It starts with the core purpose, then lists parameters with clear explanations, and ends with the return statement. Every sentence earns its place with no wasted words. The bullet-like format for parameters is efficient and scannable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 4 parameters with no schema descriptions and no output schema, the description does a reasonable job explaining parameters but leaves gaps. It doesn't describe the comparison algorithm, error conditions, or what the output looks like (beyond mentioning 'text' or 'json' format). For a comparison tool with behavioral complexity, more context about the comparison method and output structure would be helpful.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description must compensate, and it does so effectively. It clearly explains all 4 parameters: 'file1' and 'file2' as file paths, 'encoding' with its default, and 'format' with valid values. This adds significant meaning beyond the bare schema. The only minor gap is not explaining what 'text' vs 'json' format outputs look like.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Compare two text files and show differences.' This is a specific verb ('compare') with clear resources ('two text files') and outcome ('show differences'). However, it doesn't explicitly differentiate from sibling tools like 'find_duplicate_files' or 'search_files', which might involve file comparison in different contexts.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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. With many sibling tools for file operations (e.g., 'find_duplicate_files', 'grep_files', 'search_files'), there's no indication of when this specific comparison tool is appropriate versus other file analysis tools. No exclusions or prerequisites are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
create_directoryA
Create a new directory or ensure a directory exists.
Args:
path: Path to the directory
parents: Create parent directories if they don't exist
exist_ok: Don't raise an error if directory already exists
ctx: MCP context
Returns:
Success or error message
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| parents | No | ||
| exist_ok | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It mentions the tool can 'ensure a directory exists' and describes parameter behaviors (parents creation, error handling with exist_ok), which adds useful context beyond just 'create.' However, it doesn't disclose permissions needed, whether it's idempotent, or what specific error messages might be returned.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and appropriately sized. It starts with a clear purpose statement, then lists parameters with helpful explanations, and ends with return information. Every sentence earns its place, though the 'ctx: MCP context' parameter explanation is somewhat redundant since MCP context is typically implicit.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 3 parameters with 0% schema coverage and no output schema, the description does a good job explaining parameters but could be more complete. It mentions return is a 'Success or error message' but doesn't specify format or examples. For a mutation tool with no annotations, more behavioral context about permissions, side effects, or error conditions would be helpful.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description provides excellent parameter semantics beyond the input schema, which has 0% description coverage. It clearly explains what each parameter does: 'path: Path to the directory', 'parents: Create parent directories if they don't exist', 'exist_ok: Don't raise an error if directory already exists'. This fully compensates for the schema's lack of descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Create a new directory or ensure a directory exists.' This specifies the verb (create/ensure) and resource (directory). However, it doesn't explicitly differentiate from sibling tools like 'list_directory' or 'directory_tree' beyond the obvious creation vs. listing distinction.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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. It doesn't mention prerequisites, when not to use it, or how it compares to sibling tools like 'move_file' or 'find_empty_directories' that might involve directory operations. Usage is implied by the name but not explicitly stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
directory_treeA
Get a recursive tree view of files and directories.
Args:
path: Root directory
max_depth: Maximum recursion depth
include_files: Whether to include files (not just directories)
pattern: Optional glob pattern to filter entries
exclude_patterns: Optional patterns to exclude
format: Output format ('text' or 'json')
ctx: MCP context
Returns:
Formatted directory tree
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_depth | No | ||
| include_files | No | ||
| pattern | No | ||
| exclude_patterns | No | ||
| format | No | text |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. While it mentions recursion depth and filtering capabilities, it doesn't disclose important behavioral traits like: whether this operation is read-only or has side effects, performance characteristics for large directories, permission requirements, error handling, or what happens with symbolic links. The description provides basic functionality but lacks critical operational context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with clear sections (purpose, Args, Returns) and front-loads the core functionality. The 'Args' section could be more concise by grouping related parameters, but overall it's efficient with minimal wasted text.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 6-parameter tool with no annotations and no output schema, the description provides adequate parameter documentation but lacks important contextual information. It doesn't explain the return format details (what 'Formatted directory tree' actually contains), error conditions, performance considerations, or how it differs meaningfully from simpler sibling tools like 'list_directory'.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description compensates well by explaining all 6 parameters in the 'Args' section. Each parameter gets a brief semantic explanation beyond just naming them (e.g., 'Maximum recursion depth' for max_depth, 'Optional glob pattern to filter entries' for pattern). However, it doesn't provide format details for patterns or depth constraints.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('Get') and resource ('recursive tree view of files and directories'). It distinguishes from sibling tools like 'list_directory' (which likely lists without recursion) and 'calculate_directory_size' (which focuses on size calculation rather than tree structure).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for obtaining hierarchical directory views but doesn't explicitly state when to use this versus alternatives like 'list_directory' or 'search_files'. No guidance is provided about when not to use it or about performance considerations with deep recursion.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
edit_fileA
Make line-based edits to a text file.
Args:
path: Path to the file
edits: List of {oldText, newText} dictionaries
encoding: Text encoding (default: utf-8)
dry_run: If True, return diff but don't modify file
ctx: MCP context
Returns:
Git-style diff showing changes
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| edits | Yes | ||
| encoding | No | utf-8 | |
| dry_run | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals that the tool can perform dry runs and returns Git-style diffs, which are valuable behavioral traits. However, it doesn't mention error conditions, file locking behavior, permission requirements, or what happens with non-existent files - significant gaps for a file mutation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is perfectly structured and front-loaded: the first sentence states the core purpose, followed by clearly labeled Args and Returns sections. Every sentence earns its place - no redundant information, no wasted words. The formatting with clear section headers enhances readability.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a file mutation tool with 4 parameters, 0% schema coverage, no annotations, and no output schema, the description does a decent job but has gaps. It explains parameters well and mentions the return format, but doesn't cover error handling, permission requirements, or edge cases. Given the complexity of file editing operations, more behavioral context would be helpful.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description compensates well by explaining all 4 parameters in the Args section. It clarifies that 'edits' expects dictionaries with 'oldText' and 'newText' keys, specifies the default for 'encoding' and 'dry_run', and explains what 'dry_run' does. The only gap is not explaining the 'ctx' parameter's purpose.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verb ('Make line-based edits') and resource ('to a text file'), distinguishing it from siblings like 'edit_file_at_line' (which implies different editing granularity) and 'write_file' (which likely overwrites entire files). The phrase 'line-based edits' provides precise scope information.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context about when to use this tool (for making line-based edits to text files) but doesn't explicitly state when NOT to use it or name specific alternatives. It distinguishes from 'edit_file_at_line' by implying different editing approaches, but doesn't provide explicit guidance on choosing between them.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
edit_file_at_lineA
Edit specific lines in a text file.
Args:
path: Path to the file
line_edits: List of edits to apply. Each edit is a dict with:
- line_number: Line number to edit (0-based if relative_line_numbers=True, otherwise 1-based)
- action: "replace", "insert_before", "insert_after", "delete"
- content: New content for replace/insert operations (optional for delete)
- expected_content: (Optional) Expected content of the line being edited for verification
offset: Line offset (0-based) to start considering lines
limit: Maximum number of lines to consider
relative_line_numbers: Whether line numbers in edits are relative to offset
abort_on_verification_failure: Whether to abort all edits if any verification fails
encoding: Text encoding (default: utf-8)
dry_run: If True, returns what would be changed without modifying the file
ctx: MCP context
Returns:
Edit results summary
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| line_edits | Yes | ||
| offset | No | ||
| limit | No | ||
| relative_line_numbers | No | ||
| abort_on_verification_failure | No | ||
| encoding | No | utf-8 | |
| dry_run | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It does reveal that this is a file mutation tool (implied by 'Edit'), describes the dry_run option for safe testing, and mentions verification failure handling. However, it doesn't cover important behavioral aspects like error conditions, permission requirements, atomicity of edits, or what happens with concurrent access.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with purpose statement followed by organized parameter documentation. While somewhat lengthy due to the complex parameter set, every sentence adds value. The structure is logical with clear sections for Args and Returns, making it easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a complex mutation tool with 8 parameters, 0% schema coverage, and no output schema, the description does a good job explaining parameters but leaves gaps. It doesn't describe the return format ('Edit results summary' is vague), doesn't explain error handling, and lacks context about file system permissions or edge cases. The parameter documentation is strong, but overall completeness is limited.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description provides comprehensive parameter documentation that fully compensates. It explains all 8 parameters with clear semantics, including detailed breakdown of the complex 'line_edits' array structure, default values, and behavioral implications of flags like 'relative_line_numbers' and 'abort_on_verification_failure'.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verb ('Edit') and resource ('specific lines in a text file'), distinguishing it from sibling tools like 'edit_file' (which likely edits entire files) and 'write_file' (which overwrites files). The description immediately establishes this is a line-level editing operation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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 like 'edit_file' or 'write_file'. While it's clear this tool edits specific lines, there's no mention of use cases, prerequisites, or comparison to sibling tools that might handle similar file operations differently.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_duplicate_filesA
Find duplicate files by comparing file sizes and contents.
Args:
path: Starting directory
recursive: Whether to search subdirectories
min_size: Minimum file size to consider (bytes)
exclude_patterns: Optional patterns to exclude
max_files: Maximum number of files to scan
format: Output format ('text' or 'json')
ctx: MCP context
Returns:
Duplicate file information
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| recursive | No | ||
| min_size | No | ||
| exclude_patterns | No | ||
| max_files | No | ||
| format | No | text |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. While it mentions the comparison method (file sizes and contents) and output format options, it doesn't disclose important behavioral traits like performance characteristics (scanning could be slow), memory usage, whether it follows symlinks, error handling, or what happens when max_files is reached. The description provides basic operational context but lacks comprehensive behavioral transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with clear sections (purpose, Args, Returns) and front-loads the core purpose. The Args section is comprehensive but could be more concise - some parameter explanations are brief but effective. Overall efficient with minimal wasted space, though the 'ctx: MCP context' parameter explanation adds little value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 6 parameters, no annotations, and no output schema, the description provides adequate basic information but has gaps. It explains parameters well and mentions output format options, but doesn't describe the structure of returned 'Duplicate file information' or important behavioral considerations. The description is complete enough for basic usage but lacks depth for optimal agent understanding.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description compensates well by explaining all 6 parameters in the Args section, providing meaningful context beyond just parameter names. Each parameter gets a brief semantic explanation (e.g., 'Minimum file size to consider (bytes)', 'Optional patterns to exclude'), though some explanations could be more detailed (like what patterns are supported).
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Find duplicate files') and method ('by comparing file sizes and contents'), distinguishing it from sibling tools like compare_files (which compares specific files) or find_large_files (which finds large files). It provides a complete purpose statement with both what it does and how it works.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context through the parameter explanations (e.g., 'Starting directory', 'Whether to search subdirectories'), but doesn't explicitly state when to use this tool versus alternatives like compare_files or search_files. No explicit when-not-to-use guidance or sibling tool comparisons are provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_empty_directoriesC
Find empty directories.
Args:
path: Starting directory
recursive: Whether to search subdirectories
exclude_patterns: Optional patterns to exclude
format: Output format ('text' or 'json')
ctx: MCP context
Returns:
Empty directory information
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| recursive | No | ||
| exclude_patterns | No | ||
| format | No | text |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. While 'Find empty directories' implies a read-only operation, it doesn't specify whether this requires special permissions, how it handles symbolic links, what happens with permission errors, or any rate limits. The description mentions output format options but doesn't describe the actual return structure or what 'empty directory information' includes.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized and well-structured with clear sections for Args and Returns. The purpose statement is front-loaded. However, the 'ctx: MCP context' parameter explanation adds no value (it's boilerplate that should be omitted), and the Returns section is vague enough that it could be more concise or informative.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 4 parameters, 0% schema coverage, no annotations, and no output schema, the description is insufficient. It doesn't explain what constitutes an 'empty' directory, how the search algorithm works, what the output actually contains, or provide any examples. The tool has meaningful complexity (recursive search with exclusions and format options) that isn't adequately addressed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description adds some value by listing all 4 parameters with brief explanations. However, it doesn't fully compensate for the schema gap - it doesn't explain what 'empty' means (no files at all? no regular files?), what patterns are supported for exclude_patterns, or provide examples. The parameter explanations are minimal and don't add rich semantic context beyond naming them.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with 'Find empty directories' - a specific verb+resource combination. It distinguishes itself from siblings like 'list_directory' or 'directory_tree' by focusing specifically on empty directories rather than general directory listing. However, it doesn't explicitly differentiate from all siblings, so it doesn't reach the highest score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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. With siblings like 'list_directory' and 'directory_tree' that also provide directory information, there's no indication of when this specialized tool is preferable. No exclusions, prerequisites, or comparison to similar tools are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_large_filesB
Find files larger than the specified size.
Args:
path: Starting directory
min_size_mb: Minimum file size in megabytes
recursive: Whether to search subdirectories
max_results: Maximum number of results to return
exclude_patterns: Optional patterns to exclude
format: Output format ('text' or 'json')
ctx: MCP context
Returns:
Large file information
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| min_size_mb | No | ||
| recursive | No | ||
| max_results | No | ||
| exclude_patterns | No | ||
| format | No | text |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the basic operation but doesn't cover important behavioral aspects: whether this is a read-only operation, potential performance implications for large directories, permission requirements, error handling, or what 'Large file information' specifically includes. The description provides minimal behavioral context beyond the basic functionality.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and appropriately sized. It starts with a clear purpose statement, then efficiently documents parameters in a bullet-like format, and ends with return information. Every sentence serves a purpose with zero wasted words. The formatting with 'Args:' and 'Returns:' sections enhances readability.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 6-parameter tool with no annotations and no output schema, the description provides adequate but incomplete coverage. It documents parameters well but lacks behavioral context about safety, performance, and error handling. The return description 'Large file information' is vague without an output schema. Given the complexity, it should provide more guidance on usage context and result interpretation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description must compensate, and it does so effectively by listing all 6 parameters with brief explanations. It clarifies 'min_size_mb' is in megabytes, 'recursive' searches subdirectories, 'exclude_patterns' is optional, and 'format' has two output options. This adds substantial meaning beyond the bare schema, though it could provide more detail about pattern syntax or result formatting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Find files larger than the specified size.' This is a specific verb+resource combination that indicates it's a search/filtering operation. However, it doesn't explicitly differentiate from sibling tools like 'search_files' or 'find_duplicate_files' beyond the size-based filtering focus.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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. It doesn't mention sibling tools like 'search_files' for general searches, 'find_duplicate_files' for duplicate detection, or 'calculate_directory_size' for size analysis. There's no context about when this specific size-based filtering is appropriate versus other file-finding operations.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_file_infoC
Retrieve detailed metadata about a file or directory.
Args:
path: Path to the file or directory
format: Output format ('text' or 'json')
ctx: MCP context
Returns:
Formatted file information
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| format | No | text |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions retrieving metadata but doesn't specify what metadata is included (e.g., size, permissions, timestamps), error handling for non-existent paths, or any rate limits or authentication needs. This leaves significant gaps for a tool that likely interacts with file systems.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the core purpose in the first sentence, followed by structured sections for Args and Returns. It's efficient with minimal waste, though the 'ctx' parameter is mentioned without explanation, slightly reducing clarity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of file operations, no annotations, and no output schema, the description is incomplete. It lacks details on metadata content, error cases, permissions, or return structure, making it inadequate for safe and effective use by an AI agent in this context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description lists parameters 'path', 'format', and 'ctx', adding meaning beyond the input schema (which only covers 'path' and 'format' with 0% schema description coverage). It explains 'path' as 'Path to the file or directory' and 'format' as 'Output format ('text' or 'json')', which compensates partially for the low schema coverage, but doesn't detail 'ctx' or provide examples.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'retrieve' and resource 'detailed metadata about a file or directory', which is specific and unambiguous. It distinguishes from siblings like 'read_file' (content) or 'list_directory' (listing), though it doesn't explicitly mention those distinctions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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. For example, it doesn't explain when to choose 'get_file_info' over 'list_directory' for metadata or 'read_file' for content, nor does it mention prerequisites like file existence or permissions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
grep_filesA
Search for pattern in files, similar to grep.
Args:
path: Starting directory or file path
pattern: Text or regex pattern to search for
is_regex: Whether to treat pattern as regex
case_sensitive: Whether search is case sensitive
whole_word: Match whole words only
include_patterns: Only include files matching these patterns
exclude_patterns: Exclude files matching these patterns
context_lines: Number of lines to show before AND after matches (like grep -C)
context_before: Number of lines to show BEFORE matches (like grep -B)
context_after: Number of lines to show AFTER matches (like grep -A)
results_offset: Start at Nth match (0-based, for pagination)
results_limit: Return at most this many matches (for pagination)
max_results: Maximum total matches to find during search
max_file_size_mb: Skip files larger than this size
recursive: Whether to search subdirectories
max_depth: Maximum directory depth to recurse
count_only: Only show match counts per file
format: Output format ('text' or 'json')
ctx: MCP context
Returns:
Search results
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| pattern | Yes | ||
| is_regex | No | ||
| case_sensitive | No | ||
| whole_word | No | ||
| include_patterns | No | ||
| exclude_patterns | No | ||
| context_lines | No | ||
| context_before | No | ||
| context_after | No | ||
| results_offset | No | ||
| results_limit | No | ||
| max_results | No | ||
| max_file_size_mb | No | ||
| recursive | No | ||
| max_depth | No | ||
| count_only | No | ||
| format | No | text |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It does reveal some behavioral traits: the tool can search recursively, skip large files, and support pagination. However, it doesn't mention important aspects like performance characteristics, memory usage, error conditions, or whether the search is destructive (though 'grep' implies read-only).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with clear sections for arguments and returns, but it's quite lengthy due to documenting all 18 parameters. While each parameter explanation earns its place, the front-loaded purpose statement could be more prominent. The structure is functional but not optimally concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (18 parameters, no annotations, no output schema), the description does a reasonably complete job. It thoroughly documents all parameters and mentions the return type ('Search results'). However, without annotations or output schema, it could benefit from more detail about result format, error handling, and performance considerations.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description provides comprehensive parameter documentation that fully compensates for the 0% schema description coverage. Each of the 18 parameters is clearly explained with meaningful context (e.g., 'like grep -C', 'for pagination', 'Skip files larger than this size'). This adds substantial value beyond what the bare schema provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Search for pattern in files, similar to grep.' This specifies the verb ('search') and resource ('files'), making the function immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'search_files' or 'find_duplicate_files', which prevents a perfect score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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. With many sibling tools for file operations (like 'search_files', 'find_duplicate_files', 'read_file_lines'), there's no indication of when grep_files is the appropriate choice versus other search or file examination tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
head_fileA
Read the first N lines of a text file.
Args:
path: Path to the file
lines: Number of lines to read (default: 10)
encoding: Text encoding (default: utf-8)
ctx: MCP context
Returns:
First N lines of the file
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| lines | No | ||
| encoding | No | utf-8 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool reads files, implying a read-only operation, but doesn't mention error handling (e.g., for missing files or encoding issues), performance characteristics, or security constraints. The description adds basic context but lacks depth for behavioral transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is efficiently structured with a clear purpose statement followed by organized sections for arguments and returns. Every sentence adds value without redundancy, and it's front-loaded with the core functionality. The formatting enhances readability while maintaining brevity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (3 parameters, no annotations, no output schema), the description is mostly complete. It covers purpose, parameters, and returns adequately, but lacks details on error cases or behavioral nuances. For a read operation with simple inputs, this is sufficient though not exhaustive.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 0%, so the description must fully compensate. It clearly explains all three parameters: 'path' (file location), 'lines' (number of lines with default), and 'encoding' (text encoding with default). This adds essential meaning beyond the bare schema, making parameter purposes and defaults explicit and understandable.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Read the first N lines') and resource ('of a text file'), which directly explains what the tool does. It distinguishes from siblings like 'read_file' (reads entire file) and 'tail_file' (reads last lines), making the purpose unambiguous and well-defined.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for reading initial portions of files, but doesn't explicitly state when to use this tool versus alternatives like 'read_file' (for full content) or 'tail_file' (for end of file). No guidance on prerequisites or exclusions is provided, leaving usage context somewhat inferred rather than clearly articulated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_allowed_directoriesC
Returns the list of directories that this server is allowed to access.
Args:
ctx: MCP context
Returns:
List of allowed directories
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool returns a list but doesn't describe the format (e.g., array of strings, objects), any permissions or authentication needs, rate limits, or error conditions. This is a read-only operation implied by 'Returns,' but without annotations, the description lacks critical behavioral details for safe invocation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is structured with sections for 'Args' and 'Returns,' but it's somewhat verbose for a simple tool. The first sentence clearly states the purpose, but the additional sections could be more streamlined. It earns its place by providing basic info, but there's room for improvement in efficiency.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (0 parameters, no output schema, no annotations), the description is incomplete. It doesn't explain the return value format (e.g., what 'List of allowed directories' entails—structure, data types) or any behavioral aspects like error handling. For a tool that interacts with server permissions, more context on output and usage constraints is needed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description includes an 'Args' section mentioning 'ctx: MCP context,' which adds minimal context beyond the empty schema, but this is redundant since the schema already fully defines the parameters. Baseline is 4 for zero parameters, as the description doesn't need to compensate for gaps.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Returns the list of directories that this server is allowed to access.' It specifies the verb ('Returns') and resource ('list of directories'), making the function unambiguous. However, it doesn't differentiate from sibling tools like 'list_directory' or 'directory_tree', which also list directories but with different scopes or formats.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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. It doesn't mention any prerequisites, context for usage, or exclusions. With sibling tools like 'list_directory' that list directory contents, there's no indication of how this tool differs in application, leaving the agent to infer usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_directoryA
Get a detailed listing of files and directories in a path.
Args:
path: Path to the directory
include_hidden: Whether to include hidden files (starting with .)
pattern: Optional glob pattern to filter entries
format: Output format ('text' or 'json')
ctx: MCP context
Returns:
Formatted directory listing
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| include_hidden | No | ||
| pattern | No | ||
| format | No | text |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden but lacks critical behavioral details. It mentions output formatting but doesn't disclose pagination, rate limits, error conditions, or what 'detailed listing' includes (e.g., file sizes, permissions). For a read operation with 4 parameters, this leaves significant gaps in understanding tool behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with a clear purpose statement followed by parameter explanations. Every sentence adds value, though the 'ctx: MCP context' line is redundant since MCP context is implicit. Overall efficient with minimal waste.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 4 parameters with no schema descriptions and no output schema, the description does well on parameters but lacks completeness. It doesn't explain return format details, error handling, or behavioral constraints. For a directory listing tool with filtering options, more context about output structure and limitations would be helpful.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds substantial meaning beyond the 0% schema coverage. It explains each parameter's purpose: path as directory location, include_hidden for dot-files, pattern as glob filter, and format as output type. This fully compensates for the schema's lack of descriptions, making parameters understandable.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific verb ('Get a detailed listing') and resource ('files and directories in a path'), distinguishing it from siblings like directory_tree (hierarchical view) or search_files (content-based). It precisely defines what the tool does without being vague or tautological.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage through the parameter explanations (e.g., pattern for filtering, format for output), but doesn't explicitly state when to use this tool versus alternatives like list_allowed_directories or directory_tree. There's no guidance on prerequisites or exclusions, leaving usage context to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
move_fileC
Move or rename files and directories.
Args:
source: Source path
destination: Destination path
overwrite: Whether to overwrite existing destination
ctx: MCP context
Returns:
Success or error message
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| destination | Yes | ||
| overwrite | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It mentions 'overwrite' behavior but doesn't explain what happens when overwrite=false and destination exists, whether the operation is atomic, if it preserves metadata/permissions, or what specific error messages might be returned. For a file system mutation tool with zero annotation coverage, this leaves significant behavioral gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized with clear sections (purpose, args, returns). The first sentence states the core functionality, followed by parameter documentation. However, the inclusion of 'ctx: MCP context' in the args section seems extraneous since it doesn't appear in the input schema, slightly reducing efficiency.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a file system mutation tool with 3 parameters, 0% schema coverage, no annotations, and no output schema, the description is insufficient. It doesn't explain error conditions, return value format beyond 'success or error message', path semantics, or how renaming versus moving differs. The mismatch between described parameters (4 including 'ctx') and schema parameters (3) creates confusion.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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. It lists all three parameters with brief explanations, adding meaning beyond the bare schema. However, it doesn't explain path format requirements, what 'ctx' parameter does (appears to be an undocumented fourth parameter in the description), or provide examples. The coverage partially compensates but remains incomplete.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Move or rename files and directories.' This is a specific verb+resource combination that distinguishes it from siblings like 'copy_file' (if it existed) or 'delete_file'. However, it doesn't explicitly differentiate from similar operations in the sibling list, which includes file manipulation tools like edit_file, write_file, and create_directory.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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. With siblings like 'edit_file', 'write_file', and 'create_directory', there's no indication of when moving/renaming is appropriate versus editing content or creating new files. No prerequisites, exclusions, or alternative tools are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
read_fileA
Read the complete contents of a file.
Args:
path: Path to the file
encoding: File encoding (default: utf-8)
ctx: MCP context
Returns:
File contents as a string
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| encoding | No | utf-8 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden. It discloses the core behavior (reading complete contents) and mentions a default encoding, but doesn't address important behavioral aspects like error handling (e.g., what happens if file doesn't exist), performance implications for large files, or security constraints. It adds some context but leaves significant gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with clear sections (purpose, args, returns) and uses only essential sentences. However, the 'ctx: MCP context' parameter mention is redundant since it's not in the actual input schema, slightly reducing efficiency. Overall, it's appropriately sized and front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (file reading with encoding), no annotations, and no output schema, the description is minimally adequate. It covers basic purpose and parameters but lacks important context about return format details (e.g., string format for binary files), error scenarios, and performance considerations that would be needed for robust agent usage.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description must compensate. It successfully explains both parameters: 'path' as 'Path to the file' and 'encoding' as 'File encoding (default: utf-8)'. This adds essential meaning beyond the bare schema, though it doesn't elaborate on path format requirements or valid encoding values.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Read the complete contents') and resource ('of a file'), distinguishing it from siblings like read_file_lines (partial reading) or get_file_info (metadata only). The verb+resource combination is precise and unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for reading entire file contents, but doesn't explicitly state when to choose this over alternatives like read_file_lines (for specific lines) or head_file/tail_file (for beginning/end). It provides clear context but lacks explicit sibling differentiation or exclusion guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
read_file_linesA
Read specific lines from a text file.
Args:
path: Path to the file
offset: Line offset (0-based, starts at first line)
limit: Maximum number of lines to read (None for all remaining)
encoding: Text encoding (default: utf-8)
ctx: MCP context
Returns:
File content and metadata
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| offset | No | ||
| limit | No | ||
| encoding | No | utf-8 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It states what the tool does but lacks critical behavioral details: no mention of file size limits, error handling (e.g., for missing files or invalid encodings), performance characteristics, or what 'metadata' in the return includes. For a file I/O tool with zero annotation coverage, this leaves significant gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is perfectly structured and concise: a clear purpose statement followed by well-organized parameter explanations and return information. Every sentence earns its place, with no redundant or vague language. The information is front-loaded with the core functionality.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (file I/O with line selection), no annotations, and no output schema, the description is partially complete. It excels at parameter documentation but lacks behavioral context (error handling, limits) and details about the return structure ('metadata' is vague). For a tool with these characteristics, more completeness would be expected.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description provides comprehensive parameter semantics beyond the 0% schema description coverage. It explains each parameter's purpose: 'path' as file location, 'offset' as 0-based line starting point, 'limit' as maximum lines (with None meaning all remaining), and 'encoding' as text encoding with default. This fully compensates for the schema's lack of descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Read specific lines') and resource ('from a text file'), distinguishing it from siblings like 'read_file' (which reads entire files) and 'head_file'/'tail_file' (which read from beginning/end). The verb+resource combination is precise and unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context through the parameter explanations (offset, limit), suggesting this tool is for selective line reading rather than full-file reading. However, it doesn't explicitly state when to choose this over alternatives like 'read_file', 'head_file', or 'tail_file', nor does it mention any prerequisites or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
read_multiple_filesB
Read multiple files at once.
Args:
paths: List of file paths to read
encoding: File encoding (default: utf-8)
ctx: MCP context
Returns:
Dictionary mapping file paths to contents or error messages
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | ||
| encoding | No | utf-8 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the return format (dictionary mapping paths to contents/errors) which is helpful, but doesn't address important behavioral aspects like error handling strategy (does it fail fast or continue?), performance implications of reading many files, memory considerations, or whether it respects file permissions. The description provides basic output information but lacks comprehensive 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is efficiently structured with a clear purpose statement followed by organized sections for Args and Returns. Each sentence earns its place by providing essential information without redundancy. The formatting with clear section headers makes it easy to parse while maintaining brevity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 2 parameters with 0% schema coverage and no output schema, the description does an adequate job explaining parameters and return format. However, for a file reading tool with many sibling alternatives and no annotations, it should ideally address more behavioral aspects like error handling strategy, performance considerations, and clearer differentiation from similar tools. The description meets minimum viability but has clear gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds significant value beyond the input schema, which has 0% description coverage. It explains that 'paths' is a 'List of file paths to read' and 'encoding' is 'File encoding (default: utf-8)', providing clear semantic meaning. For the 'ctx' parameter, it simply states 'MCP context' without elaboration, but this is likely a standard parameter. The description compensates well for the schema's lack of documentation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Read multiple files at once.' This specifies the verb ('read') and resource ('multiple files'), distinguishing it from the sibling 'read_file' which handles single files. However, it doesn't explicitly differentiate from other reading-related siblings like 'read_file_lines' or 'head_file/tail_file'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context through its name and purpose statement - it's for reading multiple files simultaneously rather than one at a time. However, it doesn't provide explicit guidance on when to use this versus alternatives like 'read_file' for single files or 'grep_files' for searching content. No exclusions or prerequisites are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_filesA
Recursively search for files and directories matching a pattern.
Args:
path: Starting directory
pattern: Glob pattern to match against filenames
recursive: Whether to search subdirectories
exclude_patterns: Optional patterns to exclude
content_match: Optional text to search within files
max_results: Maximum number of results to return
format: Output format ('text' or 'json')
ctx: MCP context
Returns:
Search results
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| pattern | Yes | ||
| recursive | No | ||
| exclude_patterns | No | ||
| content_match | No | ||
| max_results | No | ||
| format | No | text |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. While it mentions the recursive nature and parameter purposes, it doesn't disclose important behavioral traits like whether this is a read-only operation, what permissions are required, how errors are handled, whether it follows symlinks, or what happens when max_results is exceeded. The description provides basic operational context but misses critical behavioral details.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with a clear purpose statement followed by organized parameter explanations. Every sentence earns its place, though the 'Returns: Search results' line is somewhat redundant given the tool name and could be more specific. The formatting with clear sections (Args, Returns) enhances readability without unnecessary verbosity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (7 parameters, file system operations) and complete lack of annotations and output schema, the description provides adequate but incomplete coverage. It explains parameters well but misses behavioral context about permissions, error handling, and result formatting details. For a search tool with no structured safety or output information, the description should do more to compensate.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description fully compensates by providing clear semantic explanations for all 7 parameters. Each parameter gets a concise explanation that adds meaning beyond the bare schema: 'path: Starting directory', 'pattern: Glob pattern to match against filenames', 'recursive: Whether to search subdirectories', etc. The description transforms the parameter list from just names to meaningful usage guidance.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verbs ('recursively search for files and directories') and resources ('matching a pattern'), distinguishing it from siblings like list_directory (simple listing), grep_files (content-only search), or find_large_files (size-based filtering). The description explicitly mentions both file and directory search capabilities.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context through the mention of 'recursively search' and parameter explanations, but doesn't explicitly state when to use this tool versus alternatives like grep_files (for content-only searches) or list_directory (for simple directory listing without pattern matching). No explicit when-not-to-use guidance or sibling tool comparisons are provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
tail_fileA
Read the last N lines of a text file.
Args:
path: Path to the file
lines: Number of lines to read (default: 10)
encoding: Text encoding (default: utf-8)
ctx: MCP context
Returns:
Last N lines of the file
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| lines | No | ||
| encoding | No | utf-8 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden. It discloses the core behavior (reading last lines) and default values, but doesn't mention error conditions (e.g., file not found, insufficient permissions), performance characteristics, or what happens with very large files. It adequately describes the basic operation but lacks richer 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is perfectly structured: a clear purpose statement followed by organized sections for Args and Returns. Every sentence earns its place with no wasted words, and the information is front-loaded appropriately.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 3 parameters, no annotations, and no output schema, the description does well by explaining parameters and return values. However, for a file I/O tool, it could mention error handling or security considerations. It's mostly complete but has minor gaps in behavioral context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description fully compensates by explaining all 3 parameters: path ('Path to the file'), lines ('Number of lines to read'), and encoding ('Text encoding'), including their default values. This adds significant meaning beyond the bare schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Read the last N lines') and resource ('of a text file'), distinguishing it from sibling tools like head_file (which reads first lines) and read_file (which reads entire file). The purpose is unambiguous and differentiated.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context (reading end of files) but doesn't explicitly state when to use this vs. alternatives like head_file or read_file_lines. However, the function name 'tail_file' and description make the intended use case reasonably clear without explicit exclusions or comparisons.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
write_fileA
Create a new file or overwrite an existing file with new content.
Args:
path: Path to write to
content: Content to write
encoding: File encoding (default: utf-8)
create_dirs: Whether to create parent directories if they don't exist
ctx: MCP context
Returns:
Success or error message
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| encoding | No | utf-8 | |
| create_dirs | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It mentions the tool can 'overwrite an existing file' which implies destructive behavior, but doesn't disclose critical details like permission requirements, whether overwrites are reversible, error handling for invalid paths, or rate limits. The return value description ('Success or error message') is vague about format.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is efficiently structured with a clear purpose statement followed by well-organized parameter and return value sections. Every sentence adds value without redundancy, and information is front-loaded appropriately.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations and no output schema, the description provides good parameter semantics but lacks sufficient behavioral context for a destructive file operation. It doesn't explain the return format, error conditions, or security implications, leaving gaps in completeness for a tool that modifies files.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description provides clear semantic explanations for all 4 parameters beyond their schema titles, including default values and purposes (e.g., 'encoding: File encoding (default: utf-8)', 'create_dirs: Whether to create parent directories if they don't exist'). This compensates well for the 0% schema description coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Create a new file or overwrite an existing file') and resource ('file with new content'), distinguishing it from sibling tools like read_file, edit_file, and move_file. It precisely defines the tool's function without being tautological.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for file creation or overwriting but doesn't explicitly state when to use this tool versus alternatives like edit_file or create_directory. No guidance is provided on prerequisites, exclusions, or specific scenarios where this tool is preferred over others.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
v1.0.0- Added
list_allowed_directories
20 tool updates
- First observed
calculate_directory_size - First observed
compare_files - First observed
create_directory - First observed
directory_tree - First observed
edit_file - First observed
edit_file_at_line - First observed
find_duplicate_files - First observed
find_empty_directories - First observed
find_large_files - First observed
get_file_info - First observed
grep_files - First observed
head_file - First observed
list_directory - First observed
move_file - First observed
read_file - First observed
read_file_lines - First observed
read_multiple_files - First observed
search_files - First observed
tail_file - First observed
write_file
TDQS
Scored across 21 tools
Each tool has a clearly distinct purpose with minimal overlap. For example, read_file reads entire files while head_file reads first lines, and edit_file makes line-based edits while edit_file_at_line targets specific lines. The find_* tools (duplicate_files, empty_directories, large_files) each target different search criteria, preventing confusion.
All tools follow a consistent verb_noun naming pattern with snake_case throughout. Examples include calculate_directory_size, compare_files, create_directory, and list_directory. There are no deviations in naming conventions, making the tool set predictable and easy to understand.
With 21 tools, the count is slightly high but reasonable for a filesystem server covering a broad range of operations. It includes core file operations (read, write, move), directory management, search utilities, and specialized tools like duplicate detection. While comprehensive, it might feel heavy but remains well-scoped for the domain.
The tool set provides complete coverage for filesystem operations, including CRUD (create_directory, write_file, read_file, move_file, delete implied via move/overwrite), search (grep_files, search_files), metadata (get_file_info), and utilities (compare_files, edit_file). There are no obvious gaps, and tools support common workflows like file editing, directory traversal, and content analysis.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Securely search and manage workspace context files for AI agents and teams.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that allows AI models to safely access and interact with local file systems, enabling reading file contents, listing directories, and retrieving file metadata.6 npm10MIT
- FlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that extends AI capabilities by providing file system access and management functionalities to Claude or other AI assistants.164 npm5-
- AlicenseAqualityCmaintenanceA secure Model Context Protocol server that provides controlled filesystem access within predefined directories, enabling AI models to perform file and directory operations with strict path validation.165 npm7MIT
- AlicenseAqualityFmaintenanceA Model Context Protocol server that provides AI agents with secure access to local filesystem operations, enabling reading, writing, and managing files through a standardized interface.1032 npm51Apache 2.0