A WebSocket-based MCP server that provides tools for user interaction, including asking users questions and receiving responses. It bridges WebSocket connections to MCP protocol endpoints.
The Frontend Router MCP server has only one tool (ask_user) with a moderately descriptive definition, but critical gaps in schema completeness, parameter documentation, and error handling severely limit its quality. The tool definition is visible in cmd/server/main_monitoring.go but lacks formal JSON Schema validation, proper input type constraints, and comprehensive error guidance. The server architecture shows HTTP transport with WebSocket support, but tool composition and definitions fall well below production standards.
Ask a question to the user and receive their response
Input schema lacks formal JSON Schema constraints and type validation. Parameters are documented in description text only (question, timeout_seconds), but no formal schema shows types, required flags, or constraints like minimum/maximum timeout bounds.
Timeout parameter (timeout_seconds) lacks bounds specification. Description says 'default: 300' but does not state min/max values. LLMs could pass absurd timeouts (0, -1, 999999) without validation guidance.
No documented output schema. Tool description does not explain what the response contains (e.g., 'returns user's text response as a string'), forcing LLMs to infer the structure.
Error handling and recovery guidance is absent. No documentation of failure modes: what if the user does not respond within the timeout? What if the connection drops? How should the agent retry?
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 45 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 0 | - | v1 |
Tool name 'ask_user' is acceptable but description is generic (57 chars: 'Ask a question to the user and receive their response'). Does not explain when to call this vs other potential user-input tools, or what context is needed.
No idempotency guidance. Calling ask_user multiple times with the same question may prompt the user multiple times. No documentation of side effects or whether the tool supports confirmation/dry-run patterns.
Server code shows tool interface (Type Tool interface{Name() string; Description() string; Execute(ctx, params)} in internal/mcpserver/server.go) but no visible implementation of ask_user tool. The tool definition is declared in main_monitoring.go but the actual Execute() method body is not shown in the provided source.