| name | toolrosetta-tool-standardization |
| title | ToolRosetta: Automated Tool Standardization for LLM Agents |
| version | 0.0.3 |
| engine | skillxiv-v0.0.3-claude-opus-4.6 |
| license | MIT |
| url | https://arxiv.org/abs/2603.09290 |
| keywords | ["Tool Standardization","MCP","LLM Agents","API Patterns","Tool Integration"] |
| description | Automate conversion of 630M+ heterogeneous GitHub repositories into standardized Model Context Protocol (MCP) services via hierarchical multi-agent system. Achieves 68.4% success rate after three repair cycles, 210s per repository versus 1589s manual; increases agent performance by 10.6–13.4% when integrated into existing systems. Use when scaling tool availability beyond manually curated sets. |
Capability Gap
GitHub hosts over 630M repositories with practical tools embedded in heterogeneous code. Yet LLM agents operate with severely limited tool sets (5 tools in ToolFormer, 500+ in SciToolAgent). Manual standardization of each tool requires:
- Parsing code and dependencies
- Understanding function signatures and semantics
- Rewriting interfaces and designing schemas
- Creating executable wrappers
This scales infeasibly; only centralized platforms and large organizations can maintain tool catalogs.
Core Abstractions: Hierarchical Multi-Agent Architecture
class ToolRosettaSystem:
"""
Four specialized agents orchestrate conversion of heterogeneous repos
into standardized MCP services.
"""
def __init__(self):
self.tool_search_agent = ToolSearchAgent()
self.mcp_construction_agent = MCPConstructionAgent()
self.planning_agent = PlanningAgent()
self.security_agent = SecurityAgent()
def standardize_tool(self, tool_query, candidate_repos):
"""
Pipeline: search → analyze → construct → secure → deploy.
Achieves 68.4% success after three repair cycles.
"""
relevant_repos = self.tool_search_agent.retrieve_repos(
tool_query, candidate_repos
)
mcp_services = []
for repo in relevant_repos:
service = self.mcp_construction_agent.transform(
repo_path=repo.path,
stages=[
"clone_repo",
"analyze_dependencies",
"configure_environment",
"generate_service"
]
)
mcp_services.append(service)
execution_plan = self.planning_agent.plan_workflow(
tool_query, mcp_services
)
vetted_services = [
svc for svc in mcp_services
if self.security_agent.inspect(svc).is_safe
]
return execution_plan, vetted_services
Design Decisions
Multi-Stage Conversion Pipeline
Each agent specializes in distinct concerns:
- Tool-Search Agent: Retrieves relevant repositories via semantic parsing of tool descriptions and functional alignment scoring
- MCP-Construction Agent: Transforms repositories through automated cloning, dependency analysis, environment configuration, and service generation
- Planning Agent: Orchestrates multi-tool workflows and handles composition
- Security Agent: Inspects generated services for vulnerabilities before deployment
Iterative Repair Cycles
Successful conversion improves dramatically with iteration:
- First pass: 53.0% success across 122 repositories
- After three repair cycles: 68.4% success
- Agents learn to fix common failures: missing dependencies, API mismatches, schema errors
Python-First Focus
Current implementation targets Python repositories citing:
- Standardized dependency declarations (requirements.txt, setup.py, pyproject.toml)
- Accessible function interfaces and introspection support
- Pragmatic entry point for proof-of-concept
Authors emphasize extensibility to R, C++, JavaScript, Java through backend adaptation layers.
Integration Patterns
Downstream Task Improvement
When ToolRosetta-converted tools integrate into existing agent systems:
| System | Baseline Performance | With ToolRosetta | Improvement |
|---|
| RepoMaster | Baseline | Baseline + tools | +10.6% |
| OpenAgents | Baseline | Baseline + tools | +13.4% |
Performance gains show converted tools function as transferable infrastructure, not tied to specific agent architectures.
Standard MCP Interface
All generated services expose Model Context Protocol endpoints:
/tools
/resources
/prompts
This standardization enables any MCP-compatible agent to invoke converted tools without custom integration.
Conditions
- Repository language: Python (current); extensible to R, C++, JavaScript, Java
- Dependency declarations: Must be parseable (pip, conda, or language-native managers)
- Function signatures: Publicly accessible and inspectable
- Scale: Tested on 122 repositories; designed for massively parallel deployment
- Success criteria: Functional MCP service passing security inspection and task validation
Integration Checklist