Browse the study library +
← All practice questions

An MCP tool times out. What error response best enables the agent to recover intelligently?

Show answer and explanation

Answer: C

Structured error metadata lets the agent decide whether to retry, explain, or escalate. Generic messages hide context; marking failure as empty success suppresses the error; ending the session throws away recoverable state.

خرابی کی صاف تفصیل (metadata) دینے سے ایجنٹ فیصلہ کر پاتا ہے کہ دوبارہ کوشش کرے، وضاحت دے، یا آگے بھیجے۔ عام سا پیغام تفصیل چھپا دیتا ہے؛ ناکامی کو خالی کامیابی دکھانا خرابی دبا دیتا ہے؛ اور سیشن ختم کر دینا بچی ہوئی کام کی حالت ضائع کر دیتا ہے۔

One practice question a week

Get a new exam-style question with a clear explanation in your inbox. Free, no spam, unsubscribe any time.

We only use your email for these updates. See our privacy policy.