list_all_tools
Lists all tools in the Medical Writer's AI Toolkit with tier and description to help you discover available options before calling.
Instructions
List all available tools in the Medical Writer's AI Toolkit with tier and description. Use this to discover which tools are available before calling them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- server.py:963-1030 (handler)The tool 'list_all_tools' handler function. It uses @mcp.tool() decorator, returns a formatted directory string listing all 33 tools (5 free, 28 pro) with descriptions and a data safety reminder.
@mcp.tool() def list_all_tools() -> str: """ List all available tools in the Medical Writer's AI Toolkit with tier and description. Use this to discover which tools are available before calling them. """ free_tools = [ ("get_structured_abstract_prompt", "Draft a structured journal abstract (CONSORT/STROBE aligned)"), ("get_manuscript_outline_prompt", "Create a detailed manuscript outline with word counts"), ("get_peer_review_response_prompt", "Draft a point-by-point reviewer response"), ("get_author_invitation_email_prompt", "Write an ICMJE-aligned author invitation email"), ("get_linkedin_publication_post_prompt", "Draft a LinkedIn post announcing a publication"), ] pro_tools = [ ("get_unstructured_abstract_prompt", "Convert structured abstract to flowing paragraph"), ("get_strengthen_conclusions_prompt", "Rewrite weak abstract conclusions to be data-anchored"), ("get_adapt_abstract_audience_prompt", "Rewrite abstract for a different audience"), ("get_introduction_section_prompt", "Draft manuscript Introduction/Background section"), ("get_methods_section_prompt", "Draft manuscript Methods section"), ("get_results_section_prompt", "Draft Results section narrative from approved data"), ("get_discussion_section_prompt", "Draft manuscript Discussion section"), ("get_rebuttal_disagreement_prompt", "Draft evidence-based rebuttal to reviewer"), ("get_revised_manuscript_cover_letter_prompt", "Draft cover letter for revised submission"), ("get_congress_abstract_prompt", "Draft ASCO/ASH/ESMO congress abstract"), ("get_poster_title_and_takeaways_prompt", "Generate poster titles and take-home messages"), ("get_oral_presentation_script_prompt", "Draft timed oral presentation script"), ("get_slide_deck_outline_prompt", "Create slide-by-slide deck outline"), ("get_speaker_notes_prompt", "Write speaker notes for a data slide"), ("get_moa_slide_prompt", "Explain mechanism of action for a slide"), ("get_publication_plan_framework_prompt", "Build a publication plan framework table"), ("get_gap_analysis_prompt", "Conduct literature and data gap analysis"), ("get_pub_plan_executive_summary_prompt", "Write pub plan exec summary for leadership"), ("get_journal_selection_rationale_prompt", "Recommend top 3 journals with rationale"), ("get_author_review_request_prompt", "Draft author review request with deadline"), ("get_author_revision_response_prompt", "Respond to author major revision request"), ("get_manuscript_edit_prompt", "Comprehensive AMA-style manuscript edit"), ("get_promotional_language_check_prompt", "Check for promotional/non-compliant language"), ("get_statistical_reporting_check_prompt", "Verify consistent statistical reporting"), ("get_cv_tailoring_prompt", "Tailor CV to medical writing job posting"), ("get_cmpp_practice_questions_prompt", "Generate CMPP exam practice questions"), ("get_interview_prep_prompt", "Prepare for medical writing interview"), ("apply_adapt_framework", "Apply ADAPT framework to any prompt for precision output"), ] output = "═══ THE MEDICAL WRITER'S AI TOOLKIT — TOOL DIRECTORY ═══\n\n" output += "✅ FREE TIER (5 tools)\n" output += "─" * 50 + "\n" for name, desc in free_tools: output += f" • {name}\n {desc}\n\n" output += "\n🔐 PRO TIER (28 tools + ADAPT framework)\n" output += "─" * 50 + "\n" for name, desc in pro_tools: output += f" • {name}\n {desc}\n\n" output += "\n⚠️ DATA SAFETY REMINDER\n" output += "─" * 50 + "\n" output += """Never input the following into any public AI tool: • Unpublished clinical trial data • Patient-level or identifiable data • Proprietary compound information or IP • Data covered by NDA or confidentiality agreement • Pre-decisional regulatory documents Tools marked 🔒 carry elevated data-sensitivity risk. Always comply with ICMJE, GPP4, and your organization's AI use policies.""" return output - server.py:963-963 (registration)Registration of 'list_all_tools' via the @mcp.tool() decorator from FastMCP.
@mcp.tool()