health_checkReturns server health, uptime, version, and storage stats
audit_context_budgetAnalyze the token cost of MCP tool definitions. Estimates tokens per tool using chars/4 on the full JSON definition. Returns per-tool costs and percen
optimize_tool_loadingGiven a task description, recommend the minimal set of tools needed. Uses keyword matching and category relevance scoring to rank tools.
compress_schemaCompress a verbose tool schema to reduce token usage. Light: remove short descriptions. Medium: shorten descriptions, remove examples. Aggressive: str
analyze_session_usageTrack which tools are actually called vs loaded in a session. Register tools, log calls, and generate waste reports showing unused tools ranked by tok
suggest_removalsIdentify tools that can be removed based on usage history. Scores: never_used > not_used_30_days > rarely_used. Returns removal candidates with estima
get_optimization_reportFull context window health check combining audit, removal suggestions, and compression recommendations. Returns an executive summary with health grade
We re-grade npm:token-lens-mcp on a schedule and alert your Slack/webhook the moment its tools change or its grade drops — rug-pull insurance for the connection.
Add the wmcp.sh trust oracle as an MCP server and call grade_mcp_server / check_mcp_drift in your agent's pre-connection gate:
https://wmcp.sh/mcp/trust
readOnly vs observed behavior) layer on via the wmcp.sh proxy.