PAKT compression engine — lossless-first L1-L3 compression with opt-in L4 semantic packing for LLM token optimization. Provides MCP tools for compressing, decompressing, inspecting, and analyzing structured data formats (JSON, YAML, CSV, Markdown).
PAKT MCP server demonstrates solid definition quality with consistent naming conventions, detailed parameter schemas, and comprehensive tool descriptions. All 7 tools follow verb_noun pattern (pakt_*) with clear, purpose-driven names. Descriptions are comprehensive (180-250 chars average), well above the 10-1024 baseline. Input schemas are fully specified with typed properties and descriptions for all parameters. However, OUTPUT schemas are entirely undocumented, critical gap that prevents LLMs from understanding response structure for downstream chaining. Error handling is present (errorReporting=true) but recovery guidance details are not visible in provided code. No tool annotations (readOnlyHint/idempotentHint), which are all READ_ONLY operations. Parameter enums are used correctly (format, originalFormat). Semantic budget parameters appear on 4 tools but lack range constraints (0-1.0 is mentioned in descriptions but not enforced in schema). No parameters expose secrets. Overall well-designed API surface, but lack of output schema documentation is a significant production readiness gap.
Automatically detect input format and compress or decompress as appropriate. Returns the most space-efficient action (compress if text, decompress if already PAKT).
Compress structured data (JSON, YAML, CSV, Markdown) into PAKT format with configurable compression layers and semantic packing budget.
Get a comprehensive dashboard view of compression analytics, including real-time statistics, format distribution, compression effectiveness trends, and session metrics.
Explain the compression techniques and token savings achieved for a given compressed PAKT output. Useful for understanding what compression strategies were applied.
Inspect the compression potential of input without actually compressing. Returns estimated token savings and detected format without modifying the input.
Calculate projected token savings for multiple inputs at once. Useful for batch analysis and ROI estimation before committing to compression.
Output schemas completely undocumented across all 7 tools. LLMs cannot understand what fields to expect in responses, breaking downstream tool composition and forcing agents to guess field names for chaining calls.
semanticBudget parameter on 4 tools lacks explicit min/max constraints in schema. Description states '0-1.0, default 0.1' but schema does not enforce bounds, allowing LLMs to pass invalid values like -5 or 10.
No tool annotations present. All 7 tools are READ_ONLY operations (confirmed in Risk field), but no readOnlyHint annotations in schemas. Agents cannot infer safety classification without explicit hints.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 67 | 2025-06-18+ | v2 |
| 2026-03-09 | F | 48 | - | v1 |
Retrieve accumulated compression statistics from the current session, including per-format breakdowns, deduplication cache stats, and rolling dictionary usage.
pakt_stats and pakt_dashboard accept no input parameters (empty properties object) but lack descriptions explaining what triggers these stateless reports or whether they reset between calls.