<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tools on MCP Toolbox for Databases</title><link>/integrations/mssql/tools/</link><description>Recent content in Tools on MCP Toolbox for Databases</description><generator>Hugo</generator><language>en-us</language><atom:link href="/integrations/mssql/tools/index.xml" rel="self" type="application/rss+xml"/><item><title>mssql-execute-sql</title><link>/integrations/mssql/tools/mssql-execute-sql/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/integrations/mssql/tools/mssql-execute-sql/</guid><description>&lt;h2 id="about"&gt;About&lt;/h2&gt;
&lt;p&gt;A &lt;code&gt;mssql-execute-sql&lt;/code&gt; tool executes a SQL statement against a SQL Server
database. It&amp;rsquo;s compatible with any of the following sources:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;mssql-execute-sql&lt;/code&gt; takes one input parameter &lt;code&gt;sql&lt;/code&gt; and run the sql
statement against the &lt;code&gt;source&lt;/code&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This tool is intended for developer assistant workflows with
human-in-the-loop and shouldn&amp;rsquo;t be used for production agents.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="compatible-sources"&gt;Compatible Sources&lt;/h2&gt;





&lt;div class="compatibility-section"&gt;
 &lt;p&gt;This tool can be used with the following database sources:&lt;/p&gt;

 &lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Source Name&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 
 
 &lt;tr&gt;
 &lt;td&gt;&lt;a href="/integrations/mssql/source/"&gt;SQL Server Source&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 

 

 
 
 
 
 
 

 
 &lt;tr&gt;
 &lt;td&gt;&lt;a href="/integrations/cloud-sql-mssql/source/"&gt;Cloud SQL for SQL Server Source&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 
 
 
 &lt;/tbody&gt;
 &lt;/table&gt;
&lt;/div&gt;

&lt;h2 id="example"&gt;Example&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;tool&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;execute_sql_tool&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;mssql-execute-sql&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;source&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;my-mssql-instance&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;description&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;Use this tool to execute sql statement.&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="reference"&gt;Reference&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;&lt;strong&gt;field&lt;/strong&gt;&lt;/th&gt;
 &lt;th style="text-align: center"&gt;&lt;strong&gt;type&lt;/strong&gt;&lt;/th&gt;
 &lt;th style="text-align: center"&gt;&lt;strong&gt;required&lt;/strong&gt;&lt;/th&gt;
 &lt;th&gt;&lt;strong&gt;description&lt;/strong&gt;&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;type&lt;/td&gt;
 &lt;td style="text-align: center"&gt;string&lt;/td&gt;
 &lt;td style="text-align: center"&gt;true&lt;/td&gt;
 &lt;td&gt;Must be &amp;ldquo;mssql-execute-sql&amp;rdquo;.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;source&lt;/td&gt;
 &lt;td style="text-align: center"&gt;string&lt;/td&gt;
 &lt;td style="text-align: center"&gt;true&lt;/td&gt;
 &lt;td&gt;Name of the source the SQL should execute on.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;description&lt;/td&gt;
 &lt;td style="text-align: center"&gt;string&lt;/td&gt;
 &lt;td style="text-align: center"&gt;true&lt;/td&gt;
 &lt;td&gt;Description of the tool that is passed to the LLM.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;</description></item><item><title>mssql-list-tables</title><link>/integrations/mssql/tools/mssql-list-tables/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/integrations/mssql/tools/mssql-list-tables/</guid><description>&lt;h2 id="about"&gt;About&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;mssql-list-tables&lt;/code&gt; tool retrieves schema information for all or specified
tables in a SQL server database.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;mssql-list-tables&lt;/code&gt; lists detailed schema information (object type, columns,
constraints, indexes, triggers, owner, comment) as JSON for user-created tables
(ordinary or partitioned).&lt;/p&gt;
&lt;p&gt;The tool takes the following input parameters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;table_names&lt;/code&gt;&lt;/strong&gt; (string, optional): Filters by a comma-separated list of
names. By default, it lists all tables in user schemas. Default: &lt;code&gt;&amp;quot;&amp;quot;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;output_format&lt;/code&gt;&lt;/strong&gt; (string, optional): Indicate the output format of table
schema. &lt;code&gt;simple&lt;/code&gt; will return only the table names, &lt;code&gt;detailed&lt;/code&gt; will return the
full table information. Default: &lt;code&gt;detailed&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="compatible-sources"&gt;Compatible Sources&lt;/h2&gt;





&lt;div class="compatibility-section"&gt;
 &lt;p&gt;This tool can be used with the following database sources:&lt;/p&gt;</description></item><item><title>mssql-sql</title><link>/integrations/mssql/tools/mssql-sql/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/integrations/mssql/tools/mssql-sql/</guid><description>&lt;h2 id="about"&gt;About&lt;/h2&gt;
&lt;p&gt;A &lt;code&gt;mssql-sql&lt;/code&gt; tool executes a pre-defined SQL statement against a SQL Server
database.&lt;/p&gt;
&lt;p&gt;Toolbox supports the &lt;a href="https://learn.microsoft.com/sql/relational-databases/system-stored-procedures/sp-prepare-transact-sql?view=sql-server-ver16"&gt;prepare statement syntax&lt;/a&gt; of MS SQL
Server and expects parameters in the SQL query to be in the form of either
&lt;code&gt;@Name&lt;/code&gt; or &lt;code&gt;@p1&lt;/code&gt; to &lt;code&gt;@pN&lt;/code&gt; (ordinal position).&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-go" data-lang="go"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nx"&gt;db&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;QueryContext&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;ctx&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;`select * from t where ID = @ID and Name = @p2;`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;sql&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;Named&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;&amp;#34;ID&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;#34;Bob&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="compatible-sources"&gt;Compatible Sources&lt;/h2&gt;





&lt;div class="compatibility-section"&gt;
 &lt;p&gt;This tool can be used with the following database sources:&lt;/p&gt;</description></item></channel></rss>