{"version":"2.1.269","anchor":"undeclared-mcptool-cleanup-at-compaction","canonical_anchor":"undeclared-mcptool-cleanup-at-compaction","heading":"Undeclared MCP\/tool cleanup at compaction","tier":"notice","area":"Compaction","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.269\/e\/undeclared-mcptool-cleanup-at-compaction","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.269","markdown":"### Undeclared MCP\/tool cleanup at compaction\n\nClaude Code can now drop unused MCP tools from a session's declared-tools list when compacting the conversation\n\n**Unclear.** Nothing has been read yet about whether this cleanup is switched on for any account, so its practical effect is unknown.\n\n**What**\n\nWhen a long conversation is compacted (summarized to save space), a new internal helper can now strip tools that are no longer needed from the session's list of declared tools (the tools, including those from MCP servers, that the session knows about). It also records how many tools were dropped this way.\n\n**Why**\n\nThis is internal housekeeping: keeping the declared-tools list trimmed at compaction time can reduce clutter and unnecessary bookkeeping in long sessions.\n\n- Area: Compaction\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5"}