get_structured_abstract_prompt
Generate a prompt to draft a structured journal abstract with Background, Objective, Methods, Results, and Conclusions, aligned with CONSORT/STROBE guidelines for clinical manuscripts.
Instructions
[FREE] Generate a prompt to draft a structured journal abstract. Covers Background, Objective, Methods, Results, and Conclusions. CONSORT/STROBE aligned. Suitable for clinical manuscripts. DATA SAFETY: Only use published or approved summary data in the fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drug_name | Yes | ||
| indication | Yes | ||
| study_design | Yes | ||
| primary_endpoint_result | Yes | ||
| key_secondary_results | Yes | ||
| safety_highlights | Yes | ||
| word_limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- server.py:28-59 (handler)The main handler/tool function for 'get_structured_abstract_prompt'. It accepts parameters (drug_name, indication, study_design, primary_endpoint_result, key_secondary_results, safety_highlights, word_limit) and returns a structured prompt string for drafting a CONSORT/STROBE-aligned journal abstract.
def get_structured_abstract_prompt( drug_name: str, indication: str, study_design: str, primary_endpoint_result: str, key_secondary_results: str, safety_highlights: str, word_limit: int = 250 ) -> str: """ [FREE] Generate a prompt to draft a structured journal abstract. Covers Background, Objective, Methods, Results, and Conclusions. CONSORT/STROBE aligned. Suitable for clinical manuscripts. DATA SAFETY: Only use published or approved summary data in the fields. """ return f"""Write a structured abstract for a clinical manuscript with the following sections: Background, Objective, Methods, Results, and Conclusions. Drug/intervention: {drug_name} Indication/population: {indication} Study design: {study_design} Primary endpoint result: {primary_endpoint_result} Key secondary results: {key_secondary_results} Safety highlights: {safety_highlights} Word limit: {word_limit} words Write in past tense for methods and results. Use precise, journal-appropriate language. Pro tip: Add 'Follow CONSORT reporting guidelines' to align with most clinical trial journals. ⚠️ DATA SAFETY: Only input published or approved summary data. Never include unpublished clinical trial data, patient-level data, or proprietary IP into any public AI tool.""" - server.py:27-27 (registration)The tool is registered via the @mcp.tool() decorator on line 27, which registers it with the FastMCP server.
@mcp.tool() - server.py:969-970 (helper)The tool is listed in the 'list_all_tools' helper function under free_tools, with description: 'Draft a structured journal abstract (CONSORT/STROBE aligned)'.
free_tools = [ ("get_structured_abstract_prompt", "Draft a structured journal abstract (CONSORT/STROBE aligned)"),