Tools

To access this menu, go to the sidebar and select AI Agent > Tools.

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

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.

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

circle-info

Only Python (.py) files are supported for tool uploads.


View Tool Detail

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

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


Edit Tool

To edit a custom tool, click the three-dot icon (â‹®) and select Edit.

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


Delete Tool

To delete a custom tool, click the three-dot icon (â‹®) and select Delete.

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


Search Tool

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


MCP (Model Context Protocol)

Add via MCP Server

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

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

  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.

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


Edit MCP

To edit MCP details, click the three-dot icon (â‹®) and select Edit.

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.

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.


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.

circle-info

You cannot delete a tools that still has assigned agents. Remove all assigned tools first before attempting deletion.

Last updated