What is the primary function of "resources" within an MCP server?	To expose specific amounts of data to the client for retrieval.
What is the difference between a direct resource and a templated resource?	A direct resource has a static URI, while a templated resource has parameters or wildcards in its URI.
How does the MCP client request data from an MCP server resource?	By sending a read resource request that includes the URI of the desired resource.
When defining a templated resource, how are parameters (like a document ID) passed to the associated function?	The MCP SDK automatically parses the parameter from the URI and provides it as a keyword argument to the function.
What is the purpose of defining a MIME type when creating a resource?	It provides a hint to the client about the format of the data being returned (e.g., `application/json` or `text/plain`).
For the document mention feature, how many distinct resources are typically required?	Two: one resource to return a list of document IDs (for autocomplete) and another to return the contents of a single document.
Give an example of a static/direct resource URI used in the transcript.	`docs://documents`
What happens to the data returned by an MCP resource function?	The MCP Python SDK automatically takes the returned data and serializes it into a string for transport.
