MCP Server for Twitter/X character counting and validation
The server defines 4 tools with explicit schemas and descriptions. However, the implementation has significant quality gaps: (1) Tool names lack action verbs (count_tweet_characters, validate_tweet instead of verify_tweet, etc.), making them less discoverable; (2) Descriptions are in Japanese, which limits adoption and LLM comprehension in English-first environments; (3) Parameter descriptions are minimal and lack constraint details (e.g., maxLength parameter has no validation guidance); (4) No documented output schema structure for tools, responses are JSON-stringified text content rather than structured objects; (5) Error handling is absent, tools do not validate inputs or provide recovery guidance; (6) All tools are read-only utility functions with no complexity that would justify the architectural overhead. The tools function correctly for their domain (Twitter/X text processing) but fall short of production-grade tool definitions.
Twitter/Xの投稿文字数を正確にカウントします。URLや絵文字も考慮します。
Twitter/Xの投稿からエンティティ(URL、メンション、ハッシュタグ)を抽出します
Twitter/Xの投稿を最適化します(長すぎる場合は短縮提案など)
Twitter/Xの投稿が有効かどうかを検証します(文字数制限、URL、メンションなど)
Tool names do not start with clear action verbs. 'count_tweet_characters' reads as a description rather than an action. Best practice is verb_noun (verify_tweet, extract_entities are closer but 'validate' is ambiguous without domain context).
All descriptions and parameter docs are in Japanese. While this may target a Japanese-speaking audience, LLMs operating in English-first environments will struggle to select and invoke these tools correctly. Tool descriptions should be English for maximum LLM compatibility.
Parameter descriptions lack constraint details. The 'maxLength' parameter (optimize_tweet) has a default of 280 but no validation guidance. Parameter descriptions should state format, range, and what invalid values trigger.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 40 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 37 | - | v1 |
Output schema is not documented. Tools return JSON-stringified text in a generic 'content' array rather than structured objects with typed fields. LLMs cannot plan downstream tool chaining without knowing what fields to expect.
No input validation or error handling. Tools do not check for null/empty text or invalid maxLength values. Invalid inputs are silently passed to twitter-text library, which may throw uncaught errors. Recovery guidance is absent.
Parameter 'text' in all tools lacks minimum/maximum length guidance. A 1-character string is technically valid JSON Schema but may not be meaningful for Twitter validation. Constraints should be explicit.