MCP server for creating posts on X (Twitter) and performing arithmetic operations
Both tools have minimal descriptions (10-20 chars, below the 20-char floor) and parameter descriptions are entirely missing (null). Input schemas are present with proper types (number, string) but lack parameter documentation. The addTwoNumbers tool is trivial but correctly named with a verb. createPost has a critical security issue: it exposes Twitter API credentials in environment variables without server-side injection patterns, and the tool implementation in mcp.tool.js has a bug (undefined 'text' variable in response). Error handling is absent, no recovery guidance, no validation of inputs, no handling of API failures. Output schemas are not documented. No tool annotations (readOnlyHint, destructiveHint) despite createPost being a destructive write operation.
Add two numbers
Create a post on X
Parameter descriptions are null for all inputs (a, b, status). LLMs cannot infer parameter meaning from names alone. 'status' is ambiguous, does it mean HTTP status, post status, or boolean flag?
Tool descriptions are under 20 characters ('Add two numbers', 'Create a post on X'). Descriptions lack context for LLM selection, do not state WHEN to use the tool, and do not explain prerequisites or side effects.
createPost is a destructive write operation but has no tool annotations (destructiveHint=true, idempotentHint=false). Agents cannot distinguish safe reads from irreversible writes. Additionally, the implementation in mcp.tool.js references undefined 'text' variable in the response, causing runtime errors.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 41 | 2026-07-28+ | v2 |
No error handling or recovery guidance. If Twitter API fails, the tool returns nothing (catch block only logs). LLMs receive no actionable error message, no retry guidance, and no indication of what went wrong.
Output schemas are not documented. Callers do not know what fields to expect from responses. The createPost response structure differs between server/index.js (references newPost.data.id, newPost.data.text) and mcp.tool.js (which does not return those fields), indicating inconsistent implementation.