Skip to content

Commit 77215e7

Browse files
committed
Fix MCP guide
1 parent 1c83562 commit 77215e7

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

guides/mcp-integration/index.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -260,24 +260,24 @@ In the web interface, navigate to **"Agent Tools"**. You can delete the sample t
260260

261261
Add the following tool configurations:
262262

263-
1. **Get Current Time**
263+
1. **get_current_time**
264264
- Type: `MCP Tool`
265265
- Tool ID: `get_current_time`
266-
- Name: `Get the current time`
266+
- Name: `get_current_time`
267267
- Description: `Fetches the current time as an ISO format string`
268268
- Arguments: (leave empty)
269269

270-
2. **Get Bank Balance**
270+
2. **get_bank_balance**
271271
- Type: `MCP Tool`
272272
- Tool ID: `get_bank_balance`
273-
- Name: `Get the user's current bank balance`
274-
- Description: `Fetches the bank balance, the value returned is in GBP sterling`
273+
- Name: `get_bank_balance`
274+
- Description: `Fetches the user's bank balance, the value returned is in GBP sterling`
275275
- Arguments: (leave empty)
276276

277-
3. **Get Tesla List Prices**
277+
3. **get_tesla_list_prices**
278278
- Type: `MCP Tool`
279279
- Tool ID: `get_tesla_list_prices`
280-
- Name: `Get tesla list prices`
280+
- Name: `get_tesla_list_prices`
281281
- Description: `Fetches the current Tesla vehicle price list. This contains information such as model, current price, and notes that are relevant`
282282
- Arguments: (leave empty)
283283

@@ -287,17 +287,20 @@ Use the CLI to configure agent tools that reference your MCP tools:
287287

288288
```bash
289289
# Configure agent tool for current time
290-
tg-set-tool --id get_current_time --name "Get the current time" \
290+
tg-set-tool --id get_current_time \
291+
--name get_current_time \
291292
--type mcp-tool --mcp-tool get_current_time \
292293
--description "Fetches the current time as an ISO format string"
293294

294295
# Configure agent tool for bank balance
295-
tg-set-tool --id get_bank_balance --name "Get the user's current bank balance" \
296+
tg-set-tool --id get_bank_balance \
297+
--name get_bank_balance \
296298
--type mcp-tool --mcp-tool get_bank_balance \
297299
--description "Fetches the bank balance, the value returned is in GBP sterling"
298300

299301
# Configure agent tool for Tesla prices
300-
tg-set-tool --id get_tesla_list_prices --name "Get tesla list prices" \
302+
tg-set-tool --id get_tesla_list_prices \
303+
--name get_tesla_list_prices \
301304
--type mcp-tool --mcp-tool get_tesla_list_prices \
302305
--description "Fetches the current Tesla vehicle price list. This contains information such as model, current price, and notes that are relevant"
303306
```
@@ -310,13 +313,13 @@ If you loaded sample documents earlier, you can also add a knowledge query tool:
310313
- **Surveillance and Intelligence**
311314
- Type: `Knowledge query`
312315
- Tool ID: `surveillance-and-intelligence`
313-
- Name: `Search the surveillance and intelligence knowledge base`
316+
- Name: `search_surveillance_intelligence_kb`
314317
- Description: `This tool has information about the topics of state surveillance and intelligence gathering. The question should be a natural language question.`
315318

316319
**Via CLI:**
317320
```bash
318321
tg-set-tool --id surveillance-and-intelligence \
319-
--name "Search the surveillance and intelligence knowledge base" \
322+
--name "search_surveillance_intelligence_kb" \
320323
--type knowledge-query --collection default \
321324
--description "This tool has information about the topics of state surveillance and intelligence gathering. The question should be a natural language question." \
322325
--argument query:string:"Natural language question about surveillance and intelligence"

0 commit comments

Comments
 (0)