Skip to main content
Glama

util_csv_profile

Read-only

CSV data profile + CREATE TABLE — Profile a CSV and generate a schema. csv= inline text (newline-separated rows) or url= link to a CSV file (first 1 MB). Auto-detects delimiter (comma, tab, semicolon, pipe) and header row. Per column: inferred type (integer, decimal, boolean, date, datetime, email, url, uuid, string, numeric codes with leading zeros), nulls, distinct, uniqueness, min/max length, numeric stats (mean, median, sd, quartiles, IQR outliers), date range, top values and flags (formatted numbers, mixed types, whitespace, constant columns). Dataset: duplicate rows, ragged rows, candidate keys, completeness, quality score GOOD/FAIR/POOR, and a CREATE TABLE statement (dialect=postgres|mysql|sqlite|bigquery|snowflake, table=name). Optional delimiter=, header=false. Profiles up to 20,000 cells. 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": {
      "csv": "<csv>"
    },
    "name": "util_csv_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvYesid,plan,mrr 1,pro,49 2,basic,9 3,pro,49

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the readOnly/destructive annotations, the description discloses the 1 MB URL fetch limit, the 20,000-cell processing cap, auto-detection behavior for delimiter and header, the full set of derived statistics, and a paid x402 charge of $0.003 USDC on Base. The payment requirement and processing limits are exactly the kind of operational context annotations cannot carry.

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?

It is front-loaded with purpose then input modes, and the dense feature enumeration is information-bearing rather than filler. The long comma-separated inventory of per-column stats is heavy but appropriate for a profiling tool, though the trailing price line and the stray delimiter/header mention could be tightened.

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 carries the full burden of explaining return values and does so thoroughly (per-column stats, dataset-level checks, quality score, CREATE TABLE with dialect and table name). The one gap is the mismatch between the described delimiter/header/url inputs and the single-parameter schema.

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 single csv parameter, so baseline is 3. The description helpfully clarifies that csv may hold inline text or a URL (a real value-add), but it also advertises 'Optional delimiter=, header=false' options that do not exist in the input schema and implies url= is an alternative to the required csv field, which muddies rather than clarifies.

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 names a specific verb and resource ('Profile a CSV and generate a schema') and enumerates concrete outputs (types, nulls, quality score, CREATE TABLE), so an agent knows exactly what it produces. It does not differentiate itself from siblings such as util_csv or ai_csv_ask, which keeps it off a 5.

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?

It tells the agent how to supply input (inline newline-separated rows versus a URL, first 1 MB only), which is implicit usage guidance, but it never states when to pick this over util_csv or ai_csv_ask, nor any preconditions beyond the cell cap.

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