Skip to main content
Glama

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

TableJSON Schema
NameRequiredDescriptionDefault
drug_nameYes
indicationYes
study_designYes
primary_endpoint_resultYes
key_secondary_resultsYes
safety_highlightsYes
word_limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

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()
  • 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)"),
Behavior3/5

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

No annotations are present, so the description carries full burden. It explains that the tool generates a prompt (not the abstract) and includes a data safety note. However, it does not disclose whether the tool is read-only, idempotent, or has any side effects, leaving behavioral assumptions unclear.

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

Conciseness4/5

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

Description is three short sentences, front-loaded with purpose and key features (sections, alignment, data safety). Each sentence adds value with no redundancy. Minor formatting issue (extra period at end) does not detract significantly.

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?

Given that an output schema exists (not shown), the description appropriately omits return value details. It covers purpose, content structure, and a safety constraint. However, it lacks guidance on how to interpret or use the generated prompt, and fails to explain the tool's role among siblings.

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

Parameters2/5

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

Schema description coverage is 0%, yet the description adds no parameter-specific explanations. Parameter names like drug_name and indication are somewhat self-explanatory, but the tool's core purpose (generating a prompt) is not linked to how parameters map to abstract sections. The description fails to compensate for the schema gap.

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

Purpose4/5

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

Description clearly states the tool generates a prompt for a structured journal abstract covering standard sections and alignment with CONSORT/STROBE. It distinguishes from unstructured abstract prompt via 'structured' in name and description, though differentiation from other abstract prompts (e.g., congress) is implicit.

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

Usage Guidelines2/5

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

Description provides no explicit when-to-use or when-not-to-use guidance. It briefly mentions suitability for clinical manuscripts and a data safety caution, but fails to differentiate from many sibling prompt tools (e.g., get_congress_abstract_prompt), leaving the agent without clear selection criteria.

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