Skip to main content
Glama

get_molecular_template

Generate Python functions to programmatically construct few-shot prompts for creating molecular contexts in the Sutra MCP server.

Instructions

Returns the Python function for creating molecular contexts (Module 02). Use this to programmatically construct few-shot prompts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'get_molecular_template' MCP tool, decorated with @mcp.tool(). It returns the MOLECULAR_CONTEXT_FUNC constant, which is a string template for molecular contexts.
    @mcp.tool() def get_molecular_template() -> str: """ Returns the Python function for creating molecular contexts (Module 02). Use this to programmatically construct few-shot prompts. """ return MOLECULAR_CONTEXT_FUNC

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/4rgon4ut/sutra'

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