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 €15/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)}] (up to 60 files, 20 MB total)
formatNocsv or xlsxcsv
fileNameNoFile name with extension, e.g. report.pdf
fileContentNoThe file as base64 (a data: URI is fine; 20 MB total decoded limit per call)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / fileContent / description
      Previous value: -"The file as base64 (a data: URI is fine)"New value: +"The file as base64 (a data: URI is fine; 20 MB total decoded limit per call)"
    • changedInput schema / properties / files / description
      Previous value: -"Or several files: [{fileName, fileContent (base64)}]"New value: +"Or several files: [{fileName, fileContent (base64)}] (up to 60 files, 20 MB total)"
    • addedInput schema / properties / files / maxItems
      Added value: +60
  2. Changed1 schema field changed
    • addedInput schema / properties / rows / minimum
      Added value: +1
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, and the description adds genuinely useful context beyond them: server-side execution, immediate file deletion (nothing stored), a 5 calls/day free quota per IP, and the X-API-Key / x402 payment paths. The only missing behavioral detail is what happens with the optional 'files' multi-input mode versus the single-file mode, but no annotation is contradicted.

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

Conciseness4/5

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

Three sentences, front-loaded with the operation and its key output property, then storage behavior, then access/pricing. The pricing sentence is link-heavy but arguably earns its place because authentication and cost affect whether an agent retries or how a caller funds the call.

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

Completeness4/5

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

For a no-output-schema tool, the description explains that results come back as separate files and that nothing is persisted, which covers the return-value gap. It omits that all five parameters are optional and that at least one of fileName/fileContent or files must be supplied — a small but real gap for a tool with zero required parameters.

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 description coverage is 100% — rows default 1000, the files array caps, the format enum, and the base64/20 MB limits are all documented in the schema. The description adds little parameter-level meaning beyond restating 'N rows' and the header-repeat behavior, so the 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?

States a specific verb and resource — 'Split a large CSV/Excel file into files of N rows each' — and adds a behavioral detail (header repeated, returned as separate files). The operation is distinct from the sibling converter tools (csv_to_xml, pdf_to_csv), though the description never explicitly positions itself against them.

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: an agent can infer 'use this when a CSV/Excel file is too large to handle in one piece.' There is no explicit when-to-use, when-not-to-use, or named alternative; the only routing cues are the pricing/auth tiers (free 5 calls/day, API key, x402), which are commercial rather than behavioral guidance.

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