Srimad Valmiki Ramayana

भृत्यस्तु यः परं कार्यं न कुर्यान्नृपतेः प्रियम् ।
भृत्यो युक्तः समर्थश्च तमाहुर्मध्यमं नरम् ॥६-१-९॥
bhṛtyastu yaḥ paraṃ kāryaṃ na kuryānnṛpateḥ priyam । bhṛtyo yuktaḥ samarthaśca tamāhurmadhyamaṃ naram ॥6-1-9॥
Translation
But that servant who, though capable and appointed, does not perform the additional task that is dear to the king, him they call a mediocre man (Madhyama).
हिंदी अनुवाद
जो सेवक नियुक्त और समर्थ होने पर भी राजा का प्रिय और (मुख्य कार्य से जुड़ा) अतिरिक्त उत्तम कार्य नहीं करता, उसे 'मध्यम' नर (साधारण सेवक) कहते हैं।
English Commentary
Shri Rama defines the 'Mediocre Servant' (Madhyama). This individual has the capability ('samartha') and the mandate ('yukta'), but lacks the initiative to do what is 'dear' ('priyam') to the master beyond the strict letter of the order. They do the minimum required. In contrast, Hanuman represents the highest tier because he deduced what would please Shri Rama further (intimidating the enemy, assessing strengths) and did it without explicit orders. This shloka teaches that true excellence lies in proactive service that aligns with the master's unspoken intent.
हिंदी टीका
यह मध्यम श्रेणी के सेवक की परिभाषा है। ऐसा सेवक 'युक्त' (काम पर लगाया गया) और 'समर्थ' (योग्य) तो होता है, परन्तु वह केवल उतना ही करता है जितना कहा गया हो। वह 'नृपतेः प्रियम्' (राजा का प्रिय) या 'परं कार्यं' (उससे जुड़ा अन्य महत्वपूर्ण कार्य) नहीं करता। हनुमान जी ने केवल सीता का पता लगाने का आदेश पाया था, लेकिन उन्होंने रावण के बल का आकलन और लंका की सुरक्षा व्यवस्था की जासूसी भी की—जो 'परं कार्यं' था। जो यह अतिरिक्त पहल (initiative) नहीं करता, वह केवल एक वेतनभोगी कर्मचारी की तरह 'मध्यम' है।