MCP Filesystem Server
Servidor del sistema de archivos MCP
Un potente servidor de Protocolo de Contexto de Modelo (MCP) para operaciones de sistemas de archivos, optimizado para la interacción inteligente con archivos y sistemas de archivos de gran tamaño. Proporciona acceso seguro a archivos y directorios con gestión inteligente del contexto para maximizar la eficiencia al trabajar con grandes volúmenes de datos.
¿Por qué MCP-Filesystem?
Gestión inteligente del contexto : trabaje de manera eficiente con archivos y sistemas de archivos grandes
Lectura parcial para centrarse solo en el contenido relevante
Control de contexto preciso para encontrar exactamente lo que necesita
Resultados de búsqueda eficientes en tokens con paginación
Operaciones con múltiples archivos para reducir la sobrecarga de solicitudes
Operaciones de archivos inteligentes :
Lectura orientada a líneas con ventanas de contexto configurables
Edición avanzada con verificación de contenido para evitar conflictos
Capacidades de búsqueda de grano fino que superan el grep estándar
Referencias de línea relativas para una manipulación precisa de archivos
Related MCP server: Filesystem MCP Server
Características principales
Acceso seguro a archivos : solo permite operaciones dentro de directorios explícitamente permitidos
Operaciones integrales : conjunto completo de capacidades del sistema de archivos
Operaciones estándar (leer, escribir, enumerar, mover, eliminar)
Operaciones mejoradas (visualización de árboles, búsqueda de duplicados, etc.)
Búsqueda avanzada con integración de grep (usa ripgrep cuando está disponible)
Control de contexto (como las opciones -A/-B/-C de grep)
Paginación de resultados para conjuntos de resultados grandes
Operaciones dirigidas a líneas con verificación de contenido y números de línea relativos
Rendimiento optimizado :
Maneja eficientemente archivos y directorios grandes
Integración de Ripgrep para búsquedas ultrarrápidas
Operaciones dirigidas a líneas para evitar cargar archivos completos
Pruebas integrales : más de 75 pruebas con un enfoque basado en el comportamiento
Multiplataforma : funciona en Windows, macOS y Linux
Guía de inicio rápido
1. Clonar y configurar
Primero, instala uv si aún no lo has hecho:
# Install uv using the official installer
curl -fsSL https://raw.githubusercontent.com/astral-sh/uv/main/install.sh | bash
# Or with pipx
pipx install uvLuego clona el repositorio e instala las dependencias:
# 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. Obtener rutas absolutas
Necesitará rutas absolutas tanto para la ubicación del repositorio como para cualquier directorio al que desee acceder:
# 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. Configurar Claude Desktop
Abra el archivo de configuración de Claude Desktop:
En macOS:
~/Library/Application\ Support/Claude/claude_desktop_config.jsonEn Windows:
%APPDATA%/Claude/claude_desktop_config.json
Agregue la siguiente configuración (sustituya sus rutas actuales):
{
"mcpServers": {
"mcp-filesystem": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/mcp-filesystem",
"run",
"run_server.py",
"/absolute/path/to/dir1",
"/absolute/path/to/dir2"
]
}
}
}Importante : Todas las rutas deben ser absolutas (rutas completas desde el directorio raíz). Use
realpathopwdpara asegurarse de tener las rutas absolutas correctas.
4. Reinicie Claude Desktop
Después de guardar su configuración, reinicie Claude Desktop para que los cambios surtan efecto.
Instalación
Uso
Ver registros del servidor
Puede supervisar los registros del servidor desde Claude Desktop con:
# 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 -WaitEsto es particularmente útil para depurar problemas o ver exactamente lo que Claude está solicitando.
Ejecución del servidor
Ejecute el servidor con acceso a directorios específicos:
# 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/DownloadsOpciones
--transporto-t: Protocolo de transporte (stdio o sse, predeterminado: stdio)--porto-p: Puerto para transporte SSE (predeterminado: 8000)--debugo-d: Habilitar el registro de depuración--versiono-v: Mostrar información de la versión
Uso con MCP Inspector
Para realizar pruebas y depuraciones interactivas con el Inspector MCP:
# 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 --debugEste servidor se ha desarrollado con el SDK de FastMCP para una mejor adaptación a las mejores prácticas actuales de MCP. Utiliza un sistema eficiente de almacenamiento en caché de componentes y un patrón de decorador directo.
Integración de escritorio de Claude
Edite el archivo de configuración de Claude Desktop para integrar MCP-Filesystem:
Ubicación del archivo de configuración:
En macOS:
~/Library/Application\ Support/Claude/claude_desktop_config.jsonEn Windows:
%APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"mcp-filesystem": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp-filesystem/repo",
"run",
"run_server.py"
]
}
}
}Para permitir el acceso a directorios específicos, agréguelos como argumentos adicionales:
{
"mcpServers": {
"mcp-filesystem": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp-filesystem/repo",
"run",
"run_server.py",
"/Users/yourusername/Projects",
"/Users/yourusername/Documents"
]
}
}
}Nota: El indicador
--directoryes importante, ya que indica a uv dónde encontrar el repositorio que contiene run_server.py. Reemplace/path/to/mcp-filesystem/repocon la ruta real donde clonó el repositorio en su sistema.
Desarrollo
Ejecución de pruebas
# 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-missingEstilo y calidad del código
# 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_filesystemHerramientas disponibles
Operaciones básicas con archivos
read_file : Lee el contenido completo de un archivo
read_multiple_files : Leer varios archivos simultáneamente
write_file : Crea un nuevo archivo o sobrescribe un archivo existente
create_directory : Crea un nuevo directorio o asegúrate de que exista un directorio
list_directory : Obtenga una lista detallada de archivos y directorios
move_file : Mover o renombrar archivos y directorios
get_file_info : recupera metadatos detallados sobre un archivo o directorio
list_allowed_directories : enumera los directorios a los que el servidor tiene permiso de acceso
Operaciones dirigidas a la línea
read_file_lines : lee rangos de líneas específicos con parámetros de desplazamiento/límite
edit_file_at_line : Realice ediciones precisas con verificación de contenido y números de línea relativos
Soporte para verificación de contenido para evitar editar contenido obsoleto
Números de línea relativos para facilitar la edición regional
Múltiples acciones de edición (reemplazar, insertar antes, insertar después, eliminar)
head_file : Lee las primeras N líneas de un archivo de texto
tail_file : lee las últimas N líneas de un archivo de texto
Búsqueda avanzada
grep_files : busca patrones en archivos con opciones potentes
Integración de Ripgrep para mejorar el rendimiento (con respaldo de Python)
Control de contexto de grano fino (como las opciones -A/-B/-C de grep)
Paginación de resultados para resultados de búsqueda grandes
Compatibilidad con expresiones regulares con distinción entre mayúsculas y minúsculas y opciones de palabras completas
search_files : Busca archivos que coincidan con patrones de búsqueda de contenido
directory_tree : Obtener una vista de árbol recursiva de archivos y directorios
Análisis e informes
calculate_directory_size : Calcula el tamaño total de un directorio
find_duplicate_files : Encuentra archivos duplicados comparando el contenido
compare_files : Compara dos archivos de texto y muestra las diferencias
find_large_files : busca archivos más grandes que un tamaño especificado
find_empty_directories : Encuentra directorios vacíos
Ejemplos de uso
Leyendo líneas de archivo
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
}Búsqueda de contenido con 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
}Edición orientada a líneas
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
}Encontrar archivos duplicados
Tool: find_duplicate_files
Arguments: {
"path": "/path/to/search",
"recursive": true,
"min_size": 1024,
"format": "text"
}Flujo de trabajo eficiente para archivos y sistemas de archivos grandes
MCP-Filesystem está diseñado para la interacción inteligente con archivos grandes y sistemas de archivos complejos:
Descubrimiento de contexto inteligente
Utilice
grep_filespara encontrar exactamente lo que necesita con un control de contexto precisoEl control detallado sobre las líneas de contexto antes y después de las coincidencias evita el desperdicio de tokens
Paginar grandes conjuntos de resultados de manera eficiente sin sobrecargar los límites de tokens
La integración de Ripgrep maneja sistemas de archivos masivos con millones de archivos y líneas
Lectura dirigida
Examine solo las secciones relevantes con
read_file_linesusando offset/limitIndexación basada en cero con parámetros de desplazamiento/límite simples para una recuperación precisa de contenido
Controle exactamente cuántas líneas leer para maximizar la eficiencia del token
Leer varios archivos simultáneamente para reducir los viajes de ida y vuelta
Edición precisa
Realice ediciones específicas con
edit_file_at_linecon verificación de contenidoVerifique que el contenido no haya cambiado antes de editarlo para evitar conflictos.
Utilice números de línea relativos para la edición regional en archivos complejos
Múltiples acciones de edición en una sola operación para cambios complejos
Capacidad de ejecución en seco para obtener una vista previa de los cambios antes de aplicarlos
Análisis avanzado
Utilice herramientas especializadas como
find_duplicate_filesycompare_filesGenere árboles de directorios con
directory_treepara una navegación rápidaIdentifique áreas problemáticas con
find_large_filesyfind_empty_directories
Este flujo de trabajo es especialmente valioso para herramientas basadas en IA que necesitan trabajar con archivos y sistemas de archivos de gran tamaño. Por ejemplo, Claude y otros asistentes de IA avanzados pueden aprovechar estas capacidades para navegar eficientemente por bases de código, analizar archivos de registro o trabajar con grandes conjuntos de datos de texto, manteniendo la eficiencia de los tokens.
Ventajas sobre los servidores MCP del sistema de archivos estándar
A diferencia de los servidores MCP de sistemas de archivos básicos, MCP-Filesystem ofrece:
Eficiencia del token
Las operaciones inteligentes dirigidas a líneas evitan cargar archivos completos en contexto
Los controles de paginación para resultados grandes evitan el desbordamiento de contexto
Grep preciso con controles de contexto (no solo búsquedas en archivos completos)
La lectura de múltiples archivos reduce las solicitudes de ida y vuelta
Edición inteligente
Verificación de contenido para evitar conflictos de edición
Ediciones orientadas a líneas que no requieren el archivo completo
Compatibilidad con números de línea relativos para una edición regional más sencilla
Capacidad de ejecución en seco para obtener una vista previa de los cambios antes de aplicarlos
Búsqueda avanzada
Integración de Ripgrep para un rendimiento masivo del sistema de archivos
Resultados según el contexto (no solo coincidencias)
Control detallado sobre lo que se devuelve
Búsqueda de archivos basada en patrones con soporte de exclusión
Utilidades adicionales
Comparación y deduplicación de archivos
Cálculo y análisis del tamaño del directorio
Identificación de directorio vacío
Visualización de directorios basada en árboles
Enfoque de seguridad
Validación de ruta robusta y sandboxing
Protección contra ataques de cruce de ruta
Validación y seguridad de enlaces simbólicos
Informe detallado de errores sin exposición sensible
Problemas y limitaciones conocidos
Resolución de rutas : Utilice siempre rutas absolutas para obtener resultados más consistentes. Las rutas relativas podrían interpretarse en relación con el directorio de trabajo del servidor, en lugar de los directorios permitidos.
Rendimiento : en el caso de directorios grandes, operaciones como
find_duplicate_fileso búsqueda recursiva pueden tardar un tiempo considerable en completarse.Manejo de permisos : El servidor opera con los mismos permisos que el usuario que lo ejecuta. Asegúrese de que el servidor tenga los permisos adecuados para los directorios a los que necesita acceder.
Seguridad
El servidor aplica una validación de ruta estricta para evitar el acceso fuera de los directorios permitidos:
Sólo permite operaciones dentro de directorios explícitamente permitidos
Proporciona protección contra ataques de cruce de ruta
Valida los enlaces simbólicos para garantizar que no apunten fuera de los directorios permitidos
Devuelve mensajes de error significativos sin exponer información confidencial
Consideraciones de rendimiento
Para obtener el mejor rendimiento con la funcionalidad grep:
Instalar ripgrep (
rg)El servidor utiliza automáticamente ripgrep si está disponible, con una alternativa de Python
Licencia
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