get_methods_section_prompt
Draft a manuscript Methods section aligned with CONSORT for RCTs or STROBE for observational studies, covering study design, patient eligibility, treatment arms, endpoints, and statistical analysis.
Instructions
[PRO] Draft a manuscript Methods section. CONSORT aligned for RCTs, STROBE for observational studies. Covers design, eligibility, treatment arms, endpoints, and statistical analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| study_design | Yes | ||
| drug | Yes | ||
| population | Yes | ||
| treatment_arms | Yes | ||
| primary_secondary_endpoints | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- server.py:273-297 (handler)The actual MCP tool handler/function. Decorated with @mcp.tool(), accepts parameters (study_design, drug, population, treatment_arms, primary_secondary_endpoints), constructs a prompt string formatted for generating a manuscript Methods section.
@mcp.tool() def get_methods_section_prompt( study_design: str, drug: str, population: str, treatment_arms: str, primary_secondary_endpoints: str ) -> str: """ [PRO] Draft a manuscript Methods section. CONSORT aligned for RCTs, STROBE for observational studies. Covers design, eligibility, treatment arms, endpoints, and statistical analysis. """ return f"""Write a Methods section for a {study_design} study of {drug} in {population}. Subsections: - Study design and setting - Patient eligibility (inclusion/exclusion criteria) - Treatment arms: {treatment_arms} - Primary and secondary endpoints: {primary_secondary_endpoints} - Statistical analysis plan overview Use past tense. Follow CONSORT/STROBE guidelines as appropriate. Pro tip: For observational studies specify STROBE. For RCTs specify CONSORT.""" - server.py:981-982 (registration)Registration entry in the pro_tools list that maps the tool name to its description 'Draft manuscript Methods section'.
("get_methods_section_prompt", "Draft manuscript Methods section"), ("get_results_section_prompt", "Draft Results section narrative from approved data"),