I use the DuckDuckGo MCP server and the 'DuckDuckGo_search' function has as property the following format:
"max_results": {
"default": 10,
"title": "Max Results",
"type": "integer"
}
which gives me a 400 Error: Bad Request with a field violation for the 'default' field.
It seems that Gemini is not compatible with that kind of JSON schema.
Is it possible to allow that schema, because many other MCP servers has this schema too.
Since MCP is becoming a standard protocol it would be nice that the Anthropic JSON schema used would be compatible too.
Thank you