What are MCP Tools?
MCP (Model Context Protocol) tools are the coordination primitives that power Routa’s multi-agent system. They enable agents to:- Create and manage other agents
- Delegate tasks across the agent hierarchy
- Share information through notes
- Subscribe to workspace events
- Manage git operations and workspace state
Tool Categories
Agent Tools
Create agents, delegate tasks, coordinate work across the agent hierarchy
Task Tools
Create, update, and track tasks with status, dependencies, and verification
Note Tools
Shared documents for specs, task blocks, and agent collaboration
Workspace Tools
Git operations, workspace metadata, and specialist management
Tool Modes: Essential vs Full
Routa supports two tool registration modes to optimize for different use cases:Essential Mode (12 tools)
The essential mode includes only the core coordination tools needed for the Routa workflow:- Agent tools (7):
list_agents,read_agent_conversation,create_agent,set_agent_name,delegate_task,delegate_task_to_agent,send_message_to_agent,report_to_parent - Note tools (5):
create_note,read_note,list_notes,set_note_content,convert_task_blocks
- Faster tool discovery and selection
- Reduced prompt complexity
- Specialist agents with focused responsibilities
Full Mode (34 tools)
The full mode includes all available tools:- Task tools (4):
create_task,list_tasks,update_task_status,update_task - Agent tools (14): All essential tools +
wake_or_create_task_agent,send_message_to_task_agent,get_agent_status,get_agent_summary,subscribe_to_events,unsubscribe_from_events - Note tools (7): All essential tools +
append_to_note,get_my_task - Workspace tools (9):
git_status,git_diff,git_commit,get_workspace_info,get_workspace_details,set_workspace_title,list_workspaces,create_workspace,list_specialists
- Maximum flexibility
- Power users and custom workflows
- Direct access to all capabilities
The mode is configured per MCP server instance via
RoutaMcpToolManager.setToolMode(mode).Setting Tool Mode
Common Patterns
Coordinator Pattern
- Read/write the spec note with
set_note_content(auto-creates tasks from@@@taskblocks) - Delegate tasks with
delegate_task_to_agent - Subscribe to
TASK_COMPLETEDevents to coordinate waves - Read agent conversations with
read_agent_conversationto check progress
Implementor Pattern
- Read task details with
read_noteorget_my_task - Coordinate with other agents via
list_agentsandread_agent_conversation - Update task notes with progress
- Report completion with
report_to_parent
Verifier Pattern
- Read spec and task notes
- Check git diff with workspace tools
- Run verification commands
- Report results with
report_to_parent
Tool Result Format
All tools return aToolResult with this structure:
Next Steps
Agent Tools
Learn about agent coordination and delegation
Task Tools
Understand task creation and lifecycle management
Note Tools
Master the spec workflow and task block parsing
Workspace Tools
Explore git integration and workspace management