Invalid parameter name 'date-min' in tool definitions
Closed this issue · 1 comments
Harsh1tSh commented
I'm encountering an error when using the NASA MCP server with Python:
ValueError: 'date-min' is not a valid parameter name
The error occurs because the tool definitions in the server use parameter names with hyphens (like 'date-min'), which are not valid Python parameter names. Python parameter names cannot contain hyphens.
To fix this, the parameter names should be changed to use underscores instead, for example:
- 'date-min' should be 'date_min'
- Any other hyphenated parameter names should follow the same pattern
This change would make the server compatible with Python's parameter naming conventions while maintaining the same functionality.
ProgramComputer commented
It should be resolved in the latest version. Inform me of any further issues.