Skip to main content
Glama
HeetVekariya

Linear Regression MCP

by HeetVekariya

get_columns_info

Retrieve column names from uploaded CSV files to understand dataset structure for linear regression analysis.

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-81 (handler)
    The main handler function for the 'get_columns_info' tool. It is decorated with @mcp.tool() for registration in the FastMCP server and retrieves the column names from the shared DataContext, joining them into 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)

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