A Rails-based MCP server that provides tools for concatenating files
Single tool 'concatenate' with minimal definition quality. The tool has a valid input schema with two parameters, but descriptions are extremely sparse. The tool description (15 chars: 'Concatenates multiple files into a single output file') is adequate but parameter descriptions are generic placeholders that provide minimal LLM guidance. No output schema documented. No error handling guidance. No idempotency guarantees stated despite this being a file write operation. The implementation cannot be verified from the provided source (only controller stubs shown; actual tool registration logic not visible in sample). Parameter 'files' lacks type specificity beyond 'array', what are valid file paths? Absolute vs. relative? Max array size? Parameter 'output_path' similarly lacks constraints. This server is NOT production-ready for agentic use.
Concatenates multiple files into a single output file
No output schema documented, LLM cannot predict what the tool returns or plan downstream operations
Parameter descriptions are generic placeholders. 'List of file paths to concatenate' lacks constraints: are paths absolute or relative? What file types allowed? Max array size? LLMs will pass invalid inputs.
No input validation rules or error guidance. Tool description does not state what happens on failure (file not found, permission denied, path traversal attempts). No actionable error recovery hints.
Destructive operation (file write) lacks idempotency statement or confirmation pattern. No dry-run option. Agent mistakes could silently overwrite files without user awareness.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 43 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 32 | - | v1 |
No permission gating documented. Tool accepts file paths without visible sanitization against path traversal (e.g., '../../../etc/passwd'). Agents could write outside intended directories.
Tool registration logic not visible in source sample. Tool existence is inferred from the description; actual MCP registration (schema, capabilities negotiation) cannot be verified. This caps the tool's overall score at 50.