Claude Certified Architect – Foundations Practice Question 78: MCP Elicitation Input
Claude Certified Architect, Foundations · Test 8 · question 8 of 10
An MCP server exposes a deploy tool. Midway through a call it discovers it needs two details from the user that were not in the arguments: the target environment (one of three values) and a yes/no confirmation to run database migrations. The MCP client has declared the elicitation capability. How should the server obtain the answers while the tool call is still in progress?
Show answer and explanation
Answer:
Elicitation lets a server request additional information from the user through the client, nested inside another operation. In form mode the server sends elicitation/create with a human-readable message and a requestedSchema (a flat object of primitives, including enums and booleans, which fits an environment choice and a confirmation). The client shows a form and replies with action accept (with content), decline or cancel, and the server handles each. Sensitive data such as passwords or API keys must not be requested in form mode.
- A is wrong: failing the call and relying on the model to re-ask abandons the in-progress operation and routes a user decision through model inference. - B is wrong: sampling asks the client's LLM to generate a completion; it does not ask the human, and the environment should be chosen by the user. - D is wrong: prompts are user-controlled templates the client lists; a server cannot use one to pause a running tool and wait for a reply.
Reference: Elicitation (MCP specification)