fix: add tool annotations to server-fetch - #3876
Conversation
|
@claude review |
|
Claude finished @cliffhall's task in 1m 36s —— View job PR Review: fix: add tool annotations to server-fetch
SummaryThis is a clean, focused PR that adds What changed
annotations=ToolAnnotations(
readOnlyHint=True,
destructiveHint=False,
idempotentHint=True,
openWorldHint=True,
),Annotation value review
Minor observations
Code quality
VerdictLGTM. The change is correct, minimal, and consistent with the existing codebase patterns. No functional or security concerns. |
LuuOW
left a comment
There was a problem hiding this comment.
Technical audit: Verified MCP server implementation for consistency with current SDK patterns.
This PR adds missing tool annotations (readOnlyHint, idempotentHint, openWorldHint) to the fetch tool in @modelcontextprotocol/server-fetch. This follows the pattern in other reference servers and provides better metadata for MCP clients. Fixes #3572.