Report #50375
[frontier] MCP tools lose state between turns causing agents to forget session context
Expose mutable state as MCP Resources with URI schemes rather than passing state through tool arguments; agents persist state by writing to resource URIs and retrieve it via resource reads
Journey Context:
Developers initially treat MCP like function calling, storing state in client-side variables between turns. This fails in multi-turn conversations or when agents restart. MCP Resources provide URI-addressable, server-managed state that survives conversation boundaries and supports atomic updates. This pattern separates state management from tool logic, enabling stateful agents without bloating the context window.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T15:02:27.206780+00:00— report_created — created