Allow tool calling with any API by adding support to UTCP #6798
edujuan
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
TL;DR; UTCP adds support to do tool calling to any API without any additional servers or setup. Should this be added to Roo Code?
UTCP is a tool calling protocol that enables AI agents to call external APIs without any middleman servers, and which supports a variety of transport layers, from CLI tools to REST to sockets to GraphQL.
The tool calls are done identically to how MCP calls tools, give the tool name and the arguments, and receive a response.
Examples: https://github.com/universal-tool-calling-protocol/utcp-examples
Idea
Support Roo Code agents to also call tools using UTCP in addition to MCP.
Benefits
• Any API is supported, even if it doesn't have an MCP server
• APIs with built-in security maintain those security guarantees, and there's no need to trust third-party servers with any data
• Could support a large number of tools using tool searching functionalities
• Very low effort to add support for a new tool (copy paste the location on your PC or URL to a json manual)
Challenges
• There is a bit of implementation needed to add the UTCP Client
• UTCP is still quite young
Mitigations
• The UTCP maintainer team has volunteered to make the PR themselves if the Roo Code community wants it
• Feedback to UTCP is to be taken into consideration and implemented very fast, as it's not that large
MVP
Make UTCP return its calls alongside MCP in a way that it looks like it's just another MCP server. This requires very little implementation. It doesn't leverage the tool search capabilities of UTCP, but it still is good as a starting point.
Beta Was this translation helpful? Give feedback.
All reactions