MCP lesson 02 · Choose the right primitive
2026-07-28 core · deterministic JSON-RPC fixtures
Atlas Release Evidence Server. Read-only evidence, deterministic scoring, and an explicit evaluation Task across replicas and protocol eras.
01 · Smallest useful mechanism
The primitives have different discovery, invocation, trust, caching, and consent implications. A broad “do everything” tool erases those useful distinctions.
Use tools for operations, resources for addressable context, and prompts for reusable user-invoked templates.
02 · Experiment
Deterministic protocol fixture
This workbench uses inspectable JSON-RPC fixtures and injected failures. It does not make live calls or execute external effects.
Protocol workbench · atlas-primitives-v1
Injected failure
The evidence changes while a generic tool also has deployment credentials.
The trace has not run.
Commit to an implementation, then inject the failure and inspect the actual state transitions.
03 · Implementation brief
Your learning artifact
Stored only in this browser. No account required; course reset does not delete it.
04 · Check your understanding
Primary sources · verified 2026-08-02
Poor primitive design inflates model context, makes approval unintelligible, hides data provenance, and increases the blast radius of mistakes or injection.
Common mistake: Everything should be a tool because models already understand function calling. Read-only addressable content and reusable prompt templates have distinct contracts that improve provenance and user control.
Transfer exercise: Model release notes, a risk calculation, and a review checklist using the narrowest appropriate primitives.
Next: Primitive contracts travel over a transport; the next lesson shows why framing and deployment topology affect correctness and security.