stop base_authenticated_tool log spam
This happens simply when using an MCPToolset with no authentication settings.
INFO: 127.0.0.1:59467 - "GET /debug/trace/c3fcad2f-8e80-4b75-af8a-01cf5d7d0452 HTTP/1.1" 200 OK 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. INFO: 127.0.0.1:60636 - "GET /apps/xff_agent/users/user/sessions/372459fe-8694-4783-b141-0d403b37003f/events/c3fcad2f-8e80-4b75-af8a-01cf5d7d0452/graph HTTP/1.1" 200 OK build graph 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. INFO: 127.0.0.1:60636 - "GET /apps/xff_agent/users/user/sessions/372459fe-8694-4783-b141-0d403b37003f/events/c3fcad2f-8e80-4b75-af8a-01cf5d7d0452/graph HTTP/1.1" 200 OK build graph 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:27 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:28 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:28 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:28 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:28 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:28 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:28 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:28 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:28 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required. 2025-09-05 17:25:28 WARNING: [tools/base_authenticated_tool.py:init] auth_config or auth_config.auth_scheme is missing. Will skip authentication.Using FunctionTool instead if authentication is not required.
Would be interested as well in how to disable them. When the MCPs are deployed as sidecar containers, they don't need authentication setup, so it is not an issue.
The log is spammed every time agents call the tools. When you deploy adk as a cloud application, it logs so many warnings that are false-positives.
It should be allowed to have McpTools w/o authentication.
Fixed in https://github.com/google/adk-python/commit/11571c37ab948d43cbaa3a1d82522256dfe4d467. Closing.