Claude認定 対策ノート

講座 › 分野3 統合

3.7 段階的な検出とコンテキストの一括読み込みの比較

配点 2.4%Progressive Discovery vs. Monolithic Context Loading

文脈の必要量と待ち時間の許容度に対して、必要になった時に少しずつ読み込む方法と、最初に全部入れる方法のどちらが経済的かを選ぶ。

未読

最初に全部入れる方法の費用

図解:最初に全部入れる方法の費用

ツールが増えると、定義を最初に全部読み込むことと、途中の結果が文脈を通ることで、遅くなり、費用が増えます。50以上のMCPのツールで、仕事を始める前に、約7万2千トークンを使う例があります。

出典:Code execution with MCP
Excessive token consumption from tools makes agents less efficient As MCP usage scales, there are two common patterns that can increase agent cost and latency: Tool definitions overload the context window; Intermediate tool results consume additional tokens.
https://www.anthropic.com/research/code-execution-with-mcp(取得 2026-11-23)
出典:Introducing advanced tool use
Traditional approach: All tool definitions loaded upfront (~72K tokens for 50+ MCP tools)
https://www.anthropic.com/research/advanced-tool-use(取得 2026-11-23)

段階的に出す方法

図解:段階的に出す方法

必要な分だけ、必要になった時に読み込む方法です。Skillsは、必要な段階ごとに情報を読み込みます。モデルは、ファイルシステムをたどるのが得意なので、構成を探索させる設計が成り立ちます。ツールの検索や、コードによる呼び出しで、途中の結果を文脈に入れずに済ませる方法もあります。

出典:Agent Skills overview
This filesystem-based architecture allows **progressive disclosure:** Claude loads information in stages as needed, rather than consuming context upfront.
https://platform.claude.com/docs/en/agents-and-tools/agent-skills/over…(取得 2026-11-23)
出典:Code execution with MCP
Models are great at navigating filesystems.
https://www.anthropic.com/research/code-execution-with-mcp(取得 2026-11-23)
出典:Programmatic tool calling
You provide the tool result, and code execution continues (intermediate results are not loaded into Claude’s context window).
https://platform.claude.com/docs/en/agents-and-tools/tool-use/programm…(取得 2026-11-23)

全部入れるほうが良い場合もある

図解:全部入れるほうが良い場合もある

資料が小さく、毎回全部が必要なら、全部を入れるほうが単純です。段階的に出す方法は、探索のための往復が増えるので、遅延の許容度が小さい処理や、いつも同じ内容を使う処理には、最初に入れる方法とキャッシュが向きます。

出典:Introducing Contextual Retrieval
you can just include the entire knowledge base in the prompt that you give the model, with no need for RAG or similar methods.
https://www.anthropic.com/research/contextual-retrieval(取得 2026-11-23)
出典:Claude Certified Architect – Professional Exam Guide v1.1(12月7日発効・英語)
Evaluating progressive discovery against loading everything into context up front for a task with stated context demands and latency tolerance, and selecting the strategy whose context economics fit the workload.
https://cc.sj-cdn.net/instructor/6nizmqk8tpzpfjvt6qmmav7rh/public/1794…(取得 2026-11-23)
試験のポイント