We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e190844 commit 86dd11aCopy full SHA for 86dd11a
samples/QuickstartWeatherServer/Tools/WeatherTools.cs
@@ -12,7 +12,7 @@ public sealed class WeatherTools
12
[McpServerTool, Description("Get weather alerts for a US state.")]
13
public static async Task<string> GetAlerts(
14
HttpClient client,
15
- [Description("The US state to get alerts for.")] string state)
+ [Description("The US state to get alerts for. Use the 2 letter abbreviation for the state (e.g. NY).")] string state)
16
{
17
using var jsonDocument = await client.ReadJsonDocumentAsync($"/alerts/active/area/{state}");
18
var jsonElement = jsonDocument.RootElement;
0 commit comments