Skip to main content
Glama

get_congress_abstract_prompt

Generate a structured congress abstract for ASCO, ASH, or ESMO by specifying study description, primary and secondary results, and safety data. Outputs Background, Methods, Results, Conclusions.

Instructions

[PRO] Draft a congress abstract for ASCO, ASH, ESMO, APA, or similar. DATA SAFETY: ELEVATED RISK — only use data approved for external disclosure. Sections: Background, Methods, Results, Conclusions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
congress_nameYes
study_descriptionYes
key_primary_resultYes
key_secondary_resultsYes
safety_summaryYes
word_limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The tool handler function decorated with @mcp.tool() that returns the prompt for drafting a congress abstract. Accepts congress_name, study_description, key_primary_result, key_secondary_results, safety_summary, and word_limit parameters.
    @mcp.tool()
    def get_congress_abstract_prompt(
        congress_name: str,
        study_description: str,
        key_primary_result: str,
        key_secondary_results: str,
        safety_summary: str,
        word_limit: int = 500
    ) -> str:
        """
        [PRO] Draft a congress abstract for ASCO, ASH, ESMO, APA, or similar.
        DATA SAFETY: ELEVATED RISK — only use data approved for external disclosure.
        Sections: Background, Methods, Results, Conclusions.
        """
        return f"""Write a congress abstract for {congress_name} based on the following study data.
    
    Format:
    - Word limit: {word_limit} words
    - Sections: Background, Methods, Results, Conclusions
    - Include: trial registration number placeholder, funding source line
    
    Study: {study_description}
    Key result: {key_primary_result}
    Key secondary results: {key_secondary_results}
    Safety summary: {safety_summary}
    
    Write in present tense for background, past tense for methods and results.
    
    Pro tip: Check congress-specific abstract guidelines annually — format requirements change each cycle.
    
    🔒 DATA SAFETY — ELEVATED RISK: Only use data that has received internal approval
    for external disclosure."""
  • server.py:986-986 (registration)
    Tool registration listing in the tools list with the name 'get_congress_abstract_prompt' and description 'Draft ASCO/ASH/ESMO congress abstract'.
    ("get_congress_abstract_prompt", "Draft ASCO/ASH/ESMO congress abstract"),
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses elevated risk and sections (Background, Methods, Results, Conclusions), but does not clarify whether the tool returns a prompt or the abstract itself, nor any side effects or permissions needed. The behavioral disclosure is partial.

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?

The description is three sentences long, front-loading the primary purpose and adding a critical safety note. It is concise and wastes no words, though it could briefly mention parameter roles.

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?

Despite having an output schema (reducing need to describe return values), the tool has 6 parameters, 5 required, and carries safety concerns. The description lacks parameter explanations and does not clarify if it is a prompt-generator or direct drafter, leaving gaps for reliable invocation.

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?

With 0% schema description coverage, the description must compensate but does not explain parameter meanings. It only lists output sections, leaving parameters like study_description, key_primary_result, etc., unexplained beyond their names. The agent receives minimal guidance on how to populate inputs.

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 states 'Draft a congress abstract for ASCO, ASH, ESMO, APA, or similar' which clearly specifies the action (draft) and resource (congress abstract), and distinguishes it from many sibling tools that draft other document types (e.g., discussion sections, cover letters).

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?

The description includes a data safety warning ('only use data approved for external disclosure'), indicating when the tool should be used. However, it does not explicitly exclude other contexts or compare to sibling abstract tools like get_structured_abstract_prompt, leaving some ambiguity about when to choose this over alternatives.

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