Skip to content

✨ Annotations for weather tool#71

Merged
pdettori merged 1 commit intokagenti:mainfrom
esnible:tool-annotations
Oct 6, 2025
Merged

✨ Annotations for weather tool#71
pdettori merged 1 commit intokagenti:mainfrom
esnible:tool-annotations

Conversation

@esnible
Copy link
Copy Markdown
Contributor

@esnible esnible commented Oct 6, 2025

Summary

This PR adds MCP tool annotations to the weather tool indicating that it is a read-only tool. See https://modelcontextprotocol.io/legacy/concepts/tools#available-tool-annotations

This PR also adds pylint's suggestions to the weather tool.

The purpose of annotations to to explore scenarios where we want to debug or observe tool calling behavior and distinguish read-only tool invocations from invocations that may alter the state of the world.

Signed-off-by: Ed Snible <snible@us.ibm.com>
@esnible esnible requested review from kellyaa and pdettori October 6, 2025 18:42
Copy link
Copy Markdown
Contributor

@pdettori pdettori left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@pdettori pdettori merged commit 2d139f7 into kagenti:main Oct 6, 2025
2 checks passed
@esnible esnible deleted the tool-annotations branch October 6, 2025 19:30
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.

2 participants