Skip to content

Schema Compression

In router mode, upstream tool descriptions can become expensive in prompt context. Schema compression truncates verbose descriptions by default.

{
"schemaCompression": {
"enabled": true,
"maxDescriptionLength": 80
}
}
  • Enabled by default
  • Tries sentence-boundary cut first, then word-boundary fallback
  • Full schema remains available via action=schema
mcp(server="todoist", action="schema", tool="find-tasks")

README benchmark example: 30 Todoist tools reduced from ~2800 to ~1200 tokens (~57%).