> For the complete documentation index, see [llms.txt](https://gdplabs.gitbook.io/glchat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gdplabs.gitbook.io/glchat/organization-admin/how-to-guides/ai-agent/tools.md).

# Tools

Users can manage tools that can be used by the agent through this menu.

<figure><img src="/files/lc0V7xABWNbFhm85ntbM" alt=""><figcaption></figcaption></figure>

This page is divided into three tabs: **Native Tools, Custom Tools, and MCP.**

1. **Native Tools:** Displays built-in tools provided by GLChat that are ready to use out of the box.
2. **Custom Tools:** Displays tools that have been manually created and uploaded by users or their teams.
3. **MCP:** Displays tools that have been connected via an **MCP Server**.

***

## Tool

### Upload Tool

To add a new tool, click the **Actions** button and select **Upload Code**.

<figure><img src="/files/qbT6gm9jRh4264GSZeub" alt=""><figcaption></figcaption></figure>

A pop-up guide will appear, review the instructions before proceeding. Once ready, click **Upload Files** to add your tool.

<figure><img src="/files/cuGjVBmtmdycYEa8bc88" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Only **Python (.py)** files are supported for tool uploads.
{% endhint %}

***

### View Tool Detail

To view detailed information about a custom tool, click the **three-dot icon (⋮)** next to the tool and select **View Script**.

<figure><img src="/files/sNf9OCzerPykrK5DfzFZ" alt=""><figcaption></figcaption></figure>

This will display the contents of the Python script so you can review the tool’s logic and functionality.

<figure><img src="/files/mzLVtlD3DmJW3Vxx6Ypt" alt=""><figcaption></figcaption></figure>

***

### Edit Tool

To edit a custom tool, click the **three-dot icon (⋮)** and select **Edit**.

<figure><img src="/files/sd0rEnOGbXD1IZ1a1eTQ" alt=""><figcaption></figcaption></figure>

You can re-upload a new Python file to update the tool’s logic or functionality by clicking the **Upload Files** button.

<figure><img src="/files/gctuyuqfBNABRiGnv6o7" alt=""><figcaption></figcaption></figure>

***

### Delete Tool

To delete a custom tool, click the **three-dot icon (⋮)** and select **Delete**.

<figure><img src="/files/r5Sngo43YfVY5QYIuB2w" alt=""><figcaption></figcaption></figure>

A confirmation pop-up will appear — click **Delete** to confirm or **Cancel** to abort the action.

<figure><img src="/files/gCSkcOv0EfwMWnJQgddC" alt=""><figcaption></figcaption></figure>

***

### Search Tool

You can search for a tool by typing the tool’s name into the **search field**.

<figure><img src="/files/TZ3R3WWKP7W49wVGcFrs" alt=""><figcaption></figcaption></figure>

***

## MCP (Model Context Protocol)

### Add via MCP Server

To add a new MCP tool, click the **Actions** button and select **Add via MCP Server**.

<figure><img src="/files/M3U2rU6gRPZJl6xnBslU" alt=""><figcaption></figcaption></figure>

You will be redirected to the **MCP Server Configuration** page to connect and register tools from your MCP Server.

<figure><img src="/files/Uy4812XEPsDXp0rpVdQM" alt=""><figcaption></figcaption></figure>

1. MCP Server Configuration
   1. **MCP Display Name (Required)**\
      Enter a display name to identify this MCP Server connection.
   2. **Transport Type (Required)**\
      Select the transport type for data transmission — options include **HTTP** or **SSE**.
   3. **Description (Optional)**\
      Provide a short description for this connection.
   4. **Server URL (Required)**\
      Enter the URL of your MCP Server endpoint.
2. Authentication
   1. In the **Authentication** section, select the appropriate authentication type:
      1. **No Auth** – Choose this if your server does not require authentication.
      2. **Bearer Token** – Use if your server requires a secure token for access.
      3. **API Key** – Use if your server requires an API key for authentication.
   2. Additional fields will appear if the selected authentication type requires credentials or tokens.
3. Connect to MCP Server

   After completing the configuration and authentication details, click **Connect**. You must successfully connect to the MCP Server before saving the configuration.
4. View Available Tools\
   Once connected, tools available from the MCP Server will appear under the **Tools** section.\
   Each entry displays the **Tool Name** and **Description**. Verify that all intended tools are listed before proceeding.

Click **Save** to complete the MCP Server integration and add the tools. If you wish to cancel the setup, click **Cancel** to discard any changes.

***

### View MCP Detail

To view MCP details, click the **three-dot icon (⋮)** next to the MCP entry and select **View Details**.

<figure><img src="/files/Kp4laanMjcmKJLOdziyo" alt=""><figcaption></figcaption></figure>

This displays the MCP Server configuration, including server settings, authentication details, and the list of connected tools.

<figure><img src="/files/B716yZ9Gc5Bo63AscVj0" alt=""><figcaption></figcaption></figure>

***

### Edit MCP

To edit MCP details, click the **three-dot icon (⋮)** and select **Edit**.

<figure><img src="/files/udcItVXDN0WyuZLM3tL6" alt=""><figcaption></figcaption></figure>

You will be redirected to the **MCP Server Configuration** page where you can:

* Update server details.
* Change authentication types.
* Reconnect to the server if needed.

<figure><img src="/files/KrAuX3IcD143S8QVDUvl" alt=""><figcaption></figcaption></figure>

After making changes, click **Save** to update the connection and tool list.

***

### Search MCP

You can search for an MCP entry by typing the **tool name** in the **search field**.

<figure><img src="/files/I0mljdC2tyy9afDwiDIZ" alt=""><figcaption></figcaption></figure>

***

### Delete MCP

To delete an MCP entry, click the **three-dot icon (⋮)** and select **Delete**. A confirmation pop-up will appear, click **Delete** to confirm or **Cancel** to abort the action.

<figure><img src="/files/irWwWLqz84IBztfvTkKc" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You cannot delete a tools that still has assigned agents.\
Remove all assigned tools first before attempting deletion.
{% endhint %}
