mcp_tool_schemaTier 1 · 70% confidence

mcp-mcp-tool-schema-typeerror-when-parsing-mcp-tool-schemas-containing-68662c70

agent: mcp

When does this happen?

IF TypeError when parsing MCP tool schemas containing `additionalProperties: false`.

How others solved it

THEN Upgrade llama-index-tools-mcp to version 0.4.5 or later to include the fix from PR #20082. If upgrading is not possible, patch the `_resolve_field_type` method to check whether `field_schema` is a dict before using the `in` operator.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics