Async web research assistant using non-blocking I/O. Performs web searches and scrapes webpage content.
This server has 4 tools with mixed quality. Two tools ('about', 'validate') are trivial metadata queries with minimal utility. The two substantive tools ('perform_web_research', 'scrape_webpage_content') have descriptions and basic input parameters, but lack proper schema documentation, output schema specifications, and robust error handling guidance. Descriptions are present but lack the specificity needed for LLM tool selection, they do not clearly state WHEN to use each tool relative to alternatives, do not document output structure, and lack dependency hints. Input parameters have descriptions in annotations but no formal JSON Schema constraints (no enums, no min/max bounds). Error handling returns generic error messages rather than recovery guidance. No tool annotations (readOnlyHint, idempotentHint) are present. The server does not follow the pattern of returning structured, chained IDs that downstream tools need.
Returns server metadata.
Performs a web search for a query and provides a detailed summary paragraph, followed by a list of source websites.
Extracts all the clean text content from a specific webpage URL. Use this after finding sources with the research tool.
Validation for Puch AI Hackathon.
Output schema not documented. perform_web_research returns {'message': str, 'results_data': list} and scrape_webpage_content returns {'message': str, 'full_text': str}, but these are not declared in tool metadata. LLMs cannot plan downstream tool calls or extract fields reliably without documented output schemas.
Input schema for perform_web_research lacks constraints. 'query' parameter accepts any string, including empty strings (caught at runtime). No enum, pattern, min/max length, or validation constraints. Error message says 'cannot be empty', but this should be enforced in schema, not runtime code.
Error messages lack recovery guidance. scrape_webpage_content returns 'Network error: {e}' and 'Scrape error: {e}', raw exception strings. No actionable next steps. Pattern:recovery-guide requires: 'User not found. Try search_users() with a partial name.' These errors tell LLM nothing to do.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 57 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 36 | - | v1 |
perform_web_research description does not mention that results_data field is NOT included in the summary text, the agent must explicitly request it to get structured data. This dependency is undocumented, forcing agents to guess or fail.
Two trivial tools ('about', 'validate') add no value for a web research assistant. 'about' returns hardcoded metadata; 'validate' returns an environment variable for a hackathon. These clutter the tool namespace and waste LLM reasoning cycles. Consider removing or combining.
scrape_webpage_content truncates output at 5000 characters (:5000 slice) with no warning or indication. Agent cannot know if it got the complete text or partial. Should return a 'truncated' boolean and a 'char_limit' field, or increase limit with pagination.
Tool descriptions use custom JSON for 'description' field (RichToolDescription.model_dump_json()). This mixes structured metadata ('use_when') with the actual description string, making it non-standard. The 'use_when' field is not indexed or parsed, it just sits in the JSON and wastes tokens.