Skip to main content
Glama

CSV MCP Server

sort_data

Sort CSV data by specified columns with options for ascending/descending order and row limits to organize your data efficiently.

Instructions

Sort CSV data by specified columns. Args: filename: Name of the CSV file columns: Column name or list of column names to sort by ascending: Whether to sort in ascending order limit: Optional limit on number of rows to return Returns: Dictionary with sorted data

Input Schema

NameRequiredDescriptionDefault
ascendingNo
columnsYes
filenameYes
limitNo

Input Schema (JSON Schema)

{ "properties": { "ascending": { "default": true, "title": "Ascending", "type": "boolean" }, "columns": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ], "title": "Columns" }, "filename": { "title": "Filename", "type": "string" }, "limit": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Limit" } }, "required": [ "filename", "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/NovaAI-innovation/csv-mcp-server'

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