Solutions
The defined MCP tool can connect your company's external systems' real-time data or operational capabilities (such as order systems, CRM, ERP, member platforms, etc.) to the 3Chat Agent. These capabilities can drive 3Chat to execute "Intelligent Marketing SOP" in the pre-sales stage—actively guiding leads and conversions; in the post-sales stage, it transforms into a "Business Expert"—precisely executing actions such as refunds, rescheduling, and points distribution, significantly enhancing customer retention and repurchase rates.
💡Getting Started Suggestions
In traditional customer service scenarios, customer service representatives or sales teams are often asked some inquiries to assist customers in handling complex issues, such as:
"Where is my order now?"
"Can you help me change the shipping address?"
"I have 500 points; what can I exchange for?"
"Help me cancel my appointment for tomorrow"
These questions often require calling external system data or triggering business operations. A simple Q&A bot cannot only rely on a knowledge base to answer questions that have high effectiveness requirements. After transferring to human help, personnel also need to consult many platforms to resolve a single customer's inquiry, which is time-consuming and labor-intensive.
To address the above challenges, by connecting the custom MCP tool, 3Chat Agent can fully understand customer needs and automatically accomplish these operations without human intervention.
🧭Navigation Guidance
After logging into the 3Chat backend, you can configure the MCP tool through the following path: 3Chat Agent > MCP > Tool Invocation
⚙️Quick Operation Guidance
Pre-Preparation Work
Think about which business operations and which external data you need 3Chat Agent to assist customers with - Open Interface (OpenApi).
Ensure the execution performance of the external open interface provided for 3Chat Agent. The default timeout is 60 seconds. If this time is exceeded, 3Chat Agent will consider the request as timed out.
To ensure that the 3Chat Agent can safely and reliably invoke the external open interface, you need to log in to the corresponding external system and obtain valid access authentication authorization. For specific operations, refer to: Create external system authentication authorization (Token).
Configure Custom MCP Tool
For example, to obtain order logistics information from Shopify
First, follow the navigation guidance, enter the tool invocation page via [3Chat Agent] - [MCP] - [Tool Invocation]. Click to add an operation at the top right of the tool list to enter the tool configuration page.

Step 1: Fill in the basic information of the tool
You need to define the name of the tool. Provide a description of the tool, indicating its purpose and when the 3Chat Agent should use this tool.

👍Tool Description Suggestions - Be Clear Enough
Clearly state when to use this tool and the detailed information it should provide
Recommended Example: Use this tool to obtain detailed information about customer orders; the information obtained can help troubleshoot order-related issues. The tool will provide all order details for the customer, such as order status, purchased products, shipping address, logistics tracking information, or other relevant order information.
Not Recommended Example: Use this data connector to obtain order information.
👍Tool Description Suggestions - Avoid Using Pronouns
Avoid using pronouns like "we," "they," etc. Instead, replace them with clear proper nouns, such as the company name or the name of the external platform.
Recommended Example: Use this tool to obtain all order information for customers in the Shopify store 3Chat.
Not Recommended Example: Use this tool to get order information for customers in our store.
👍Tool Description Suggestions - Be Specific About Scenarios
Describe the situation for using the tool
Recommended Example: Use this tool to query unresolved issues, such as a customer wanting to know the processing status of their problem, whether it has been resolved, and if the system's performance can be restored after processing.
Not Recommended Example: Use this tool to query unresolved issues.
👍Tool Description Suggestions - Appropriately Provide Common Phrases Used by Customers
Refer to the ways customers have expressed problems in past conversations and include their commonly used keywords and phrases in the description.
Step 2: Configure Request Information
Fill in your external system interface address; to ensure data security, we will enforce you to use an HTTPS address. Select the correct tool execution method. Currently, GET, POST, PUT, and DELETE are supported.

Based on the requirements of the HTTPS interface address you filled in, select an already filled authentication authorization. The selected authentication token will have the parameter name Authentication added by default when processing Headers.
Define the data information that 3Chat Agent needs to collect before using the tool; all parameters defined here need to be used in the HTTPS request address or the request body. The specific syntax is "{{data_name}}". Where:
Parameters that do not have complete naming, data type, and parameter description will display "Undefined" in the status column, reminding you to complete filling.
If 3 parameters are completely filled but not used in the request address or request body, it will show "Unused" in the status column, reminding you to use this parameter.
Only when all data statuses are "Used" and the request body is in legal JSON format, will it allow execution of the next operation.
If the tool doesn’t require any information to be collected for 3Chat Agent to use, parameters do not need to be defined.

