Question 70
An MCP order service returns a full payment token and several private identifiers alongside the status fields needed for an ordinary delivery question. Which TWO data-handling controls should the support integration apply? Select TWO answers.
Explanation
Correct Answers
The support agent does not need a reusable payment credential to explain whether a parcel shipped. A trusted output filter should remove or mask those fields before the tool result enters Claude's context or a downstream specialist handoff. This limits the consequences of inadvertent quotation, logging, or prompt injection in surrounding content. The filtering rule must operate on the actual result schema, not merely rely on a prompt asking the model not to repeat secrets.
Data minimization should be positive as well as subtractive: the integration can construct a typed response containing approved order state, relevant dates, and authorized status descriptions. That reduces accidental exposure of unrelated identifiers and simplifies the assistant's reasoning. The selected fields should still preserve enough provenance to answer accurately. This complements token redaction by ensuring new backend fields are not automatically leaked when the service schema expands.
Incorrect Answers
Protecting secrets does not require destroying the non-sensitive facts required for the legitimate support task. Hashing timestamps would make it difficult to answer when the package moved. A proper projection retains authorized status data while omitting payment credentials and unrelated identifiers.
Inventing credential-like values may confuse downstream systems and fails to remove unrelated private fields from the response. The customer only asked about delivery, so the safest result is a purpose-limited schema. Redact credentials and restrict fields explicitly instead of fabricating substitute secrets.
The information would still be available inside model context, logs, and potentially subsequent delegated tasks even if it were not displayed to the customer. Avoidable exposure should be prevented at the data boundary. The tool response should contain only the values actually needed for the shipping inquiry.