|
|
|
|
|
by ants_everywhere
445 days ago
|
|
My bias is I generally think RPC is much nicer than REST. But what's kind of funny here is that we have (1) an RPC to call a (remote) method called "tools/call", which is a method that (2) calls a method called get_weather Both methods have arguments. But the arguments of "tools/call" are called "params" and the arguments of "get_weather" are called "arguments". I realize this is a common pattern when you have to shell out, e.g. in python's subprocess.run(). But it also seems like there could be a cleaner API with better types. |
|
What I realized was that these specs are valuable because they’re stable over long periods of time and handle many sorts of edge cases. Also from a systems integration perspective, everybody already knows and is trained in them. Over many years I accepted the wisdom of commons.
A lot of tooling already exists to make development of these sorts of systems easy to implement and debug. Hence why I think for Remote MCP servers, HTTP as it exists is a great choice.