The search_logs and execute_query tools fail with:
Validation Error in search_logs: Invalid search parameters: Missing required parameter 'timeZone' for search API. Expected: string
Problem
The Sumo Logic Search API requires a timeZone parameter, but the MCP tool schema doesn't expose it as a parameter. There's no way to provide it when calling the tool.
Steps to reproduce
- Configure MCP server with valid credentials
- Call
search_logs with query, from_time, to_time parameters
- Error occurs immediately
Expected behavior
Either:
- Expose
timeZone as an optional parameter with a sensible default (e.g., "UTC")
- Or hardcode a default timezone internally before calling the API
Environment
- sumologic-mcp-python version: 0.1.2
- Python version: 3.12
- OS: Linux (WSL2)
Workaround
Monitor and alert tools (list_monitors, get_active_alerts, get_monitor_status) work correctly. Only the search tools are affected.
The
search_logsandexecute_querytools fail with:Problem
The Sumo Logic Search API requires a
timeZoneparameter, but the MCP tool schema doesn't expose it as a parameter. There's no way to provide it when calling the tool.Steps to reproduce
search_logswith query, from_time, to_time parametersExpected behavior
Either:
timeZoneas an optional parameter with a sensible default (e.g., "UTC")Environment
Workaround
Monitor and alert tools (
list_monitors,get_active_alerts,get_monitor_status) work correctly. Only the search tools are affected.