Skip to main content
Glama

get_discussion_section_prompt

Generate a Discussion section for a medical manuscript by providing study summary, prior studies, and limitations. Outputs primary findings, context, mechanistic rationale, clinical implications, and conclusions.

Instructions

[PRO] Draft a manuscript Discussion section. Covers primary finding, context vs prior studies, mechanistic rationale, clinical implications, limitations, and conclusions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
study_summary_and_key_resultYes
prior_studies_comparatorsYes
study_limitationsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The tool handler function `get_discussion_section_prompt` decorated with @mcp.tool(). It takes study_summary_and_key_result, prior_studies_comparators, and study_limitations as input parameters and returns a formatted prompt string to draft a manuscript Discussion section with a 6-part structure (opening, context, mechanistic rationale, clinical implications, limitations, conclusions).
    @mcp.tool()
    def get_discussion_section_prompt(
        study_summary_and_key_result: str,
        prior_studies_comparators: str,
        study_limitations: str
    ) -> str:
        """
        [PRO] Draft a manuscript Discussion section.
        Covers primary finding, context vs prior studies, mechanistic rationale,
        clinical implications, limitations, and conclusions.
        """
        return f"""Write a Discussion section for a manuscript reporting:
    {study_summary_and_key_result}
    
    Structure:
    1. Opening: restate primary finding in context of primary objective (2-3 sentences)
    2. Context: how do results compare to {prior_studies_comparators}?
    3. Mechanistic rationale: why might these results make biological sense?
    4. Clinical implications: what does this mean for practice?
    5. Limitations: {study_limitations}
    6. Conclusions: forward-looking, appropriately cautious statement
    
    Avoid introducing new data. Do not overstate findings.
    
    Pro tip: The limitations paragraph is often the most scrutinized by reviewers —
    be honest and thorough."""
  • server.py:983-983 (registration)
    The tool is listed in the `list_all_tools()` function's `pro_tools` list, registering it in the tool directory with description 'Draft manuscript Discussion section'. This is how the tool is discoverable.
    ("get_discussion_section_prompt", "Draft manuscript Discussion section"),
Behavior2/5

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

No annotations are provided, so the description bears the full burden. It states it drafts a Discussion section, which suggests it is a prompt generator (read-only), but it does not confirm that it does not modify data, requires no authentication, or any side effects. The description lacks behavioral details beyond purpose.

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

Conciseness3/5

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

The description is very short (two sentences) and front-loaded with purpose. However, it omits necessary details about parameters and usage, so conciseness comes at the expense of completeness. It is not overly verbose, but the structure lacks information needed for proper use.

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

Completeness2/5

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

With an output schema present but not detailed, the description does not need to explain return values. However, given the tool has 3 required parameters with no schema descriptions, the description should at least list and explain them. It also fails to clarify that this is a prompt tool (though sibling context hints). The description is incomplete for effective use.

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

Parameters1/5

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

Schema description coverage is 0%, so the description must compensate. However, it does not mention the three required parameters (study_summary_and_key_result, prior_studies_comparators, study_limitations) or explain how to provide input. Users get no guidance on what these parameters represent or how to fill them.

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?

The description clearly states it drafts a Discussion section and lists the components it covers (primary finding, context vs prior studies, etc.). It distinguishes from sibling tools like get_introduction_section_prompt by focusing on the Discussion section.

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

Usage Guidelines3/5

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

The description implies use when drafting a Discussion section by naming the section, but it does not explicitly state when to use it, when not to, or provide alternatives. Given many sibling section-focused tools, usage is somewhat clear but lacks explicit guidance.

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