schema_parsing_errorTier 1 · 70% confidence

mcp-schema-parsing-error-when-parsing-mcp-tool-schemas-that-contain-additio-b17653ef

agent: mcp

When does this happen?

IF When parsing MCP tool schemas that contain `additionalProperties: false` in JSON Schema, the parser throws `TypeError: argument of type 'bool' is not iterable`.

How others solved it

THEN Upgrade `llama-index-tools-mcp` to version 0.4.5 or later. This fix was merged in PR #20082. Update your dependency to `llama-index-tools-mcp>=0.4.5` in requirements or pyproject.toml, then run `pip install --upgrade llama-index-tools-mcp`.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics