Exposes TokenMizer as an MCP (Model Context Protocol) server for checkpoint/resume of LLM sessions, graph memory inspection, file analysis, and token savings analytics.
TokenMizer MCP exposes 6 well-named, intentional tools for session checkpointing and graph-backed memory. All tools have descriptions and input schemas with typed parameters. However, several critical gaps reduce quality: (1) Output schemas are undocumented, no schema definitions for return values from any tool, forcing LLMs to guess at response structure; (2) Parameter descriptions exist but lack specificity on format/constraints (e.g., resume_session.level enum values are documented but file_path in analyze_file has no path format guidance); (3) No error handling guidance in any tool description, LLMs don't know what to do if a session is not found, file is unreadable, or token_budget is exceeded; (4) Error categories (retryable vs. fatal) are undefined; (5) No recovery paths or next-step guidance in error cases; (6) Destructive operations (checkpoint_session modifies graph state) lack confirmation or dry-run support; (7) analyze_file accepts arbitrary file_path without documented path validation or traversal guards. These issues are typical for community tools but block production deployment.
Analyze a large file (CSV, Excel, PDF, JSON) and return a token-efficient summary. Instead of pasting thousands of rows into the chat, use this to get schema, statistics, and sample data in ~300-500 tokens.
Save the current AI session to TokenMizer's graph memory. Creates a checkpoint that can be resumed later with full context. Use this when: finishing a work session, before switching tasks, or when the conversation is getting long.
See the knowledge graph stats for a session: how many tasks, decisions, files, and errors are tracked.
Get token savings analytics — how many tokens were saved today/this week.
Get the resume context for a previous session. Returns a compact summary of what was done, decided, and what's pending. Inject this into the system prompt when starting a new session on the same project.
Output schemas are completely undocumented for all 6 tools. LLMs cannot plan downstream calls or extract correct fields without seeing return value structure.
analyze_file accepts arbitrary file_path parameter with no documented validation, path traversal guards, or allowed directory constraints. Security risk.
No error handling guidance in any tool description. LLMs don't know what to do if a session is not found, file is unreadable, or an operation times out. No recovery paths.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 61 | 2026-07-28+ | v2 |
Reason over the session's decision history: why is something the current choice? Traces the supersession chain (old → new with trigger, reason, and evidence per hop) for decisions matching the query, and reports the currently active choice. Use when the user asks 'why did we pick X', 'what happened to Y', or 'what was the previous approach'.
checkpoint_session is a destructive operation (modifies graph state) with no confirmation, dry-run, or rollback support. Agents could corrupt session memory.
analyze_file parameters lack format constraints and validation guidance. token_budget is unbounded (no min/max documented). query and file_path have no pattern/length constraints. CSV/Excel/PDF listed as examples, not enums, LLM may try unsupported formats.
resume_session and why_decision use domain-specific terminology ('level', 'supersession chain') that is not explained in descriptions. LLMs unfamiliar with TokenMizer semantics may misuse tools.
get_savings_stats description is too brief (9 words). Lacks explanation of how 'token savings' is calculated, what 'today/this week' means, and when an LLM should call this tool.
checkpoint_session messages parameter has no enum constraint on 'role' field. Should enforce role ∈ [user, assistant] to prevent invalid payloads.