MCP Series Part 5: How Resources and Parameterized URIs Feed Live Data to LLMs
A technical deep dive from DEV Community explains the distinction between MCP Resources and Tools in large language model architectures, where Resources serve as read-only data sources and Tools represent executable actions with potential side effects. Dynamic Resources return live, changing data on every read rather than a fixed snapshot, making them suitable for real-time information like sprint progress or issue counts. Parameterized URIs allow a single resource handler to serve multiple instances, such as per-project statistics, by parsing identifiers directly from the URI path. The host system decides when to inject Resources into context, enabling it to supply only the relevant data — for example, loading stats for the active project rather than all projects at once. The article also highlights the importance of marking dynamic Resources explicitly in their descriptions so the LLM knows to re-fetch them when fresh data is required.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in