Add necessary request header parameters; if the authentication token required by the HTTPS interface needs to specify parameters other than "Authentication," you can fill them in the request header parameters.
The following token is for testing purposes only and may expire at any time; it is recommended to generate your own token.

Fill in a JSON-formatted request body; in the request body, you can assign values to define each parameter in the HTTPS interface request body. Support for specifying already defined collection parameters, default values, or the main data standard fields and custom fields of 3Chat, such as "Contact Person," etc.

When both of the following conditions are met, you can perform the next operation: Response testing
Collection parameters that are not specified or defined have been used
The request body is in legal JSON format
Step 3: Response Testing
Response testing is used to help users verify whether the request configuration is correct, providing both real-time response and example response methods:
The first method: Real-time response. Suitable for existing mature HTTPS interfaces, obtaining the actual response structure through actual interface requests
The second method: Example response. Suitable for HTTPS interfaces under development, where you can complete tool configuration and synchronize test validation with the interface.
3.1 Real-time Response Method
If there are specified collection parameters or main data variables in the request body or HTTPS request address, you need to specify parameter values before performing interface testing operations. After completing the parameter assignment, click on the interface testing operation to obtain the interface return structure. It is important to note: interface testing will execute the real interface; before testing, please ensure the data accessed by the interface is test data to avoid impacting your real business data.
Example parameters:
Return value:

3.2 Example Response Method
You can directly fill in the JSON structure of the response body; please ensure that the syntax you fill in is correct.

When the JSON format syntax in the response example is correct, you can proceed to the next step: Response Data Mapping
Step 4: Response Data Mapping
This step is used to configure the parameter mapping in the response structure and the accessibility of the 3Chat Agent.
When the interface testing is completed, or the response structure is manually filled, all response parameters' structures from the response body JSON structure are automatically extracted to create a response parameter list. The parameter names retain the original nesting levels from the response body.
Configure transformation rules for the response parameters as needed: at the end of the data row, click the Edit button to enter the configuration window.
Mapping Example 1: trackingInfo.company

Mapping Example 2: trackingInfo.number

Response parameter name: The parameter name (Key) of the response parameter retains the hierarchy from the original JSON structure.
Example response value: The response parameter value obtained from the response body structure.
Mapping parameter name: The parameter name visible to the 3Chat Agent, with the default value being the original response parameter name.
Data type: The data type visible to the 3Chat Agent, with the default value being the original response parameter type. Parameter type conversion can be specified depending on the actual situation.
Accessible: Indicates whether this response parameter is visible to the 3Chat Agent.
The results after mapping modifications are shown in the table below
Before Mapping |
---|

After Mapping

👍Recommendations for Configuring Parameter Conversion
Suggestions
When the naming of response parameters cannot accurately express the meaning of the field, it can be changed to business-friendly parameter names. For example: "abc" : "O-250823-001", expressing order number, it is recommended to specify the mapping parameter name as "orderCode".
Response Parameter Value Conversion String When response parameter values express certain statuses through numbers or business-unfriendly strings, the 3Chat Agent cannot deduce specific status descriptions from numbers. For example: order status: "orderStatus" : 5, needs to specify 5 = "Shipped". "orderStatus" : "SHIP", needs to specify SHIP = "Shipped".

When response parameters express specific times through timestamp format, the 3Chat Agent cannot obtain the actual time by reading the timestamp. It is necessary to specify the conversion type as Datetime, transforming the timestamp into a standard UTC time.

Save and Run the Tool
Once the above configuration is complete, click to save data and run this tool; the 3Chat Agent can use this tool to handle customer inquiries in a production environment. When the tool is not needed to be accessed by the 3Chat Agent, simply suspend or stop this tool.

Let 3Chat Agent Execute Tool Invocations in AI Tasks
By connecting the MCP (Model Context Protocol) standard protocol, the 3Chat Agent can flexibly call created and running tools. You only need to use the AI Task [3Chat AI Task Function Introduction] feature to clearly tell the 3Chat Agent when to "reach out" and do what.
In the execution steps of the AI Task, you need to describe the business process rules and provide the 3Chat Agent with two pieces of information:
Conditions (when to do what);
Actions (which specific MCP tool to use)
We named this task "Return Order Logistics Information".

Acceptance of Results
When users inquire about where the order is, trigger the AI task, i.e., "Return Order Logistics Information";
Since the AI task did not recognize the email, it actively asks the user;
After the user replies with the email, the Agent calls the MCP tool, successfully returning the logistics information.

Address
Building A6, 10th Floor, No. 1528, Gumei Road, Xuhui District
Headquarters · Shanghai
Branches · Singapore · Guangzhou · Chengdu · Hangzhou · Hefei · Nanjing · Shijiazhuang