Skip to main content
Glama

ls_ccc_method

List available cell-cell communication analysis methods for single-cell RNA sequencing data to identify biological interactions.

Instructions

List cell-cell communication method.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that lists available cell-cell communication methods by calling liana.mt.show_methods() and converting the result to a string.
    def ls_ccc_method():
        return str(li.mt.show_methods())
  • Pydantic model defining the input schema for the ls_ccc_method tool. It is empty since the tool requires no input parameters.
    class ListCCCMethodModel(JSONParsingModel):
        """ListCCCMethodModel"""    
        pass    
  • Definition of the MCP Tool object for 'ls_ccc_method', including name, description, and input schema.
    ls_ccc_method_tool = types.Tool(
        name="ls_ccc_method",
        description="List cell-cell communication method.",
        inputSchema=ListCCCMethodModel.model_json_schema(),
    )
  • Dictionary registering the handler function for 'ls_ccc_method' (and other CCC tools) to be used in the dispatcher.
    ccc_func = {
        "ls_ccc_method": ls_ccc_method,
        "ccc_rank_aggregate": li.mt.rank_aggregate,
        "ccc_circle_plot": plot_circleplot,
        "ccc_dot_plot": plot_dotplot,
        "ccc": run_ccc,
    }
  • Dictionary registering the Tool objects for 'ls_ccc_method' (and other CCC tools), used by the MCP server for listing and calling.
    ccc_tools = {
        "ls_ccc_method": ls_ccc_method_tool,
        "ccc_rank_aggregate": rank_aggregate_tool,
        "ccc_circle_plot": circle_plot_tool,
        "ccc_dot_plot": dot_plot_tool,
        "ccc": ccc_tool,
    }

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/huang-sh/scmcp'

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