DSH 免费网页搜索 provider + 设置开关(Parallel 默认 / Exa 备用)+ MCP server 双传输(stdio + HTTP/SSE),兼容 Claude Code / Codex,一键切换官方计费搜索与免费搜索
Single tool 'web_search' has a complete input schema with proper types and descriptions for all parameters. Tool description is present (106 chars) and explains the function clearly. However, output schema is not documented, the tool returns JSON.stringify(sources) but the structure of 'sources' array is not formally specified. Parameter descriptions are adequate but could be more detailed about expected behavior and error cases. No error handling guidance provided to LLMs.
免费网页搜索:Parallel(默认,匿名免 key)或 Exa(备用)。返回结构化结果数组(title / url / snippet / publishedAt)。
Output schema not documented. Tool returns JSON.stringify(sources) but the structure of the result array (fields like title, url, snippet, publishedAt) is not formally specified in the tool definition. LLMs cannot plan downstream operations without knowing the response structure.
No error handling guidance. Tool throws { code, message } errors but does not document what errors are possible (e.g., network failure, invalid provider, rate limit) or how LLMs should recover. Error messages like 'query is required' are good, but the tool description should hint at failure modes.
Parameter 'numResults' lacks constraints. Description says 'default 8' but does not specify min/max bounds. LLMs could pass 0, negative, or extremely large values. Should document: 'integer, 1 - 50, default 8'.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 56 | <=2025-11-25 | v2 |
Provider parameter description is in Chinese. While the enum values are clear, the description '免费后端:parallel(默认)/ exa(备用)' may not be parsed correctly by all LLM tokenizers. Consider English descriptions for maximum compatibility.
No idempotency guarantee documented. Web search is read-only and should be idempotent, but the tool definition does not declare this. Adding an idempotentHint annotation would signal to agents that retries are safe.