Unable to produce correct `object` type tool call param
#18
by
arnrightnow
- opened
Not sure which step is the problem here, but you can have a stable reproduction of the issue using the update tool in Notion MCP.
The tool call param that GLM 4.7 produced:
<parameter name="data">{"command": "insert_content_after", "page_id": "[REDACTED]", "selection_with_ellipsis": "[REDACTED]"}</parameter>
For some reason it's parsed and interpreted as a JSON string instead of an object so the Notion MCP tool param validation failed since it expects an object.
Other models have no issue with it, for example, MiniMax M2.1 calls the tool successfully.
Are you using the API or the open-source model?