This server has two tools with explicit registration via @mcp.tool() decorators in main.py. Both tools have descriptions and basic parameter definitions. However, critical quality gaps prevent a higher score: (1) No input schema validation is visible in the code, parameters lack JSON Schema type/description enforcement beyond Python type hints; (2) Output schemas are not documented, the tools return List[TextContent|ImageContent|EmbeddedResource] but the actual JSON structure (what fields in the TextContent.text JSON string) is left implicit; (3) Parameter descriptions in the docstrings are present but minimal (10-50 chars each), below the 72-char baseline for A+ tools; (4) No error handling guidance, exceptions return raw error strings without recovery hints; (5) No evidence of output field consistency for chaining, the JSON responses vary in structure (some have 'results', others have 'success'/'error' at root level), making downstream tool composition difficult. Tool naming is good (verb_noun), but composition is undermined by loose output contracts.
Crawl a website starting from the given URL up to a specified depth and page limit. Args: url: The starting URL to crawl. crawl_depth: The maximum depth to crawl relative to the starting URL (default: 1). max_pages: The maximum number of pages to scrape during the crawl (default: 5). Returns: List containing TextContent with a JSON array of results for crawled pages.
Scrape content and metadata from a single webpage using Crawl4AI. Args: url: The URL of the webpage to scrape Returns: List containing TextContent with the result as JSON.
Output schema undocumented. Tools claim to return List[TextContent|ImageContent|EmbeddedResource], but the actual JSON structure within TextContent.text is implicit. For scrape_webpage, is the JSON {success, url, markdown} or {results}? For crawl_website, does each result include 'error' or only on failure? LLMs cannot plan downstream composition without knowing these fields.
Input schemas not enforced. Parameters like 'url' lack JSON Schema constraints (format, pattern, minLength). The code uses regex validation in scrape.py (e.g. url_pattern) but this is not exposed in the MCP schema, LLMs see only 'url: string' with no format hint, so they may pass invalid URLs without guidance.
Parameter descriptions are too short and lack actionable constraints. 'The URL of the webpage to scrape' (10 chars) tells the LLM what the parameter is, not what format it expects (http/https only? domain required?). The 'crawl_depth' description mentions default but not valid range (must be >= 0?).
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 41 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 38 | - | v1 |
Error handling lacks recovery guidance. Both tools catch exceptions and return JSON with 'error' field, but the LLM receives only the raw error string (e.g. 'Crawl operation timed out after 300 seconds') with no guidance on what to do next. Should it retry? Is the timeout configuration? Should it contact support?
Output schema inconsistency breaks composition. scrape_webpage can return {success: false, url, error} on error, but crawl_website wraps results in {results: [{url, success, markdown|error}]}. Mixed structures make it hard for an LLM to write reliable downstream logic, it cannot predict field presence.