You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior: MCP exposes queryLogs(action="searchLogs"), but the canonical CloudBase manager API name searchClsLog is not exposed as a direct tool entry. In the representative trace the model never discovered queryLogs; it fell back to queryFunctions log listing/detail calls instead.
Expected behavior: models and evaluators that already know the canonical searchClsLog concept should be able to find and use a direct MCP entry without translating through queryLogs(action="searchLogs").
Proposed direction
Add a direct read-only searchClsLog tool alias that maps to the existing log search handler
Keep queryLogs for higher-level entry, but clarify in tool metadata/docs that queryLogs(action="searchLogs") is the same underlying capability as searchClsLog
Regenerate tool docs/artifacts and add focused tests for the alias
Signal
Why this is actionable
mcp/src/tools/logs.ts,mcp/src/server.tsqueryLogs(action="searchLogs"), but the canonical CloudBase manager API namesearchClsLogis not exposed as a direct tool entry. In the representative trace the model never discoveredqueryLogs; it fell back toqueryFunctionslog listing/detail calls instead.searchClsLogconcept should be able to find and use a direct MCP entry without translating throughqueryLogs(action="searchLogs").Proposed direction
searchClsLogtool alias that maps to the existing log search handlerqueryLogsfor higher-level entry, but clarify in tool metadata/docs thatqueryLogs(action="searchLogs")is the same underlying capability assearchClsLog