Skip to main content
Glama

csv-clean

Clean a CSV: drop empty rows and exact duplicates, normalize headers. input=CSV text or a public http(s) URL to a .csv. [x402: 0.02 USDC on Base, pay-per-use]

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input": "<input>"
    },
    "name": "csv-clean"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesRaw CSV text or public URL to a .csv

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the concrete transformations that will alter the data (rows and duplicates dropped, headers normalized) plus a notable non-obvious trait: a per-use x402 charge of 0.02 USDC on Base. What it leaves out is the shape of the result — whether it returns cleaned CSV text, a diff, or a summary of what was removed — and any constraints on fetching URLs.

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?

Two compact sentences: the operation set is front-loaded, then the accepted input forms, then pricing. No filler or redundant phrasing.

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 one-parameter transform with no output schema and no nested structure, the definition covers what the tool does, what it accepts, and what it costs. The remaining gap is return-value shape and URL-fetch limits, which matter because there is no output schema to fall back on.

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% and the single parameter is fully documented as "Raw CSV text or public URL to a .csv," so the baseline is 3. The description largely restates that, adding only the http(s) scheme requirement, which is marginal value.

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?

The description states a specific verb ("Clean") and resource ("a CSV") and enumerates the exact operations performed: dropping empty rows and exact duplicates, and normalizing headers. This is enough to distinguish it from csv-stats, csv-pivot, and csv-correlations, though it never names a sibling explicitly.

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 context is implied by the enumerated operations (clean before analyzing), but there is no explicit "use this when..." statement, no preconditions, and no routing to alternatives such as csv-stats for analysis. The input-format note (raw text vs. public URL) helps the caller but is about the parameter, not about when to select this tool.

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.