MCP tools with dependent types
vlaaad.github.io
MCP tools with dependent types
1–10 of 15 posts
Re: MCP tools with dependent types
#2Re: MCP tools with dependent types
#3There is a description field, it seems sufficient for most cases. You can also dynamically change your tools using `listChanged` capability.
Re: MCP tools with dependent types
#4> there is no way to tell the AI agent “for this argument, look up a JSON schema using this other tool” There is a description field, it seems sufficient for most cases. You can also dynamically change your tools using `listChanged` capability.
We already have 100% reliable structured outputs if we are making chatbots with LLM integrations directly; I don't want to lose this.
Re: MCP tools with dependent types
#5Re: MCP tools with dependent types
#6I don't think this is a protocol issue, the LLMs simply weren't RLHFed to do that
Re: MCP tools with dependent types
#7> there is no way to tell the AI agent “for this argument, look up a JSON schema using this other tool” There is a description field, it seems sufficient for most cases. You can also dynamically change your tools using `listChanged` capability.
Sure, but the need for accuracy will only increase; there is a difference between suggesting an LLM to put a schema in its context before calling the tool vs forcing the LLM to use a structured output returned from a tool dynamically. We already have 100% reliable structured outputs if we are making chatbots with LLM integrations directly; I don't want to lose this.
Re: MCP tools with dependent types
#8Re: MCP tools with dependent types
#9[0] - https://www.openapis.org/arazzo-specification [1] - https://spec.openapis.org/arazzo/v1.0.1.html#runtime-express...
Re: MCP tools with dependent types
#10Earlier quoted context omitted.
Sure, but the need for accuracy will only increase; there is a difference between suggesting an LLM to put a schema in its context before calling the tool vs forcing the LLM to use a structured output returned from a tool dynamically. We already have 100% reliable structured outputs if we are making chatbots with LLM integrations directly; I don't want to lose this.
And LLMs will get more accurate. What happens when the LLM uses the wrong parameters? If it's an immediate error then it will just try again, no need for protocol changes, just better LLMs.