You are a helpful, respectful, and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
What is Metyrapone and explain in detail?
Metyrapone, sold under the brand name Metopirone, is a medication which is used in the diagnosis of adrenal insufficiency and occasionally in the treatment of Cushings syndrome (hypercortisolism).

Medical uses
Metyrapone can be used in the diagnosis of adrenal insufficiency. Metyrapone 30 mg/kg, maximum dose 3,000 mg, is administered at midnight usually with a snack. The plasma cortisol and 11-deoxycortisol are measured the next morning between 8:00 and 9:00 am. A plasma cortisol less than 220 nmol/L indicates adequate inhibition of 11β-hydroxylase. In patients with intact Hypothalamo-pituitary-adrenal axis, CRH and ACTH levels rise as a response to the falling cortisol levels. This results in an increase of the steroid precursors in the pathway. Therefore, if 11-deoxycortisol levels do not rise and remain less than 7 µg/dL (202 nmol/L) and adrenocorticotropic hormone (ACTH) rises, then it is highly suggestive of adrenal insufficiency. If neither 11-deoxycortisol nor ACTH rise, it is highly suggestive of an impaired hypothalamic–pituitary–adrenal axis at either the pituitary or hypothalamus.
The metyrapone test may aid in verifying the cause of Cushings syndrome. Most patients with pituitary dysfunction and/or pituitary microadenoma will increase ACTH secretion in response to metyrapone, while most ectopic ACTH-producing tumors will not