A small, dependency-light MCP server that fetches web articles and converts them to clean Markdown.
Single tool 'web_to_md' has a clear, descriptive name and well-documented purpose. Input schema is properly defined with required/optional parameters and type information. However, output schema is not documented, LLMs cannot predict what fields to expect in the response. Parameter descriptions are adequate but lack format constraints (e.g., valid URL schemes, size limits). Error handling returns text but lacks actionable recovery guidance. No tool annotations (readOnlyHint, destructiveHint) despite the tool being read-only and safe to retry.
Fetch a web article and extract its main content as clean Markdown. Applies a strict fetch policy (timeout, size limit, SSRF protection, content-type validation) and strips active content to mitigate prompt‑injection risks.
Output schema not documented. LLMs cannot predict response structure (fields, types, pagination). Pattern requires documenting what the tool returns so agents can plan downstream operations.
Parameter 'url' lacks format constraints. No mention of valid schemes (http/https only?), max length, or SSRF protection details. Description should state 'HTTP(S) URLs only, max 2048 chars, SSRF-protected' to guide LLM input.
Error responses lack recovery guidance. When fetch fails (timeout, invalid URL, blocked domain), the response should suggest next steps: 'URL unreachable. Verify the URL is public and accessible.' Current implementation returns raw error strings without actionable context.
Tool is read-only and idempotent but lacks tool annotations. Adding readOnlyHint=true and idempotentHint=true in the tool definition enables agents to safely retry and reason about side effects.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 59 | <=2025-11-25 | v2 |
No pagination or result-limiting documented. If a web article is very large, the response could exceed context limits. Description should state 'Returns up to 100KB of Markdown; larger articles are truncated.'