Question 120
Before accepting this AI feature, reviewers note: A support agent invokes a predefined MCP troubleshooting prompt that requires a service name but omits that argument, generating a generic response for the wrong system. Which supported corrective action most directly addresses this problem?
Explanation
Correct Answer
The main issue is: MCP prompt templates can declare required parameters; reusable prompts are not guaranteed to be appropriately instantiated without validated argument values. The appropriate correction is: Inspect the prompt definition and supply the authorized service identifier and required input fields before executing the guided interaction. Verify success by checking: The generated troubleshooting session references the intended service and a missing service argument produces a clear validation failure.
Incorrect Answers
This action addresses agent forgets completed workflow state after restart, whose causal condition is: An agent needs durable workflow checkpoint state for resumable execution; transient conversational context is not a reliable transaction log. The current scenario instead requires attention to: MCP prompt templates can declare required parameters; reusable prompts are not guaranteed to be appropriately instantiated without validated argument values.
This action addresses mcp resource treated as write-capable command, whose causal condition is: MCP resources expose contextual data to a client, whereas state-changing operations require an appropriately authorized tool or other supported write workflow. In this question the necessary remedy is “Inspect the prompt definition and supply the authorized service identifier and required input fields before executing the guided interaction”, which this alternative does not provide.
This action addresses mcp tool capability mistaken for static prompt template, whose causal condition is: In MCP, server tools expose callable functions, while prompts are predefined interaction templates; a prompt template alone is not an executable data lookup. The observed condition is a support agent invokes a predefined MCP troubleshooting prompt that requires a service name but omits that argument, generating a generic response for the wrong system; this mechanism addresses another problem.