Skip to main content
Glama
ingpoc

Token-Efficient MCP Server

by ingpoc

process_csv

Process CSV files with filtering, aggregation, and pagination to handle large datasets while optimizing token usage for data analysis workflows.

Instructions

Process CSV files efficiently with filters, groupby aggregation, and pagination. Use offset for large files (>10K rows) to achieve 99% token savings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesPath to CSV file
filter_exprNoFilter expression (e.g., "price > 100")
columnsNoColumns to select
limitNoMaximum rows to return
offsetNoSkip first N rows before returning results (pagination)
aggregate_byNoColumn to aggregate by
agg_funcNoAggregation function
response_formatNosummary = stats + 5 sample rows (for humans), full = all rows in data array (for processing)summary

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/ingpoc/token-efficient-mcp'

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