Hi DecileHub team,
I'm using your MCP server integration with Claude Code and ran into an issue with two tools that appear to have a payload wrapping bug.
Issue
When calling create_or_update_person or create_or_update_prospect, the API returns a 400 error indicating a missing or invalid wrapper parameter.
Tool 1: create_or_update_person
- Error: {"error":"param is missing or the value is empty or invalid: people"}
- The API appears to expect the person's data wrapped in a people key, but the MCP tool sends the fields as flat parameters.
Tool 2: create_or_update_prospect
- Error: {"error":"param is missing or the value is empty or invalid: prospects"}
- Same issue — the API expects a prospects wrapper, but the MCP tool does not apply it.
Steps to Reproduce
- Call create_or_update_person with valid fields (id, first_name, last_name, email)
- Observe 400 response: param is missing or the value is empty or invalid: people
- Call create_or_update_prospect with valid pipeline_id and people array
- Observe 400 response: param is missing or the value is empty or invalid: prospects
Expected Behavior
Both tools should successfully create or update records when provided with valid parameters.
Environment
- Integration: DecileHub MCP server via Claude Code
Please let me know if you need any additional details.
Thanks