問題文
A team is building an MCP server that exposes a document repository. Some content is a read-only reference that Claude should be able to include as context; other content requires an action such as creating a new document. How should these be exposed?
選択肢
- Expose everything as resources, and have Claude describe the document it wants created in its text response for a human to act on.
- Expose everything as tools, since tools are the only mechanism Claude can invoke.
- Expose the read-only reference material as resources and the document creation capability as a tool, since resources supply context while tools perform actions.
- Expose the reference material as prompts, since prompts are how content is delivered to the model.