You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tool description: make it optional to match MCP, or also reject whitespace-only strings? #372
Most tool providers also provide descriptions (~99% according to scans of mcp servers).
The spec seems to want to push the idea that descriptions are fundamental, and Introduce generic tool calling explainer #375 keeps descriptions as a required element in the proposed NaturalLanguageProperties object.
Removing the whitespace seems like a simple change that will help encourage the intent of asking developers to provide meaningful descriptions.
I'll create the corresponding PRs shortly if there's no disagreement.
Activity
beaufortfrancois commentedon Nov 10, 2026
@sjdallst2 Can you have a look at this (hopefully) simple issue?
sjdallst2 commentedon Nov 24, 2026
I'm thinking of moving ahead with option 2.
I'll create the corresponding PRs shortly if there's no disagreement.
beaufortfrancois commentedon Nov 25, 2026
LGTM
Here's the Chromium side of things including WPT: https://chromium-review.googlesource.com/c/chromium/src/+/8863585
WebMCP: Reject whitespace-only tool descriptions
WebMCP: Reject whitespace-only tool descriptions
WebMCP: Reject whitespace-only tool descriptions
Bug 2098216 [wpt PR 65719] - WebMCP: Reject whitespace-only tool desc…