ContextTrim
Server Details
A lightweight MCP tool for lossless prompt cleanup. optimize_context collapses redundant whitespace outside fenced code and returns cleaned text with approximate savings estimates. Deterministic processing with no LLM calls, account, or prompt storage; the agent decides whether to use the result. Free beta.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 2 tools
The two tools have clearly distinct roles: estimate_context_savings previews savings without transforming text, while optimize_context performs the paid transformation. The descriptions explicitly connect them in a workflow, so an agent can easily choose the right tool.
Both names follow a consistent snake_case verb_noun pattern: estimate_context_savings and optimize_context. The convention is predictable and readable.
Two tools is slightly below the typical 3-15 range, but the server's purpose is narrow and each tool earns its place. A preview/perform pair is reasonable for this domain.
The core lifecycle of estimating savings and applying the optimization is covered. Minor gaps exist around optional configuration or diff inspection, but the primary workflow has no dead end.
Available Tools
2 toolsestimate_context_savingsAInspect
Preview approximate character and token savings from ContextTrim without returning a transformed prompt.
Inputs: context (required).
optimize_contextAInspect
Paid tool: for $0.001 USDC on Base, losslessly reduce redundant whitespace in prompt/context text, preserving words and fenced code. Returns cleaned text and approximate token counts. Call only when estimated savings are useful.
Inputs: context (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Servers
- AlicenseAqualityBmaintenanceRevenue intelligence for complex B2B growth. Your agent builds the assets technical founders sell with, and prepares them for real buyer conversations.34260 npm2MIT
- AlicenseCqualityCmaintenanceCompetitor Monitor AI - MCP server providing AI-powered tools and automation by MEOK AI Labs114 npm44 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceSearches and analyzes competitor ads and content across Meta, Google, Instagram, TikTok, and YouTube with AI-powered creative analysis and cross-platform brand discovery.1MIT

industrylens-mcpofficial
AlicenseNot gradedqualityNot gradedmaintenanceBrowse IndustryLens's published competitive-intelligence reports and head-to-head competitor comparisons from any AI agent — real, source-backed data.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.