MCP server for TCalc - a local-first workspace token calculator, model recommender, and coding-agent optimizer
TCalc MCP Server defines 2 tools with moderate quality. Both tools have descriptions and input schemas present, but significant gaps exist in parameter documentation, error handling guidance, and output schema clarity. Tool names follow verb_noun conventions appropriately (create_repo_map, compact_completed_goal). However, parameter descriptions are sparse or missing, and no output schemas are documented. The server implements a workspace analysis domain with READ_ONLY risk classification, but lacks production-grade error recovery patterns and actionable error messages. Most parameters in create_repo_map have descriptions; compact_completed_goal has mixed parameter coverage. No examples of error handling patterns that guide LLM recovery are evident in the provided source excerpts.
Compacts a completed workspace goal by summarizing changes, decisions, and next steps into a concise format
Creates a comprehensive repository map from a workspace scan, optionally filtered by token budget and workspace goal
No output schemas documented for either tool. LLMs cannot infer what fields the tools return, breaking downstream tool composition and forcing agents to guess at response structure.
compact_completed_goal parameters lack descriptions for 'sourceTokens' and unclear descriptions for others. 'goal' enum has no guidance on which goal type to use for the completed work.
No error handling guidance in either tool. If create_repo_map fails due to invalid rootPath, or if token budget cannot be met, no recovery suggestions are provided to the LLM.
create_repo_map 'goal' parameter description does not explain WHEN to provide it or how it influences filtering. Parameter dependency with 'tokenBudget' is undocumented.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 53 | 2026-07-28+ | v2 |
enableSymbolExtraction and maxSymbols parameters in create_repo_map lack detail on symbol types extracted, performance implications, or when to set these to true/non-default values.
format parameter enum (markdown/json) provides no guidance on which to choose. Descriptions should explain output structure differences and recommended use cases.