Skip to main content
Glama

CSV Splitter API - cut a big CSV or Excel file into parts

csv_splitter
Read-onlyIdempotent

Split a large CSV/Excel file into files of N rows each (header repeated), returned as separate files. Runs on our server, files are deleted right after the call, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.005/call via x402 at https://radarbg.com/x402/csv-splitter.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "rows": 2,
      "fileName": "big.csv",
      "fileContent": "YSxiCjAseAoxLHgKMix4CjMseAo0LHgK"
    },
    "name": "csv_splitter"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNoRows per file
filesNoOr several files: [{fileName, fileContent (base64)}]
formatNocsv or xlsxcsv
fileNameNoFile name with extension, e.g. report.pdf
fileContentNoThe file as base64 (a data: URI is fine)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / rows / minimum
      Added value: +1
  2. Added

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes well beyond the annotations by disclosing server-side execution, immediate deletion of files and no storage, plus an explicit rate limit and two auth paths (X-API-Key or x402 payment). That is strong disclosure for readOnly/idempotent/openWorld annotations that already cover the safety profile. It stops short of describing how the split files come back to the caller.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first clause, then privacy/retention, then access terms; three tight sentences with no filler. Pricing URLs are long but they earn their place by telling the agent how to authenticate a paid call.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 5 params, zero required, and no output schema, the description carries real weight and covers purpose, retention, quota and auth well. But the return shape ('returned as separate files') is left vague with no output schema to fill the gap, and nothing bounds input size or explains how multiple input files map to multiple outputs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so rows, format, fileName, fileContent and files are already documented in the schema. The description adds only the non-obvious 'header repeated' property of the rows semantics; it says nothing about the `files` multi-file path, format switching, or base64 encoding beyond the schema. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource: split a large CSV/Excel file into files of N rows each, with the header-repetition behavior stated. An agent knows instantly this is a chunker, not a format converter like excel_to_pdf, though no sibling is named to sharpen the distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: you use it when a CSV/Excel file is too large and you want N-row chunks. The quota and pricing lines (5 free calls/day per IP, paid key or x402) are practical preconditions but the description never states when-not to use it or what alternatives exist for smaller files.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources