Skip to main content
Glama

util_csv_diff

Read-only

CSV diff (row and cell changes) — Compare two CSV files and get exactly what changed: rows added, rows removed, and cell-level changes for rows that match on a key column (auto-picks a unique id-like column, or pass key=, comma-separated for composite keys). Also reports columns added/removed, changes per column, and a verdict IDENTICAL / MINOR / CHANGED / MAJOR. Numbers compare numerically (1.00 = 1); optional tolerance= for numeric drift, ignore= columns to skip, ignoreCase=true, limit= rows listed (default 100, counts are always complete). Handles quoted fields, tabs, semicolons and pipes. Without a unique key it falls back to whole-row comparison. Up to 20,000 rows per file. Offline, nothing stored. Price: $0.003 USDC (Base, via x402).

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": {
      "a": "<a>",
      "b": "<b>"
    },
    "name": "util_csv_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYese.g. id,name,price 1,Apple,1.00 2,Banana,0.50 3,Cherry,3.00
bYese.g. id,name,price 1,Apple,1.00 2,Banana,0.55 4,Date,4.00

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only supply readOnly/destructive/openWorld hints, but the description adds material behavior: 20,000-row cap, offline with nothing stored, default limit of 100 rows while counts stay complete, numeric equality semantics (1.00 = 1), tolerance for drift, and a paid $0.003 USDC x402 requirement. That payment/auth note is exactly the kind of operational detail annotations cannot express.

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?

The leading clause is front-loaded with the core purpose and the change categories, and nearly every sentence carries distinct information (limits, delimiters, pricing). It is a dense single paragraph without formatting breaks, making the option parameters harder to scan than necessary.

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?

With no output schema, the description does the work of explaining the return: added/removed rows, cell changes, per-column change counts, and the IDENTICAL/MINOR/CHANGED/MAJOR verdict. Limits, offline behavior, and cost are all covered; the only shortfall is that several advertised option parameters are absent from the input schema, leaving the agent unsure how to supply them.

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% for the two string inputs, so the baseline is 3. The description adds how inputs are interpreted (header row, key-column auto-detection, quoted fields, tab/semicolon/pipe delimiters), but it also references key=, tolerance=, ignore=, ignoreCase=, and limit= which do not appear in the supplied schema — a mismatch that limits how much trustworthy meaning it adds.

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

Purpose5/5

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

States a specific verb and resource ('Compare two CSV files') and immediately specifies the output granularity: rows added, rows removed, and cell-level changes. The parenthetical '(row and cell changes)' plus the verdict taxonomy makes it clearly distinguishable from util_json_diff and util_openapi_diff.

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

Usage Guidelines4/5

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

Gives clear selection conditions within the tool: auto-picks a unique id-like column, or pass key= for composite keys, and falls back to whole-row comparison when no unique key exists. It does not name a sibling tool or state when NOT to use this one (e.g., when to reach for util_csv_join or util_json_diff instead), so it stops short of full routing 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