Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit 64136ce

Browse files
authored
Add more e2e test prompts to increase coverage (#492)
* Added more test prompts. * Updated formatting * Updated a few descriptions * Applied PR feedback * Ordered commands in e2eTestPrompts.md alphabetically * Updated CHANGELOG
1 parent bea351c commit 64136ce

File tree

9 files changed

+349
-152
lines changed

9 files changed

+349
-152
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99
### Bugs Fixed
1010

1111
### Other Changes
12+
- Updated the descriptions of the following tools to improve their usage by Agents: [#492](https://github.com/Azure/azure-mcp/pull/492)
13+
- `azmcp-datadog-monitoredresources-list`
14+
- `azmcp-kusto-cluster-list`
15+
- `azmcp-kusto-database-list`
16+
- `azmcp-kusto-sample`
17+
- `azmcp-kusto-table-list`
18+
- `azmcp-kusto-table-schema`
1219

1320
## 0.2.5 (2025-06-26)
1421

docs/azmcp-commands.md

Lines changed: 193 additions & 92 deletions
Large diffs are not rendered by default.

e2eTests/e2eTestPrompts.md

Lines changed: 133 additions & 54 deletions
Large diffs are not rendered by default.

src/Areas/AzureIsv/Commands/Datadog/MonitoredResourcesListCommand.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ public sealed class MonitoredResourcesListCommand(ILogger<MonitoredResourcesList
2121
public override string Description =>
2222
"""
2323
List monitored resources in Datadog for a datadog resource taken as input from the user.
24-
This command retrieves all monitored azure resources available. Requires `datadog-resource`, `resource-group` and `subscription`.
24+
This command retrieves all monitored azure resources available.
25+
Requires `datadog-resource`, `resource-group` and `subscription`.
2526
Result is a list of monitored resources as a JSON array.
2627
""";
2728

src/Areas/Kusto/Commands/ClusterListCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public sealed class ClusterListCommand(ILogger<ClusterListCommand> logger) : Sub
1919
public override string Description =>
2020
"""
2121
List all Kusto clusters in a subscription. This command retrieves all clusters
22-
available in the specified subscription. Requires `cluster-name` and `subscription`.
22+
available in the specified subscription. Requires `subscription`.
2323
Result is a list of cluster names as a JSON array.
2424
""";
2525

src/Areas/Kusto/Commands/DatabaseListCommand.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ public sealed class DatabaseListCommand(ILogger<DatabaseListCommand> logger) : B
1717

1818
public override string Description =>
1919
"""
20-
List all databases in a Kusto cluster. Requires `cluster-uri` ( or `subscription` and `cluster-name`). Result is a list of database names, returned as a JSON array.
20+
List all databases in a Kusto cluster.
21+
Requires `cluster-uri` ( or `subscription` and `cluster-name`).
22+
Result is a list of database names, returned as a JSON array.
2123
""";
2224

2325
public override string Title => CommandTitle;

src/Areas/Kusto/Commands/SampleCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected override SampleOptions BindOptions(ParseResult parseResult)
3333
public override string Description =>
3434
"""
3535
Return a sample of rows from the specified table in an Kusto table.
36-
Requires `cluster-uri` (or `cluster-name`), `database-name`, and `table-name`.
36+
Requires `cluster-uri` (or `cluster-name`), `database-name`, and `table`.
3737
Results are returned as a JSON array of documents, for example: `[{'Column1': val1, 'Column2': val2}, ...]`.
3838
""";
3939

src/Areas/Kusto/Commands/TableListCommand.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ public sealed class TableListCommand(ILogger<TableListCommand> logger) : BaseDat
1616
public override string Name => "list";
1717

1818
public override string Description =>
19-
"List all tables in a specific Kusto database. Required `cluster-uri` (or `subscription` and `cluster-name`) and `database-name` .Returns table names as a JSON array.";
19+
"""
20+
List all tables in a specific Kusto database.
21+
Required `cluster-uri` (or `subscription` and `cluster-name`) and `database-name`.
22+
Returns table names as a JSON array.
23+
""";
2024

2125
public override string Title => CommandTitle;
2226

src/Areas/Kusto/Commands/TableSchemaCommand.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ public sealed class TableSchemaCommand(ILogger<TableSchemaCommand> logger) : Bas
1616
public override string Name => "schema";
1717

1818
public override string Description =>
19-
"Get the schema of a specific table in an Kusto database.";
19+
"""
20+
Get the schema of a specific table in an Kusto database.
21+
Requires `cluster-uri` ( or `subscription` and `cluster-name`), `database-name` and `table`.
22+
""";
2023

2124
public override string Title => CommandTitle;
2225

0 commit comments

Comments
 (0)