Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for WeatherTools.cs #161

Closed
wants to merge 1 commit into from

Conversation

samuel100
Copy link

The WeatherTool.cs does not point to the right endpoint to get a forecast, which results in an error. For example, https://api.weather.gov/points/47.6163,-122.0356 does not return a forecast. However, switching to https://api.weather.gov/gridpoints/SEW/134,67/forecast does.

Motivation and Context

How Has This Been Tested?

Breaking Changes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

@stephentoub
Copy link
Contributor

Duplicate of #134 ?

@aaronpowell
Copy link
Contributor

Yep, and having another look at the Python code, I realised that I missed a second call to the API, which this one implements (as does #134).

With #152 fixed, we can likely merge #134 and close this as a duplicate

@stephentoub
Copy link
Contributor

Closing as a duplicate. Thanks!

@stephentoub stephentoub closed this Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants