With the Model Context Provider integration, I see the packets sent from HA to Ollama are not including the description for each tool parameter (right now, they only include the type of the parameter). The description is being added by other MCP clients like LibreChat, and leads to improved results. Can we please add this “description” field when populating the tools field sent across to Ollama? This is how LibreChat is doing it, i.e. the “inputSchema” from the MCP reference client TypeScript SDK
One use case I’ve run into where this feature in LibreChat noticably helps is to hint to the LLM that the ISO 8601 string the model suggests for populating the parameter must include seconds and also specify a particular timezone offset.
Edit: it looks like this Description is being dropped when it’s converted using “Voluptuous” at this line in the MCP integration