Skip to main content
Glama

mechacut

csv_money_columns

Read a financial CSV without EVER guessing a lone value: the decimal convention must be PROVEN by the column's own unambiguous cells. '1.234' reads as 1.234 in a column that shows 1,234.56 and as 1234 in one that shows 1.234,56 β€” each resolution traced with its evidence count; a column proving BOTH styles is CONTRADICTORY and every ambiguous value there is refused with its two readings (needs_human), never coin-flipped β€” the $100.50 read as $10,050 class of bug made structurally impossible. Delimiter sniffed by recurrence across lines (csv.Sniffer semantics), thousands commas rejoined only when declared, real qty,price tables left untouched. Reports max_reading_gap_x β€” how big the trap was. Free under 32 KB (🟑).

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": {
      "csv": "<csv>"
    },
    "name": "csv_money_columns"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvYes
columnsNonames or indices; default all
delimiterNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the contradiction policy (a column proving both styles is refused with its two readings and needs_human), the delimiter sniffing rule (csv.Sniffer semantics, recurrence across lines), the thousands-comma rejoining condition, and a reported diagnostic (max_reading_gap_x). It also communicates a hard input-size limit of 32 KB, which is real operational context not otherwise available. What it omits is the concrete returned structure beyond the one named field and the two-reading refusal payload.

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

Conciseness3/5

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

The purpose and the contradiction rule are front-loaded, which is good, but the prose is dense and rhetorical: all-caps emphasis, a war-story sentence about the '$100.50 read as $10,050 class of bug', an emoji and a 'Free under 32 KB' marketing tag. These add persuasion but consume space that could have specified the csv parameter's expected format. The core content is all relevant; the delivery is noisier 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?

For a three-parameter, non-mutating reader with no annotations and no output schema, the definition is close to sufficient: behavior, failure modes, and one diagnostic field are all described. It is only incomplete on the meaning of the required csv payload and on the shape of the returned resolutions/evidence counts, which matter because no output schema exists to fill that gap.

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 only 33%, and the two undocumented parameters are the important ones. The description does clarify that delimiter is sniffed automatically, which tells the agent the parameter is an optional override, but it never says how to express a delimiter. More seriously, it never states whether the required 'csv' string is raw CSV text or a file path, though the 32 KB limit weakly implies inline content. 'columns' defaults are covered only by the schema itself.

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+resource combination ('Read a financial CSV') and states a sharp scope constraint: never guess a lone value, decimal convention must be proven by unambiguous cells in the same column. That is far more specific than a generic CSV reader. It stops short of naming a sibling such as csv_types or csv_fix, so the agent must infer when this beats those alternatives from context rather than from the description.

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 strongly implied: reach for this when a financial CSV contains ambiguous decimal values and you must not guess. The 32 KB ceiling further narrows applicability, and the 'real qty,price tables left untouched' remark hints at the no-op case. But there is no explicit when-not statement and no named alternative for non-financial or clean-data CSVs, leaving the agent to infer the boundary.

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.