Skip to main content
Glama

get_adapt_abstract_audience_prompt

Rewrite scientific abstracts for different medical audiences while preserving accuracy. Ideal for patient summaries, nurse education, or general readers.

Instructions

[PRO] Rewrite an abstract for a different audience while preserving scientific accuracy. Useful for patient summaries, nurse education, or general medical audiences. DATA SAFETY: Only paste published or approved text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
abstract_textYes
target_audienceYes
reading_levelNomedical professional

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The main tool handler - uses @mcp.tool() decorator to register 'get_adapt_abstract_audience_prompt'. Returns a formatted prompt string that rewrites an abstract for a different audience while preserving scientific accuracy.
    @mcp.tool()
    def get_adapt_abstract_audience_prompt(
        abstract_text: str,
        target_audience: str,
        reading_level: str = "medical professional"
    ) -> str:
        """
        [PRO] Rewrite an abstract for a different audience while preserving scientific accuracy.
        Useful for patient summaries, nurse education, or general medical audiences.
        DATA SAFETY: Only paste published or approved text.
        """
        return f"""Rewrite the following abstract for {target_audience}.
    Simplify technical jargon while preserving scientific accuracy.
    Target reading level: {reading_level}
    
    {abstract_text}
    
    ⚠️ DATA SAFETY: Only input published or approved text."""
  • server.py:222-222 (registration)
    The @mcp.tool() decorator registers this function as an MCP tool with FastMCP.
    @mcp.tool()
  • Listed as a PRO tier tool in the get_tool_directory helper function with description 'Rewrite abstract for a different audience'.
    ("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"),
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. It states 'rewrite an abstract' but tool name implies it returns a prompt (get_..._prompt). This ambiguity is not clarified. No disclosure of what the output is, whether modification is done, or any side effects. Safety note is helpful but insufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three concise sentences: purpose, use cases, safety note. No extra words. Front-loaded with the core action. Very efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a prompt-generating tool, it explains its niche and includes a safety warning. However, it lacks description of return value (output schema exists but not referenced), and does not explain all parameters. With no annotations, more detail on behavior and output would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so description must compensate. It covers abstract_text ('abstract') and target_audience ('different audience', examples given), but does not mention the reading_level parameter or its default. Provides some context but incomplete for all three parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the verb 'rewrite' and resource 'abstract for a different audience', with specific use cases (patient summaries, nurse education, general medical audiences). It distinguishes itself from siblings like get_manuscript_edit or get_discussion_section_prompt by focusing on audience adaptation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit context: 'Useful for patient summaries, nurse education, or general medical audiences.' Also includes a safety note ('Only paste published or approved text.'). However, it does not mention when not to use or explicitly differentiate from alternatives beyond the stated use cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pubspro/medwriter-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server