Minimal repro: Decile MCP write endpoints fail due to missing top-level array envelope
Decile MCP read endpoints work, but multiple write endpoints fail with the same validation error indicating the wrapper is not nesting records under the required top-level key.
- Toolkit: Decile MCP
- Auth: valid
- Confirmed working reads: list_people, check_api_key_status, debug_api_request
Input:
json
{
"first_name": "Test",
"last_name": "User",
"email": "test@example.com"
}
Actual error:
text
param is missing or the value is empty or invalid: people
Actual error:
text
param is missing or the value is empty or invalid: prospects
Actual error:
text
param is missing or the value is empty or invalid: prospects
Wrapper should send:
json
{ "people": [ ... ] }
or
json
{ "prospects": [ ... ] }
MCP wrapper posts record fields flat instead of wrapping them in the API’s required envelope.