Servidor MCP de leitura para a réplica SQL Server do Softland da SWITCH Chile
Two tools with minimal parameter descriptions and no documented output schemas. check_connection has empty input schema ({}), violating schema requirements. get_project_operating_margins has a single array parameter with basic description but no output schema documentation. Both tools lack error handling guidance, recovery hints, and actionable error messages. Descriptions are present but generic (Portuguese text, no LLM-optimized phrasing). No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite both being read-only operations. Tool names follow verb_noun pattern (check_, get_) which is correct, but descriptions do not explain WHEN to use each tool or what downstream operations they enable.
Verifica a conexão somente leitura com a réplica SQL Server do Softland e retorna servidor, banco, login, horário e permissão de consulta.
Consulta receitas, custos e margem operacional por centro de custo e projeto no Softland, considerando os anos contábeis informados.
check_connection has empty input schema ({}). Tool provides no guidance on what it returns or how to use results downstream.
No output schemas documented for either tool. LLMs cannot plan downstream calls or extract required fields. get_project_operating_margins returns ProjectOperatingMarginResult (visible in query file) but tool definition does not expose this schema.
Descriptions lack LLM-optimized phrasing. No WHEN-to-use guidance, no dependency hints, no recovery paths. 'Verifica a conexão...' (Portuguese) is not actionable for English-speaking LLMs. Descriptions should be 50-200 chars, LLM-optimized, and explain when to call this tool vs alternatives.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 46 | 2025-06-18+ | v2 |
No error handling guidance. If database connection fails, query times out, or years parameter is invalid, tool returns raw error. LLM has no recovery path. Should return 'Connection failed: [reason]. Verify SQL_SERVER, SQL_USER, SQL_PASSWORD in environment.' and similar actionable messages.
No tool annotations despite both tools being read-only. Should include readOnlyHint: true in tool definitions to signal to agents that these are safe to call without confirmation.