MCP server for DataPizza agentic AI system providing tools for fetching X/Twitter posts and user information
Two tools with minimal definition quality. getUserName has a trivial description (31 chars) and empty input schema {}. get_x_posts has a basic description (67 chars) but lacks parameter descriptions entirely, 'query' and 'max_results' have no guidance on format, constraints, or when to use them. Neither tool documents output structure. No error handling guidance. No security considerations despite calling external APIs with hardcoded test tokens. Naming is acceptable (verb_noun pattern) but descriptions fall far short of the 50-200 char LLM-optimized baseline for A+ tools.
A function get the current users name
Fetch recent X posts for a query and return tweet text list.
get_x_posts parameters lack descriptions. 'query' and 'max_results' have no guidance on format, constraints, or valid ranges. LLMs cannot infer parameter meaning from names alone.
No output schema documented for either tool. LLMs cannot plan downstream calls or extract data without knowing what fields to expect.
Hardcoded test bearer token 'test_only' exposed in source. Credentials must never appear in tool code, use server-side secret injection via environment variables.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 46 | 2026-07-28+ | v2 |
No error handling guidance. get_x_posts returns [f'Error: {res.status_code} - {res.text}'] on failure, raw HTTP status and response body. LLM cannot determine if error is retryable or what to do next.