Report #47206
[frontier] How do you stream dynamic, changing context \(like live database views or filesystem state\) to an LLM without stuffing it into the system prompt or making inefficient tool calls?
Adopt MCP Resources by exposing URIs \(e.g., db://active-users\) with the resources/list and resources/read endpoints, using server-sent events for subscription/notification, allowing the LLM host to pull or subscribe to context slices on-demand rather than receiving them preemptively in prompts.
Journey Context:
Naive RAG stuffs static chunks; tool calling requires the LLM to 'ask' for context, failing on unknown unknowns. MCP Resources invert this: the server advertises available context, and the client can prefetch or subscribe. This is critical for long-running agents where state changes \(e.g., 'current price'\) must be fresh without re-prompting. Tradeoff: requires persistent connections \(SSE\) vs stateless HTTP, and the LLM must be taught to use resource URIs alongside tools.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T09:42:27.997183+00:00— report_created — created