Skip to main content
Glama

mint utilities

CSV and Excel data profiler

csv_profile
Read-onlyIdempotent

Profile a CSV, TSV, XLSX or JSON table: row and column counts plus type, nulls, distinct values, min, max and samples for every column. Cost: 1 credit per call. File input (file): base64 string, data: URI or {"url": "https://..."}. Output: JSON. {rows, cols, columns: [{name, inferred_type, null_count, distinct_count, distinct_capped, min, max, sample}]}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesThe table: base64 string (or data: URI) or {"url": "https://..."}. Up to 10 MB.
fromNoSource format. Omit to auto-detect.
sheetNoxlsx input: sheet name, or 0-based sheet index (default: the first sheet).
headerNoThe first row holds column names. false: columns are named col1, col2, ...
encodingNoText encoding of csv/tsv/json input (utf-8 falls back to cp1252).utf-8
max_rowsNoReject inputs with more data rows than this (413).
delimiterNocsv input: field delimiter (default: detected among , ; tab |).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds genuinely new behavioral context: a cost of 1 credit per call and the output payload shape, which the annotations do not provide.

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?

Front-loads the operation, then the cost, then input forms, then output shape — each fragment carries distinct information with no filler or repetition.

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 present, the description supplies the return structure ({rows, cols, columns: [...]}) an agent needs to consume the result, alongside cost and input forms. Nothing essential for correct invocation is missing.

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%, so every parameter is already documented in the schema, including the base64/data-URI/url forms of 'file'. The description restates the file input forms and adds nothing about formats, encoding, header handling or max_rows beyond what the schema says, so baseline 3 applies.

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 (Profile) and resource (CSV, TSV, XLSX or JSON table) and enumerates exactly what is computed per column. An agent can distinguish this from tabular_convert without any further context.

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 operation itself, and the credit cost signals weight, but the description never says when to prefer this over siblings such as tabular_convert or json_yaml_convert, nor any when-not condition.

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