Make your tools have a finer granularity, and let your agent "decide" what it needs and call multiple tools accordingly. (For example, Koog's file list tool shows the line count of files, while Koog's file read tool allows start and end locations to read part of a file.) Use summarization and fact extraction regularly, to let the agent "decide" what information is important relative to your task.