get_congress_abstract_prompt
Generate a structured congress abstract for ASCO, ASH, or ESMO by specifying study description, primary and secondary results, and safety data. Outputs Background, Methods, Results, Conclusions.
Instructions
[PRO] Draft a congress abstract for ASCO, ASH, ESMO, APA, or similar. DATA SAFETY: ELEVATED RISK — only use data approved for external disclosure. Sections: Background, Methods, Results, Conclusions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| congress_name | Yes | ||
| study_description | Yes | ||
| key_primary_result | Yes | ||
| key_secondary_results | Yes | ||
| safety_summary | Yes | ||
| word_limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- server.py:414-445 (handler)The tool handler function decorated with @mcp.tool() that returns the prompt for drafting a congress abstract. Accepts congress_name, study_description, key_primary_result, key_secondary_results, safety_summary, and word_limit parameters.
@mcp.tool() def get_congress_abstract_prompt( congress_name: str, study_description: str, key_primary_result: str, key_secondary_results: str, safety_summary: str, word_limit: int = 500 ) -> str: """ [PRO] Draft a congress abstract for ASCO, ASH, ESMO, APA, or similar. DATA SAFETY: ELEVATED RISK — only use data approved for external disclosure. Sections: Background, Methods, Results, Conclusions. """ return f"""Write a congress abstract for {congress_name} based on the following study data. Format: - Word limit: {word_limit} words - Sections: Background, Methods, Results, Conclusions - Include: trial registration number placeholder, funding source line Study: {study_description} Key result: {key_primary_result} Key secondary results: {key_secondary_results} Safety summary: {safety_summary} Write in present tense for background, past tense for methods and results. Pro tip: Check congress-specific abstract guidelines annually — format requirements change each cycle. 🔒 DATA SAFETY — ELEVATED RISK: Only use data that has received internal approval for external disclosure.""" - server.py:986-986 (registration)Tool registration listing in the tools list with the name 'get_congress_abstract_prompt' and description 'Draft ASCO/ASH/ESMO congress abstract'.
("get_congress_abstract_prompt", "Draft ASCO/ASH/ESMO congress abstract"),