Skip to content

Commit 956d875

Browse files
authored
Merge pull request #2 from trustgraph-ai/mcp-fixes
More MCP tool fixes
2 parents 9706313 + dfda835 commit 956d875

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

guides/mcp-integration/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -326,13 +326,13 @@ If you loaded sample documents earlier, you can also add a knowledge query tool:
326326
**Via Web Interface:**
327327
- **Surveillance and Intelligence**
328328
- Type: `Knowledge query`
329-
- Tool ID: `surveillance-and-intelligence`
329+
- Tool ID: `surveillance_and_intelligence`
330330
- Name: `search_surveillance_intelligence`
331331
- Description: `This tool has information about the topics of state surveillance and intelligence gathering. The question should be a natural language question.`
332332

333333
**Via CLI:**
334334
```bash
335-
tg-set-tool --id surveillance-and-intelligence \
335+
tg-set-tool --id surveillance_and_intelligence \
336336
--name "search_surveillance_intelligence" \
337337
--type knowledge-query --collection default \
338338
--description "This tool has information about the topics of state surveillance and intelligence gathering. The question should be a natural language question." \
@@ -467,15 +467,15 @@ tg-show-mcp-tools
467467

468468
# Configure agent tools (the tools agents can use)
469469
echo "Configuring agent tools..."
470-
tg-set-tool --id get_current_time --name "Get the current time" \
470+
tg-set-tool --id get_current_time --name "get_current_time" \
471471
--type mcp-tool --mcp-tool get_current_time \
472472
--description "Fetches the current time as an ISO format string"
473473

474-
tg-set-tool --id get_bank_balance --name "Get the user's current bank balance" \
474+
tg-set-tool --id get_bank_balance --name "get_bank_balance" \
475475
--type mcp-tool --mcp-tool get_bank_balance \
476476
--description "Fetches the bank balance, the value returned is in GBP sterling"
477477

478-
tg-set-tool --id get_tesla_list_prices --name "Get tesla list prices" \
478+
tg-set-tool --id get_tesla_list_prices --name "get_tesla_list_prices" \
479479
--type mcp-tool --mcp-tool get_tesla_list_prices \
480480
--description "Fetches the current Tesla vehicle price list"
481481

0 commit comments

Comments
 (0)