mcp-schema-bloat-fixer
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Schema Bloat Fixer
Fight the invisible token tax that is killing your AI agents.
Repository: mcp-schema-bloat-fixer
The Problem (explained simply)
Imagine your AI agent is a smart kid trying to do homework.
But every time he starts, you force him to read a 200-page phone book of tools first.
By the time he finishes reading the phone book, he already forgot the homework question and also spent all his pocket money on “thinking tokens”.
That phone book is the tool schemas coming from MCP servers.
Many servers send 40-50% of the entire context window just on tool descriptions.
Related MCP server: CostGate
What This MCP Server Does
It gives your agent (or you) five superpowers:
Tool | What it does (simple) |
| Tells you which tools are the biggest space-wasters |
| Makes long tool descriptions short but still clear |
| Picks only the 3-5 tools the agent actually needs right now |
| Shows how many tokens (and dollars) a set of tools will cost |
| Creates the smallest possible version of a tool schema |
Quick Start
# Install
pip install mcp
# Run (stdio)
python -m src.server
# Or with mcpize (when available)
mcpize run .Environment
Copy .env.example → .env if you want optional tiktoken for exact counts.
Why This Helps Entrepreneurs
Save real money on every AI call
Make your AI products more reliable (agents stop picking wrong tools)
Ship faster because debugging “why did the agent fail?” becomes easier
License
MIT – build cool stuff with it.
Built as part of the Daily AI Project series for Prevalid.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
The OpenRouter for tools. One MCP connection gives any AI agent 254 hosted tools, pay per call.
Grade MCP tool definitions for agent-readiness: score, A-F grade, fixes, est. token cost.
Convert, lint and generate LLM tool schemas for OpenAI, Anthropic, Gemini and MCP
Pay-per-use tool marketplace for AI agents. Search, price-check, and call APIs via MCP.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP proxy that compresses tool schemas on the fly. Up to 98% token reduction, 100% signal preserved verified after every compression. Zero LLM calls, fully deterministic.53MIT
- AlicenseNot gradedqualityDmaintenanceReduces AI token consumption by optimizing MCP tool definitions and responses, with a probe for measurement and a gate for filtered tool exposure and cost reduction.MIT
- AlicenseNot gradedqualityCmaintenanceOptimizes MCP tool menus from OpenAPI specs by grouping operations by tag and trimming schemas to reduce token usage, improving agent tool-selection accuracy.13 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables analyzing and optimizing context window token usage by measuring, compressing, and eliminating waste from MCP tool definitions.63 npmMIT