Skip to main content
Glama

CSV File Check

csv_check
Read-onlyIdempotent

Look at a CSV file before importing it. Send the CSV as text (up to 20,000 characters) or as base64 of the file's bytes (up to about 19,000 bytes, so the encoding can be checked too), optionally the delimiter (default: detect it) and up to 3 key columns. Get back the delimiter used (and whether another fits as well), the encoding (UTF-8, UTF-16, or not UTF-8 with the first bad byte), byte-order mark, line endings, the header (empty, duplicate and padded names), the row count, ragged rows (wrong number of fields) and blank rows by line, blank and duplicate key values by line, and a guessed type for each column (integer, decimal, date, boolean, text; mixed columns and zero-padded codes said plainly). Data cell values are never echoed back; column names are. It finds what breaks an import; it does not check the data against your schema. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/csv-check). Not legal, tax or financial advice.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "csv_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvNoThe CSV as text, header row first, up to 20,000 characters. Send this or csv_base64, not both. Do not send personal data (names of people, emails, phone, Social Security, card or account numbers): columns named for it and cells shaped like it are refused, but names in cells cannot be detected.
delimiterNoField separator: auto (default: detect), comma, semicolon, tab or pipe.auto
csv_base64NoThe file's raw bytes in standard base64, no line breaks (up to 26,000 characters, about 19,500 bytes). Send this instead of csv when the encoding matters; a text field has already been decoded by the sender.
key_columnsNoUp to 3 header names that together are the record key. Rows with an empty key value or a key already seen are reported by line.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds substantial context beyond them: no storage of inputs, no model or network use, free tier with an hourly limit surfaced as an error, signed output with a verification URL, and the guarantee that cell values are never echoed back while column names are. It never contradicts the annotations. The only shortfall is that the "hourly limit" is mentioned without any indication of its magnitude.

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 purpose sentence is front-loaded and the rest is ordered input-then-output, with almost no filler. It is dense and long, with nested parentheses stacking limits, defaults and caveats, so it rewards a careful read more than a skimming one; the enumerated answer-field list is verbose but necessary given no output schema.

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

Completeness5/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 carries the entire burden of describing returns, and it does: delimiter detection and ambiguity, encoding plus first bad byte, BOM, line endings, header defects, row count, ragged and blank rows, duplicate/blank keys, and per-column type guesses. Error behavior, size limits, privacy and signature verification are all covered, so an agent can call this correctly and interpret the response.

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

Parameters4/5

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

Schema coverage is 100%, so baseline would be 3. The description earns above that by explaining the tradeoff the schema only hints at: base64 exists "so the encoding can be checked too," because a text field has already been decoded. It also restates the defaults (delimiter auto-detect, up to 3 key columns) in the flow of the explanation rather than as a bare list.

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?

"Look at a CSV file before importing it" gives a concrete verb and resource, and the definition immediately bounds it: "It finds what breaks an import; it does not check the data against your schema." That negative clause cleanly separates it from schema-validation siblings such as csv_schema_check without naming them.

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?

It states the trigger (before importing) and the choice between the two input modes: text normally, base64 "when the encoding matters." The exclusion against schema checking is explicit, but the definition stops short of naming the sibling to use instead for schema validation.

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