An MCP server that provides tools for creating Twitter posts and performing mathematical operations, designed to work with a Google Gemini AI client
Both tools suffer from critical definition gaps. Parameter descriptions are completely missing (null), violating the core requirement that every parameter must have a description explaining what it controls. Tool descriptions are minimal (under 60 chars) and lack context about when to use each tool, prerequisites, or what happens. Neither tool has documented output schemas. The addTwoNumbers tool lacks clarity on numerical bounds. The createPost tool has no mention that it performs a write operation with side effects, and credentials are dangerously exposed in server-side code (but not as parameters, which is a small mercy). Overall, both tools fail to meet baseline quality standards for LLM-optimized definitions.
Add two numbers
Create a post on X formally known as Twitter
ALL parameters lack descriptions (null). Parameter 'a' and 'b' in addTwoNumbers have no explanation of what values are accepted, valid ranges, or units. Parameter 'status' in createPost has no guidance on length, format, or content constraints.
No output schemas documented. Callers cannot predict the response structure. LLMs cannot plan downstream operations without knowing what fields are returned.
Tool descriptions are too generic and lack context. 'Add two numbers' (17 chars) does not explain when to use this vs. other arithmetic. 'Create a post on X formally known as Twitter' (47 chars) does not state that this is a write operation with irreversible side effects, or what the status parameter should contain.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 36 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 30 | - | v1 |
No numeric constraints on addTwoNumbers parameters. Rubric baseline requires min/max for numeric params. LLMs could pass arbitrarily large or small values causing overflow or API errors.
createPost description does not clarify that this is a state-changing (write) operation. Agents need to know which calls have irreversible consequences to plan retries safely.
No error handling guidance. If createPost fails (e.g., rate limited, invalid credentials, empty status), the response does not tell the LLM what to do next (retry, ask user, abort).
Twitter API credentials exposed in server code (mcp.tool.js). While not passed as tool parameters (correct), storing secrets in plaintext environment variables without vault or rotation poses security risk.