From 33655cc4e4f638615e2af7d14f88c74e78de1dc7 Mon Sep 17 00:00:00 2001 From: Matvey Arye Date: Wed, 15 Oct 2025 10:55:53 +0200 Subject: [PATCH] Add explicit warning to with_password schema description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates the with_password parameter description in MCP tools to include an explicit warning: "NEVER set to true unless the user explicitly asks for the password." This helps prevent AI assistants from accidentally including passwords in responses or connection strings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- internal/tiger/mcp/service_tools.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/tiger/mcp/service_tools.go b/internal/tiger/mcp/service_tools.go index d063cdd6..6512a8d8 100644 --- a/internal/tiger/mcp/service_tools.go +++ b/internal/tiger/mcp/service_tools.go @@ -80,7 +80,7 @@ func setServiceIDSchemaProperties(schema *jsonschema.Schema) { // setWithPasswordSchemaProperties sets common with_password schema properties func setWithPasswordSchemaProperties(schema *jsonschema.Schema) { - schema.Properties["with_password"].Description = "Whether to include the password in the response and connection string." + schema.Properties["with_password"].Description = "Whether to include the password in the response and connection string. NEVER set to true unless the user explicitly asks for the password." schema.Properties["with_password"].Default = util.Must(json.Marshal(false)) schema.Properties["with_password"].Examples = []any{false, true} }