Plan Context Footprint
plan_context_footprintEstimate MCP schema and feedback-context footprint before loading large manifests into an agent prompt, reporting progressive-discovery and compaction savings plus proof-preserving recommendations.
Instructions
Estimate MCP schema and feedback-context footprint before loading large manifests into an agent prompt. Reports progressive-discovery savings, context compaction savings, and proof-preserving recommendations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anchors | No | Optional entries that must survive compaction. | |
| entries | No | Optional feedback/context entries to compact and measure. | |
| windowSize | No | Feedback compaction recency window. | |
| totalMaxChars | No | Optional total character budget for compacted feedback entries. | |
| targetReduction | No | Target footprint reduction as a ratio or percentage. Default: 0.22. | |
| perEntryMaxChars | No | Maximum characters retained per large feedback field. | |
| matryoshkaOptions | No | Optional Matryoshka compaction knobs. Invalid dimensions/counts are rejected. | |
| schemaUrlTemplate | No | Template for progressive MCP tool schema URLs, using {name}. | |
| matryoshkaEmbedding | No | When true, include Matryoshka embedding compaction footprint tiers. Default: true for MCP plan_context_footprint. |