Skip to content

Commit 08ba26e

Browse files
authored
revert: "chore: update kiwi mcp tool to pass the tests. (#2305)" (#2313)
**Description** kiwi mcp tool names were reverted. This reverts commit bcfaf10. Signed-off-by: yxia216 <yxia216@bloomberg.net>
1 parent 8007dfd commit 08ba26e

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

cmd/aigw/docker-compose-otel.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ services:
169169
--metadata x-tenant-id=$$AIGW_TENANT_ID \
170170
--metadata agent-session-id=$$AIGW_SESSION_ID \
171171
--method tools/call \
172-
--tool-name kiwi__search-flights-structured \
172+
--tool-name kiwi__search-flight \
173173
--tool-arg flyFrom=NYC \
174174
--tool-arg flyTo=LAX \
175175
--tool-arg departureDate=15/12/2026

cmd/aigw/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ services:
154154
--metadata x-tenant-id=$$AIGW_TENANT_ID \
155155
--metadata agent-session-id=$$AIGW_SESSION_ID \
156156
--method tools/call \
157-
--tool-name kiwi__search-flights-structured \
157+
--tool-name kiwi__search-flight \
158158
--tool-arg flyFrom=NYC \
159159
--tool-arg flyTo=LAX \
160160
--tool-arg departureDate=15/12/2026

examples/goose/kiwi_recipe.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ instructions: |
1212
You are a helpful assistant that helps users find flights from New York to Los Angeles.
1313
1414
prompt: |
15-
Use the search-flights-structured tool to search for flights from New York to Los Angeles on {{flight_date}}.
15+
Use the search-flight tool to search for flights from New York to Los Angeles on {{flight_date}}.
1616
When specifying the departureDate parameter, use the format dd/mm/yyyy.
1717
Display the first 3 results with the `final_output` tool in a specific JSON format.
1818
The output is in the following format where price includes the currency symbol:

examples/mcp/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $ npx @modelcontextprotocol/inspector --cli http://localhost:1975/mcp --transpor
4040
"context7__resolve-library-id"
4141
"context7__query-docs"
4242
"github__pull_request_read"
43-
"kiwi__search-flights-structured"
43+
"kiwi__search-flight"
4444
```
4545

4646
### Accessing GitHub Pull Request Info
@@ -172,7 +172,7 @@ Now you can explore the available tools:
172172
╭────────────────────────────────────────────────────────────────────╮
173173
│ Tools for mcp-gateway (3 tools) │
174174
│ │
175-
│ ❯ 1. search-flights-structured
175+
│ ❯ 1. search-flight
176176
│ 2. microsoft_docs_search │
177177
│ 3. microsoft_docs_fetch │
178178
╰────────────────────────────────────────────────────────────────────╯
@@ -186,7 +186,7 @@ From here, you can start using the tools inside Claude.
186186
187187
⏺ I'll help you find the cheapest flight tickets from LA to San Francisco. Let me search for flights for today's date.
188188
189-
⏺ mcp-gateway - search-flights-structured (MCP)(flyFrom: "Los Angeles", flyTo: "San Francisco", departureDate: "13/09/2025", sort: "price", curr: "USD")
189+
⏺ mcp-gateway - search-flight (MCP)(flyFrom: "Los Angeles", flyTo: "San Francisco", departureDate: "13/09/2025", sort: "price", curr: "USD")
190190
⎿  [
191191
{
192192
"flyFrom": "LAX",

tests/data-plane-mcp/publicmcp_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func TestPublicMCPServers(t *testing.T) {
8888
exps := []string{
8989
// "context7__resolve-library-id",
9090
// "context7__query-docs",
91-
"kiwi__search-flights-structured",
91+
"kiwi__search-flight",
9292
"kiwi__feedback-to-devs",
9393
}
9494

@@ -130,7 +130,7 @@ func TestPublicMCPServers(t *testing.T) {
130130
// },
131131
// },
132132
{
133-
toolName: "kiwi__search-flights-structured",
133+
toolName: "kiwi__search-flight",
134134
params: map[string]any{
135135
"flyFrom": "LAX",
136136
"flyTo": "HND",

tests/e2e-aigw/examples_mcp_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var (
3838
// "context7__query-docs",
3939
// "context7__resolve-library-id",
4040
"kiwi__feedback-to-devs",
41-
"kiwi__search-flights-structured",
41+
"kiwi__search-flight",
4242
}
4343
)
4444

@@ -97,7 +97,7 @@ func TestMCP_standalone(t *testing.T) {
9797
// },
9898
// },
9999
{
100-
toolName: "kiwi__search-flights-structured",
100+
toolName: "kiwi__search-flight",
101101
params: map[string]any{
102102
"flyFrom": "LAX",
103103
"flyTo": "HND",

0 commit comments

Comments
 (0)