Skip to content

Intelligent Tools

In v3.x, there were 6 separate intelligent tools. In v4.0.0, their logic is embedded into the primary tools:

v3 Tool (removed)v4 ReplacementNotes
intelligent_readmcp_readAuto-selects direct/chunked based on size
intelligent_writemcp_writeAuto-selects direct/streaming based on size
intelligent_editmcp_editAuto-selects direct/smart-edit based on size
recovery_editmcp_editRecovery logic built into intelligent edit
get_optimization_suggestionanalyze_operation with operation: "optimize"Unified analysis tool
analyze_fileanalyze_operation with operation: "file"Unified analysis tool

Every mcp_* tool now automatically:

  1. Detects file size before operating
  2. Selects strategy — direct I/O for small files, streaming for large files
  3. Reports progress for long operations
  4. Handles errors with recovery fallbacks
File SizeStrategy
< 100 KBDirect I/O (fastest)
100 KB – 500 KBStreaming I/O
500 KB – 5 MBChunked processing
> 5 MBSpecial handling with progress

You don’t need to think about which tool to use — just use read_file, write_file, or edit_file and the server handles the rest.