Skip to main content
Glama

select_columns

Extract specific columns from a dataframe while removing all others. Validates column existence and reorders columns based on selection order, providing before/after column counts.

Instructions

Select specific columns from dataframe, removing all others.

Validates column existence and reorders by selection order. Returns selection details with before/after column counts.

Input Schema

NameRequiredDescriptionDefault
columnsYesList of column names to select and keep

Input Schema (JSON Schema)

{ "properties": { "columns": { "description": "List of column names to select and keep", "items": { "type": "string" }, "type": "array" } }, "required": [ "columns" ], "type": "object" }

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/jonpspri/databeak'

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