curl -X GET "https://api.danubeai.com/v1/tools/recommended?tool_id=tool_abc123&limit=5" \
-H "danube-api-key: YOUR_API_KEY"
[
{
"tool_id": "tool_def456",
"tool_name": "Slack - Send Message",
"description": "Send a message to a Slack channel",
"service_id": "svc_slack_001",
"service_name": "Slack",
"service_logo": "https://slack.com/favicon.ico",
"reason": "Often used after this tool",
"score": 0.82
},
{
"tool_id": "tool_ghi789",
"tool_name": "Gmail - Send Email",
"description": "Send an email via Gmail",
"service_id": "svc_gmail_001",
"service_name": "Gmail",
"service_logo": "https://mail.google.com/favicon.ico",
"reason": "Same category",
"score": 0.61
}
]
Tools
Get Recommendations
Get tool recommendations
GET
/
v1
/
tools
/
recommended
curl -X GET "https://api.danubeai.com/v1/tools/recommended?tool_id=tool_abc123&limit=5" \
-H "danube-api-key: YOUR_API_KEY"
[
{
"tool_id": "tool_def456",
"tool_name": "Slack - Send Message",
"description": "Send a message to a Slack channel",
"service_id": "svc_slack_001",
"service_name": "Slack",
"service_logo": "https://slack.com/favicon.ico",
"reason": "Often used after this tool",
"score": 0.82
},
{
"tool_id": "tool_ghi789",
"tool_name": "Gmail - Send Email",
"description": "Send an email via Gmail",
"service_id": "svc_gmail_001",
"service_name": "Gmail",
"service_logo": "https://mail.google.com/favicon.ico",
"reason": "Same category",
"score": 0.61
}
]
Overview
Get tool recommendations based on co-usage patterns. Optionally pass atool_id to find tools frequently used together with it. Without a tool_id, returns popular tools or personalized recommendations.
Auth: Optional (works with or without authentication). Authenticated requests may return personalized results.
Query Parameters
Response
Returns an array of recommended tool objects.Example
curl -X GET "https://api.danubeai.com/v1/tools/recommended?tool_id=tool_abc123&limit=5" \
-H "danube-api-key: YOUR_API_KEY"
[
{
"tool_id": "tool_def456",
"tool_name": "Slack - Send Message",
"description": "Send a message to a Slack channel",
"service_id": "svc_slack_001",
"service_name": "Slack",
"service_logo": "https://slack.com/favicon.ico",
"reason": "Often used after this tool",
"score": 0.82
},
{
"tool_id": "tool_ghi789",
"tool_name": "Gmail - Send Email",
"description": "Send an email via Gmail",
"service_id": "svc_gmail_001",
"service_name": "Gmail",
"service_logo": "https://mail.google.com/favicon.ico",
"reason": "Same category",
"score": 0.61
}
]
MCP Tool
This endpoint is also available as theget_recommendations MCP tool:
result = await mcp.call_tool("get_recommendations", {
"tool_id": "tool_abc123",
"limit": 5
})
