Skip to main content
Glama
HeetVekariya

Linear Regression MCP

by HeetVekariya

get_columns_info

Retrieve column names and details from a CSV file for data analysis. Simplify preprocessing by providing essential column information for training a linear regression model.

Instructions

This function gives information about columns.

Returns: String which contains column names.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • server.py:69-80 (handler)
    The main handler function for the 'get_columns_info' MCP tool. It is registered via the @mcp.tool() decorator and retrieves the column names from the global DataContext's DataFrame, returning them as a comma-separated string.
    @mcp.tool() def get_columns_info() -> str: """ This function gives information about columns. Returns: String which contains column names. """ columns = context.get_data().columns return ", ".join(columns)

Other Tools

Related 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/HeetVekariya/Linear-Regression-MCP'

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