< Previous Challenge - Home - Next Challenge >
Every MCP tool and Skill you enable adds token overhead to every agent step. Each tool’s name, description, and parameter schema are advertised to the model on every request—even if the tool is never invoked. A session with many unused tools burns credits before you’ve written a line of code.
Meanwhile, changing configuration mid-session can trigger cache invalidation, forcing expensive cold restarts where previously cached context must be reprocessed.
In this challenge, you’ll measure the real cost of tool sprawl and observe how session hygiene affects your credit spend.
This challenge has two parts: measuring MCP tool overhead and observing cache invalidation behavior.
Use GitHub Copilot to scan/find something in the microsoft/TypeScript repository and report back.
If you don’t have MCP servers enabled already, try the GitHub MCP server with all its tools. Complete the task with all tools enabled and record your credit spend.
Next, identify which MCP tools and skills were actually used.
Disable the unused tools and skills, repeat the scan, and measure the credit difference. Each unused tool adds token overhead on every agent step because its schema is included in the system prompt.
Complete the repository scan twice more under different conditions:
Clean Session: Configure your tools once, then complete the entire scan without making any configuration changes. Record total credits.
Messy Session: Start the scan, but mid-way through deliberately make configuration changes—disable a tool, edit your .github/copilot-instructions.md file, or switch to a different reasoning effort level. Finish the scan and record total credits.
Observe which configuration changes cause measurable credit spikes. These spikes indicate cache invalidation—when GitHub Copilot must reprocess previously cached context.
To complete this challenge successfully, you should be able to: