{"id":250802,"target_id":"15419aa756e22312","observed_at":"2026-12-02T21:31:50Z","from_subject":"sha256-WMTcLIotWNEiSu3MSJ45tChL002iE1kDlvPKdCODwbo=","to_subject":"sha256-IwEFGe/n25dl7znRku3aifYMoi4PrGOFHsuPkX88rEg=","from_toolset":"sha256-YiyYZx9Ueekj5IwZ+lkAaHCbugb6yM5nrULUapoC8W4=","to_toolset":"sha256-M+24Jr1wTYebm29+nhhuSZsoa6i4AA++19hMg9GSXTM=","summary":{"added":[],"removed":[],"modified":[{"tool":"connect_database","fields":{"description":[["=","Open a "],["-","read-only"],["+","SQLite"],["="," "],["-","connection"],["+","file"],["="," "],["-","to"],["+","or"],["="," "],["-","a"],["+","PostgreSQL"],["="," "],["-","database"],["+","database,"],["="," "],["-","and"],["+","then"],["="," discover its schema."],["-","\n\n"],["+"," "],["=","Use "],["-","this"],["+","only"],["="," "],["-","first."],["+","for"],["="," "],["-","For"],["+","a new or replacement connection. An existing alias is replaced."],["="," SQLite "],["-","pass"],["+","paths"],["="," "],["-","backend='sqlite'"],["+","are"],["="," "],["-","and"],["+","resolved"],["="," "],["-","database=<path to"],["+","on"],["="," the "],["-",".db"],["+","server"],["="," "],["-","file>."],["+","host."],["="," For PostgreSQL "],["-","pass"],["+","use"],["="," "],["-","backend='postgresql'"],["+","a"],["="," "],["-","with"],["+","dedicated"],["="," "],["-","host,"],["+","read-only"],["="," "],["-","port, database"],["+","role"],["="," and "],["-","username, and put"],["+","pass"],["="," the "],["-","password in an"],["+","password's"],["="," environment variable "],["-","named by password_env (the password itself is"],["+","name,"],["="," never "],["-","accepted"],["+","its"],["="," "],["-","as"],["+","value."],["="," "],["-","an"],["+","Non-local"],["="," "],["-","argument,"],["+","hosts"],["="," "],["-","so"],["+","require"],["="," "],["-","it"],["+","operator"],["="," "],["-","cannot"],["+","opt-in."],["="," "],["-","end up in a transcript).\n\n"],["=","Returns "],["-","the"],["+","connection"],["="," "],["-","server"],["+","details, database"],["="," version, whether "],["-","read-only"],["+","a test write"],["="," was "],["-","actually"],["+","refused,"],["="," "],["-","enforced,"],["+","schema"],["="," and "],["+","generated-tool counts. The write probe is "],["=","a "],["-","summary"],["+","diagnostic."],["="," "],["-","of"],["+","Use"],["="," "],["-","the"],["+","list_connections"],["="," "],["-","discovered"],["+","to"],["="," "],["-","schema."],["+","find"],["="," "],["-","Also"],["+","existing"],["="," "],["-","generates query_/sample_/profile_ tools for the tables it finds."],["+","aliases."]],"inputSchema":[{"path":"$.\"properties\".\"alias\".\"description\"","old":"\"Short name for this connection\"","new":"\"Connection name. Reusing it replaces that connection.\""},{"path":"$.\"properties\".\"database\".\"description\"","old":"\"SQLite file path, or PostgreSQL database name\"","new":"\"SQLite file on the server host, or PostgreSQL database name.\""},{"path":"$.\"properties\".\"host\".\"description\"","old":"\"PostgreSQL host\"","new":"\"PostgreSQL hostname. Defaults to localhost.\""},{"path":"$.\"properties\".\"password_env\".\"description\"","old":"\"Name of the env var holding the password\"","new":"\"Server environment variable name holding the PostgreSQL password.\""},{"path":"$.\"properties\".\"port\".\"description\"","old":"\"PostgreSQL port\"","new":"\"PostgreSQL port. Defaults to 5432.\""},{"path":"$.\"properties\".\"sslmode\".\"description\"","old":"\"PostgreSQL sslmode\"","new":"\"PostgreSQL TLS mode, e.g. verify-full. Optional.\""},{"path":"$.\"properties\".\"username\".\"description\"","old":"\"PostgreSQL user\"","new":"\"PostgreSQL role name. Use a dedicated read-only role.\""}]}},{"tool":"describe_relationships","fields":{"description":[["-","Every"],["+","Return declared"],["="," foreign-key "],["-","relationship"],["+","edges"],["="," "],["-","in"],["+","and their join columns across"],["="," the "],["-","database,"],["+","discovered"],["="," "],["-","as"],["+","schema,"],["="," "],["-","edges"],["+","plus"],["="," "],["-","between"],["+","the"],["="," "],["-","tables."],["+","edge"],["="," "],["-","This"],["+","count"],["="," "],["-","is how you work out which"],["+","and"],["="," tables "],["-","join"],["+","without"],["="," "],["-","to"],["+","a"],["="," "],["-","which,"],["+","detected relationship. Use this before a join. Use describe_table for specific column"],["="," and "],["-","in"],["+","key"],["="," "],["-","which direction, before writing a multi-table query."],["+","details."]],"inputSchema":[{"path":"$.\"properties\".\"alias\".\"description\"","new":"\"Alias from list_connections. Omit only when exactly one database is open.\""}]}},{"tool":"describe_table","fields":{"description":[["=","Full detail for one table: every column with its type, nullability and default; the primary key; "],["+","declared "],["=","foreign "],["-","keys in and out;"],["+","keys;"],["="," indexes; and unique constraints. Use before "],["-","writing"],["+","querying"],["="," "],["-","a"],["+","an"],["="," "],["-","query"],["+","unfamiliar"],["="," "],["-","against"],["+","table."],["="," "],["-","a"],["+","Use"],["="," "],["-","table"],["+","get_table_sample"],["="," "],["-","you"],["+","for"],["="," "],["-","have"],["+","row"],["="," "],["-","not"],["+","values"],["="," "],["-","seen."],["+","or describe_relationships for the database-wide join map."]],"inputSchema":[{"path":"$.\"properties\".\"alias\".\"description\"","new":"\"Alias from list_connections. Omit only when exactly one database is open.\""},{"path":"$.\"properties\".\"table\".\"description\"","new":"\"Table or view name from list_tables, e.g. public.orders.\""}]}},{"tool":"disconnect_database","fields":{"description":[["=","Close "],["-","a"],["+","the"],["="," connection"],["+"," identified by alias, discard its cached schema,"],["="," and remove "],["-","its"],["+","the"],["="," generated "],["-","tools."],["+","tools for that alias. Keeps the database and the other connections. Returns the closed alias. Use list_connections to select an open connection."]],"inputSchema":[{"path":"$.\"properties\".\"alias\".\"description\"","new":"\"Open connection alias from list_connections.\""}]}},{"tool":"execute_readonly_query","fields":{"description":[["=","Run "],["-","a"],["+","one validated"],["="," read-only SQL "],["-","query"],["+","statement"],["="," "],["-","and get"],["+","in"],["="," the "],["-","rows"],["+","connected"],["="," "],["-","back.\n\nOnly"],["+","database's dialect. Use this for joins, aggregations, or queries without"],["="," a "],["-","single"],["+","generated"],["="," "],["-","SELECT"],["+","tool."],["="," "],["-","(or WITH ... SELECT) is accepted. Anything that writes, changes schema or reaches the filesystem is refused before it runs, and the refusal explains which construct was the problem.\n\nPass"],["+","Bind"],["="," values through "],["-","`parameters`"],["+","parameters"],["="," with :name "],["-","placeholders"],["+","placeholders."],["="," "],["-","rather than formatting them into the SQL. That is both safer and faster.\n\n"],["=","Returns columns, rows, "],["-","a"],["+","returned"],["="," row "],["-","count,"],["+","count"],["="," and"],["+"," truncation; narrow or aggregate"],["="," a truncated "],["-","flag."],["+","result."],["="," "],["-","If"],["+","Policy"],["="," "],["-","truncated"],["+","refusals"],["="," "],["-","is"],["+","return"],["="," "],["-","true"],["+","an"],["="," "],["-","you"],["+","error"],["="," "],["-","are"],["+","and"],["="," "],["-","seeing"],["+","reason."],["="," "],["-","only"],["+","Call explain_sql_policy for"],["="," the "],["-","first max_rows rows; narrow the query or aggregate rather than assuming you saw everything."],["+","rules."]],"inputSchema":[{"path":"$.\"properties\".\"alias\".\"description\"","new":"\"Alias from list_connections. Omit only when exactly one database is open.\""},{"path":"$.\"properties\".\"max_rows\".\"description\"","old":"\"Most rows to return\"","new":"\"Requested rows, subject to the server cap.\""},{"path":"$.\"properties\".\"parameters\".\"description\"","old":"\"Values for :name placeholders\"","new":"\"Bind values by placeholder name without the colon, e.g. {'id': 7}.\""},{"path":"$.\"properties\".\"sql\".\"description\"","old":"\"A single read-only SQL statement\"","new":"\"One read query, e.g. SELECT or WITH ... SELECT.\""}]}},{"tool":"explain_sql_policy","fields":{"description":[["-","The"],["+","Read"],["="," "],["-","exact"],["+","the"],["="," "],["-","rules"],["+","SQL"],["="," "],["-","this"],["+","validation"],["="," "],["-","server"],["+","policy"],["="," "],["-","applies"],["+","without connecting"],["="," to "],["-","SQL"],["+","a"],["="," "],["-","before"],["+","database."],["="," "],["-","running"],["+","Returns"],["="," "],["-","it: which"],["+","accepted"],["="," statement "],["-","types"],["+","categories,"],["="," "],["-","are allowed, which"],["+","rejected"],["="," constructs and "],["-","functions are refused,"],["+","functions,"],["="," and "],["-","the"],["+","enforcement"],["="," "],["-","three"],["+","layers."],["="," "],["-","layers"],["+","Use"],["="," "],["-","of enforcement. Call this when"],["+","after"],["="," a "],["-","query"],["+","policy"],["="," "],["-","was rejected and you want"],["+","refusal"],["="," to "],["-","know"],["+","choose"],["="," "],["-","how"],["+","a"],["="," "],["-","to"],["+","supported"],["="," "],["-","rewrite"],["+","read"],["="," "],["-","it."],["+","query, or before submitting unfamiliar SQL."]]}},{"tool":"get_database_overview","fields":{"description":[["-","A"],["+","Summarize"],["="," "],["-","high-level"],["+","the"],["="," "],["-","picture"],["+","discovered"],["="," "],["-","of"],["+","schema for one connection: table, view and foreign-key counts, largest tables, and discovery time. Use this first to gauge scope, then list_tables for individual names or describe_relationships for join keys. Uses cached metadata. Call refresh_schema after"],["="," a "],["-","database: how many tables and views, how many relationships, the largest tables by row count, and how long discovery took. Start here on an unfamiliar database."],["+","migration."]],"inputSchema":[{"path":"$.\"properties\".\"alias\".\"description\"","new":"\"Alias from list_connections. Omit only when exactly one database is open.\""}]}},{"tool":"get_table_sample","fields":{"description":[["-","A"],["+","Preview"],["="," "],["-","handful"],["+","a small number"],["="," of rows from a "],["-","table,"],["+","named"],["="," "],["-","to"],["+","table"],["="," "],["-","see"],["+","or"],["="," "],["-","what"],["+","view, even when no per-table sample tool exists. Returns columns, rows, and"],["="," the "],["-","data"],["+","returned"],["="," "],["-","actually"],["+","row"],["="," "],["-","looks"],["+","count."],["="," "],["-","like."],["+","Order"],["="," "],["-","Cheaper"],["+","is"],["="," "],["-","and"],["+","unspecified."],["="," "],["-","safer"],["+","Use"],["="," "],["-","than"],["+","profile_table"],["="," "],["-","SELECT"],["+","for"],["="," "],["-","*"],["+","quality"],["="," "],["-","when"],["+","statistics"],["="," "],["-","you"],["+","or"],["="," "],["-","only"],["+","execute_readonly_query"],["="," "],["-","want"],["+","for"],["="," a "],["-","feel"],["+","filtered,"],["="," "],["-","for"],["+","ordered,"],["="," "],["-","the"],["+","or"],["="," "],["-","contents."],["+","aggregate result."]],"inputSchema":[{"path":"$.\"properties\".\"alias\".\"description\"","new":"\"Alias from list_connections. Omit only when exactly one database is open.\""},{"path":"$.\"properties\".\"limit\".\"description\"","old":"\"Rows to return\"","new":"\"Requested sample rows, subject to the server's row cap.\""},{"path":"$.\"properties\".\"table\".\"description\"","new":"\"Table or view name from list_tables, e.g. public.orders.\""}]}},{"tool":"list_connections","fields":{"description":[["=","List "],["-","the"],["+","open"],["="," "],["-","open"],["+","database"],["="," connections and "],["-","which"],["+","their aliases without opening a connection or querying a database. Returns connection metadata without password values, count, and the default alias when exactly"],["="," one "],["+","connection "],["=","is "],["-","the"],["+","open."],["="," "],["-","default."],["+","Use before passing an explicit alias to schema or query tools."]]}},{"tool":"list_tables","fields":{"description":[["-","List"],["+","Find"],["="," tables and "],["-","views,"],["+","views"],["="," "],["-","optionally"],["+","in"],["="," "],["-","filtered"],["+","the"],["="," "],["-","by"],["+","discovered"],["="," "],["-","a"],["+","schema"],["="," "],["-","glob"],["+","before"],["="," "],["-","such"],["+","choosing"],["="," "],["-","as"],["+","one"],["="," "],["-","'sales_*'."],["+","to inspect."],["="," Returns "],["-","each"],["+","qualified"],["="," "],["-","one's"],["+","names, kind, primary keys, approximate"],["="," row "],["-","count"],["+","counts,"],["="," and column "],["-","count"],["+","counts."],["="," "],["-","so"],["+","Use"],["="," "],["-","you"],["+","describe_table"],["="," "],["-","can"],["+","for"],["="," "],["-","see"],["+","column"],["="," "],["-","what"],["+","details"],["="," "],["-","is"],["+","or"],["="," "],["-","worth"],["+","get_database_overview"],["="," "],["-","looking"],["+","for"],["="," "],["-","at before describing it in full."],["+","totals."]],"inputSchema":[{"path":"$.\"properties\".\"alias\".\"description\"","new":"\"Alias from list_connections. Omit only when exactly one database is open.\""},{"path":"$.\"properties\".\"pattern\".\"description\"","old":"\"Glob filter, e.g. 'fact_*'\"","new":"\"Case-insensitive glob on the qualified name, e.g. public.sales_*.\""}]}},{"tool":"profile_table","fields":{"description":[["=","Statistics for a table, computed in the database rather than by reading rows: null counts, distinct counts, min/max, mean and standard deviation for numeric columns, the most common values, and a list of data-quality findings such as mostly-null or constant columns and missing primary keys. Each finding carries "],["+","evidence. Use get_table_sample to see row values. On large or wide tables, profile only "],["=","the "],["-","evidence"],["+","columns"],["="," "],["-","behind"],["+","you"],["="," "],["-","it."],["+","need."]],"inputSchema":[{"path":"$.\"properties\".\"alias\".\"description\"","new":"\"Alias from list_connections. Omit only when exactly one database is open.\""},{"path":"$.\"properties\".\"columns\".\"description\"","old":"\"Limit to these columns\"","new":"\"Exact column names from describe_table. Omit to profile all columns.\""},{"path":"$.\"properties\".\"table\".\"description\"","new":"\"Table or view name from list_tables, e.g. public.orders.\""}]}},{"tool":"refresh_schema","fields":{"description":[["-","Re-run"],["+","Re-discover the"],["="," schema "],["-","discovery"],["+","for"],["="," "],["-","and"],["+","an"],["="," "],["-","rebuild"],["+","open"],["="," "],["-","the generated table tools. Use"],["+","connection"],["="," after "],["-","the"],["+","tables,"],["="," "],["-","database"],["+","views"],["="," "],["-","schema"],["+","or"],["="," "],["-","has"],["+","columns"],["="," "],["-","changed;"],["+","change."],["="," "],["-","otherwise"],["+","Replaces"],["="," "],["-","the"],["+","that connection's"],["="," cached schema "],["-","is"],["+","and"],["="," "],["-","used."],["+","generated tools, then returns the new overview and generated-tool counts. Use get_database_overview to read the current cache."]],"inputSchema":[{"path":"$.\"properties\".\"alias\".\"description\"","new":"\"Alias from list_connections. Omit only when exactly one database is open.\""}]}}],"detail":"full","newAddresses":[],"newAddressesTotal":0},"label_id":"urn:uuid:3175c4c5-fe09-43c2-b374-8fd37ff4b37e","run_id":503227,"from_package_version":"0.1.0","to_package_version":"0.2.0","from_server_version":"0.1.0","to_server_version":"0.2.0","from_registry_version":"0.1.0","to_registry_version":"0.2.0","name":"io.github.mqfarooqi1/datapilot-mcp","endpoint":"pypi:datapilot-mcp","title":"DataPilot"}