Skip to main content
Glama

list_var

Identify key columns in adata.var for single-cell RNA sequencing analysis to ensure accurate data input in SCMCP tools.

Instructions

list key columns in adata.var. it should be called for checking when other tools need var key column names input

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function implementing the list_var tool logic: returns the list of column names from adata.var.
    def list_var(adata): return list(adata.var.columns)
  • Pydantic input schema model for the list_var tool (empty, no parameters required).
    class ListVarModel(JSONParsingModel): """ListVarModel""" pass
  • MCP Tool registration defining the name, description, and input schema for list_var.
    list_var_tool = types.Tool( name="list_var", description="list key columns in adata.var. it should be called for checking when other tools need var key column names input", inputSchema=ListVarModel.model_json_schema(), )
  • Registration of util tools dictionary including list_var_tool, likely used by the MCP server.
    util_tools = { "mark_var": mark_var_tool, "list_var": list_var_tool, "list_obs": list_obs_tool, "check_gene": check_gene_tool, "merge_adata": merge_adata_tool, }
  • Internal mapping of tool names to handler functions, used by run_util_func dispatcher.
    util_func = { "mark_var": mark_var, "list_var": list_var, "list_obs": list_obs, "check_gene": check_gene, "merge_adata": merge_adata, }

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