get_cmpp_practice_questions_prompt
Generate CMPP certification exam practice questions with detailed explanations covering GPP guidelines, authorship, publication ethics, and statistical concepts.
Instructions
[PRO] Generate CMPP certification exam practice questions with explanations. Topics: GPP guidelines, authorship criteria, publication ethics, statistical concepts. Multiple choice format with correct answer and explanation of distractors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | ||
| num_questions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- server.py:864-883 (handler)The main tool handler: @mcp.tool() decorated function 'get_cmpp_practice_questions_prompt' that generates CMPP certification exam practice questions. Takes 'topic' (str) and 'num_questions' (int, default 5) and returns a formatted prompt string.
@mcp.tool() def get_cmpp_practice_questions_prompt( topic: str, num_questions: int = 5 ) -> str: """ [PRO] Generate CMPP certification exam practice questions with explanations. Topics: GPP guidelines, authorship criteria, publication ethics, statistical concepts. Multiple choice format with correct answer and explanation of distractors. """ return f"""Generate {num_questions} practice questions for the CMPP certification exam covering: {topic} Format each question as: - Question (multiple choice with 4 options) - Correct answer - Explanation of why the other options are incorrect - Reference to relevant guideline or resource Focus on application-level questions, not just recall.""" - server.py:1002-1002 (registration)Tool registration in the tool directory listing, mapping the function name to its description for generating CMPP exam practice questions.
("get_cmpp_practice_questions_prompt", "Generate CMPP exam practice questions"), - server.py:864-868 (schema)The schema/inference for parameters is handled by the Python type hints: 'topic: str' and 'num_questions: int = 5'. The docstring explains the tool's purpose and topics covered.
@mcp.tool() def get_cmpp_practice_questions_prompt( topic: str, num_questions: int = 5 ) -> str: