What is the primary purpose of defining resources within an MCP server?	To expose specific data and read operations to the client.
What are the two main aspects of the document mention feature being implemented?	1) Displaying a list of available documents in an autocomplete window, and 2) Automatically fetching and inserting the document content into the prompt.
How should resources generally be designed when implementing read operations?	Define one resource for each distinct read operation.
What is the key difference between a direct resource and a templated resource?	A direct resource has a static URI, while a templated resource includes parameters (wildcards) in its URI.
When a templated resource URI is requested, how does the Python MCP SDK handle the parameters?	It automatically parses the wildcard and provides the value as a keyword argument to the associated function.
What is the function of defining a MIME type when creating an MCP resource?	It provides a hint to the client regarding the structure and format of the data being returned (e.g., `application/json` or `text/plain`).
In the context of the document mention feature, what type of resource would be used to provide the list of all document names?	A direct resource (e.g., `docs://documents`).
What type of resource would be used to retrieve the contents of a single document based on its ID?	A templated resource (e.g., `docs://documents/{doc_id}`).
