A Rails-based MCP (Model Context Protocol) server implementation with multiple tools for code analysis, weather data retrieval, dependency management, and development utilities.
This Rails MCP server has foundational tool definitions but suffers from critical gaps in naming conventions, parameter documentation, and output schema clarity. Of 7 tools, only 2 have fully documented parameters with types and descriptions. Many tools lack proper verb-noun naming (e.g., 'judge-my-lunch', 'start-world-war3' are not action-oriented). Tool descriptions are present but generic, and schema documentation for return values is entirely absent. The server includes a destructive test tool ('start-world-war3') that could be accidentally invoked, no confirmation mechanism is evident. Overall, this reads as a template/example server rather than production-ready implementation.
Returns the MCP client name and version that initiated this session
Retrieve dependency information from the project's Gemfile and gemspec files as JSON
Fetch weather information by location
Read-only test tool that accepts a string input representing lunch and returns a static evaluation message. Used for verifying read-only behavior.
Analyze provided Ruby code using the RuboCop gem API.
Analyze Ruby code structure without relying on Ruby LSP indexing
Destructive test tool that accepts GPS coordinates and simulates a high-impact operation. Validates latitude and longitude are within Earth's bounds.
Non-verb-noun naming undermines LLM tool selection. 'judge-my-lunch' and 'start-world-war3' do not follow action-verb conventions. LLMs cannot infer tool purpose from these names and must read full descriptions to understand intent. Recommend: 'evaluate_lunch' and 'test_destructive_operation' or similar.
Output schemas are completely undocumented. Tools like 'client_info', 'dependency_info', 'rubocop', and 'ruby_code_analyzer' have no visible schema for their return values. LLMs cannot plan downstream operations or parse responses reliably. Every tool must document what fields are returned and their types.
Missing parameter descriptions. 'client_info' and 'rubocop' accept parameters but lack inline documentation. 'rubocop' has a 'code' parameter with no description. 'ruby_code_analyzer' has 'name' and 'include_private' parameters described only in code comments, not in the tool schema visible to LLMs.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 44 | 2026-07-28+ | v2 |
| 2026-03-09 | D | 51 | - | v1 |
Destructive test tool lacks safety mechanisms. 'start-world-war3' is marked DESTRUCTIVE but has no confirmation step, no dry-run option, and is not gated behind permission checks. Although labeled a 'test' tool, its presence alongside production tools creates risk. Consider isolating test tools or implementing explicit confirmation-request pattern.
Generic descriptions lack LLM-actionable context. Descriptions like 'Analyze Ruby code structure without relying on Ruby LSP indexing' are unclear about when to invoke this tool vs 'rubocop'. No distinction between use cases, no mention of what distinguishes 'ruby_code_analyzer' from 'rubocop'. Descriptions should be 50-200 chars and answer: WHAT, WHEN, and WHY.
No error recovery guidance. None of the tools document error conditions, retryable failures, or next steps. For example, 'fetch_weather_by_location' may fail if the API is down, but there is no error message guiding the LLM to retry or check the API status. All tools should include error handling with recovery hints.