An MCP server for running workspace tests and triaging failures using Token Optimizer.
Token-optimizer has 6 tools with mixed quality. Tool names follow verb_noun convention (check_, run_) which is good. However, critical gaps exist: tool #6 (run_command_digest) has NO description visible in source; parameter descriptions are sparse or missing across most tools; output schemas are completely undocumented; error handling guidance is absent. Only 2 of 6 tools have descriptions meeting the 10-1024 char baseline. Parameters like 'workspacePath', 'taskSummary', 'executionProfile' lack constraint documentation (ranges, enums, format). No evidence of pagination, result limits, or chaining IDs in responses. Security concerns: tools accept file paths and commands with minimal validation hints visible.
Checks the configured local OpenAI-compatible LLM endpoint with a tiny JSON-only request and returns provider/model availability metadata without exposing prompts, raw responses, or secrets.
Reviews modified files for basic regressions or errors before running test suite.
Analyzes a log file to determine failure cause and suggest a fix.
Compares test behavior against a baseline output to find newly introduced failures.
Runs build/lint/tests in the workspace and triages results using a local LLM to output a compact verdict.
run_command_digest has no description visible in source code. Tool is essentially undocumented for LLM selection.
No output schemas documented for any tool. LLMs cannot plan downstream calls or extract required fields.
Parameter descriptions are sparse or missing. 'workspacePath' and 'logPath' lack format/constraint hints. 'executionProfile' enum is present but other params like 'taskSummary', 'changedFiles' lack guidance on expected content, length, or format.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 51 | 2026-07-28+ | v2 |
No error handling guidance visible. Tools accept file paths and shell commands but no descriptions explain validation, injection prevention, or recovery steps. Per pattern:recovery-guide, errors must tell LLM what to do next.
run_test_verdict and run_command_digest are WRITE tools but no confirmation/dry-run pattern visible. Per pattern:confirmation-request, irreversible operations should support confirmation to prevent agent mistakes.