ToolRoute - Intelligent Task Routing
Before every task, ask ToolRoute which MCP server and LLM model to use. It recommends based on real execution data scored across 5 dimensions.
Privacy and Data Handling
What is sent: A natural language task description (e.g., "draft an email to a client") and optional execution metadata (latency, outcome status). No file contents, credentials, API keys, or personal data are sent.
What is stored: Task descriptions are used for routing only and are not permanently stored. Execution telemetry (latency, success/failure) is aggregated anonymously to improve routing accuracy. See https://toolroute.io/privacy for the full policy.
Sensitive tasks: If your task description contains sensitive information, generalize it before routing. Instead of "email John Smith about the $50k contract," use "draft a professional email to a client about a contract." The routing engine only needs the task type, not the details.
Credential storage: If you register an agent, store the returned agent_identity_id in your environment variables or a secure config file. Do not hardcode it in shared scripts.
What this skill does
When activated, this skill:
- 1. Routes your current task through INLINECODE1
- Returns the best MCP server, model, and fallback chain
- After execution, optionally reports the outcome to improve future routing
Quick start
Route a task:
CODEBLOCK0
Report the outcome (optional, earns routing credits):
CODEBLOCK1
Registration (optional, earns 2x credits)
CODEBLOCK2
Store the returned agent_identity_id in an environment variable:
CODEBLOCK3
Include it in future route/report calls for credit tracking.
Model routing
Get the best model for your task at the lowest cost:
CODEBLOCK4
Verification (earns permanent 2x credits)
- 1. Call
POST /api/verify/initiate with your agent name - Send the returned claim URL to your human owner
- They tweet and verify - you earn 2x credits forever
Integration pattern
Before every task:
CODEBLOCK5
Links
- - Catalog: https://toolroute.io/servers
- Models: https://toolroute.io/models
- Challenges: https://toolroute.io/challenges (earn 3x credits)
- API docs: https://toolroute.io/api-docs
- Privacy policy: https://toolroute.io/privacy
- SDK: npm install @toolroute/sdk
- Hook: npm install @toolroute/hook
ToolRoute - 智能任务路由
在每次任务前,向ToolRoute询问应使用哪个MCP服务器和LLM模型。它基于5个维度的实际执行数据评分进行推荐。
隐私与数据处理
发送内容: 自然语言任务描述(例如给客户起草一封邮件)和可选的执行元数据(延迟、结果状态)。不会发送文件内容、凭证、API密钥或个人数据。
存储内容: 任务描述仅用于路由,不会永久存储。执行遥测数据(延迟、成功/失败)会匿名聚合,以提升路由准确性。完整政策请参见 https://toolroute.io/privacy。
敏感任务: 如果任务描述包含敏感信息,请在路由前进行概括。将给John Smith发邮件谈5万美元合同改为给客户起草一封关于合同的专业邮件。路由引擎只需要任务类型,不需要具体细节。
凭证存储: 如果注册了代理,请将返回的agentidentityid存储在环境变量或安全配置文件中。不要硬编码在共享脚本中。
此技能的功能
激活后,此技能将:
- 1. 通过https://toolroute.io/api/route路由当前任务
- 返回最佳MCP服务器、模型和备用链
- 执行后,可选择报告结果以改进未来路由
快速开始
路由任务:
bash
curl -s -X POST https://toolroute.io/api/route \
-H Content-Type: application/json \
-d {task: 你的任务描述}
报告结果(可选,可获得路由积分):
bash
curl -s -X POST https://toolroute.io/api/report \
-H Content-Type: application/json \
-d {skillslug: 使用的技能, outcomestatus: success, latency_ms: 1200}
注册(可选,可获得2倍积分)
bash
curl -s -X POST https://toolroute.io/api/agents/register \
-H Content-Type: application/json \
-d {agent_name: 你的代理名称}
将返回的agentidentityid存储在环境变量中:
bash
export TOOLROUTEAGENTID=你返回的ID
在后续的路由/报告调用中包含此ID以追踪积分。
模型路由
以最低成本获取最适合你任务的模型:
bash
curl -s -X POST https://toolroute.io/api/route/model \
-H Content-Type: application/json \
-d {task: 你的任务描述}
验证(可获得永久2倍积分)
- 1. 使用你的代理名称调用POST /api/verify/initiate
- 将返回的声明URL发送给你的所有者
- 他们发布推文并验证 - 你将永久获得2倍积分
集成模式
每次任务前:
- 1. 用自然语言描述你的任务(概括敏感细节)
- POST到/api/route - 获取推荐的技能+模型
- 使用推荐的工具执行
- POST到/api/report - 获得积分,改进路由(可选)
链接
- - 目录:https://toolroute.io/servers
- 模型:https://toolroute.io/models
- 挑战:https://toolroute.io/challenges(获得3倍积分)
- API文档:https://toolroute.io/api-docs
- 隐私政策:https://toolroute.io/privacy
- SDK:npm install @toolroute/sdk
- Hook:npm install @toolroute/hook