diff --git a/client/src/components/ToolsTab.tsx b/client/src/components/ToolsTab.tsx index 659e3180..2128d599 100644 --- a/client/src/components/ToolsTab.tsx +++ b/client/src/components/ToolsTab.tsx @@ -85,39 +85,42 @@ const AnnotationBadges = ({ const idempotent = getValueAndImplied(annotations?.idempotentHint, false); const openWorld = getValueAndImplied(annotations?.openWorldHint, true); + // Descriptions from MCP spec const badges = [ { label: "Read-only", value: readOnly.value, implied: readOnly.implied, + description: "Tool does not modify its environment", }, { label: "Destructive", value: destructive.value, implied: destructive.implied, + description: + "Tool may perform destructive updates (delete/overwrite data)", }, { label: "Idempotent", value: idempotent.value, implied: idempotent.implied, + description: "Calling repeatedly with same args has no additional effect", }, { label: "Open-world", value: openWorld.value, implied: openWorld.implied, + description: + "Tool may interact with external entities beyond its local environment", }, ]; return (
- {badges.map(({ label, value, implied }) => ( + {badges.map(({ label, value, implied, description }) => (