Skip to main content
Glama

get_outline_templates

Retrieve structured templates for academic literature reviews to organize research papers effectively.

Instructions

获取可用的综述大纲模板

返回所有支持的文献综述结构模板。

Returns: 模板列表,每个包含名称和章节结构

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function decorated with @mcp.tool() that implements the get_outline_templates tool. It returns a dictionary of available outline templates based on the OUTLINE_TEMPLATES constant.
    @mcp.tool()
    def get_outline_templates() -> dict[str, Any]:
        """获取可用的综述大纲模板
        
        返回所有支持的文献综述结构模板。
        
        Returns:
            模板列表,每个包含名称和章节结构
        """
        return {
            "templates": [
                {
                    "id": key,
                    "name": template["name"],
                    "sections": [
                        {
                            "id": s["id"],
                            "title": s["title"],
                            "description": s["description"],
                        }
                        for s in template["sections"]
                    ],
                }
                for key, template in OUTLINE_TEMPLATES.items()
            ]
        }
  • The OUTLINE_TEMPLATES dictionary defines the available outline templates returned by the get_outline_templates tool.
    # 经济金融领域文献综述的标准结构
    OUTLINE_TEMPLATES = {
        "econ_finance_canonical": {
            "name": "经济金融学经典结构",
            "sections": [
                {
                    "id": "research_question",
                    "title": "研究问题与理论框架",
                    "description": "核心研究问题、理论基础和主要假设",
                    "keywords": ["theory", "hypothesis", "framework", "model", "prediction"],
                },
                {
                    "id": "methodology",
                    "title": "方法与识别策略",
                    "description": "实证方法、因果识别、计量模型",
                    "keywords": ["method", "identification", "strategy", "estimation", "regression", "instrumental", "difference-in-differences", "RDD"],
                },
                {
                    "id": "data",
                    "title": "数据与变量度量",
                    "description": "数据来源、样本选择、关键变量定义",
                    "keywords": ["data", "sample", "variable", "measure", "proxy", "definition"],
                },
                {
                    "id": "findings",
                    "title": "主要发现",
                    "description": "核心结论、稳健性检验、异质性分析",
                    "keywords": ["result", "finding", "evidence", "show", "demonstrate", "coefficient", "significant"],
                },
                {
                    "id": "debates",
                    "title": "争议与不一致发现",
                    "description": "文献中的分歧、methodological debates",
                    "keywords": ["debate", "controversy", "inconsistent", "contrast", "however", "limitation"],
                },
                {
                    "id": "gaps",
                    "title": "研究空白与未来方向",
                    "description": "尚未解决的问题、潜在研究机会",
                    "keywords": ["gap", "future", "direction", "unexplored", "opportunity", "need"],
                },
            ],
        },
        "general": {
            "name": "通用文献综述结构",
            "sections": [
                {
                    "id": "background",
                    "title": "背景与动机",
                    "description": "研究领域概述和重要性",
                    "keywords": ["background", "motivation", "importance", "context"],
                },
                {
                    "id": "theory",
                    "title": "理论基础",
                    "description": "相关理论和概念框架",
                    "keywords": ["theory", "framework", "concept", "model"],
                },
                {
                    "id": "methods",
                    "title": "研究方法",
                    "description": "主要研究方法和技术路线",
                    "keywords": ["method", "approach", "technique", "design"],
                },
                {
                    "id": "findings",
                    "title": "主要发现",
                    "description": "关键研究结论和证据",
                    "keywords": ["result", "finding", "evidence", "conclusion"],
                },
                {
                    "id": "future",
                    "title": "未来研究方向",
                    "description": "研究空白和潜在机会",
                    "keywords": ["future", "direction", "gap", "opportunity"],
                },
            ],
        },
    }
  • Invocation of register_writing_tools(mcp) which registers all writing tools, including get_outline_templates.
    register_writing_tools(mcp)

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/h-lu/paperlib-mcp'

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