Skip to main content
Glama

ai_data_dictionary

Read-only

CSV Data Dictionary — Profile a CSV/TSV (csv= text or url= up to 2 MB, first 5,000 rows) and write a data dictionary: per column inferred type (integer, decimal, currency, percent, boolean, date, datetime, email, url, uuid, ip, phone, categorical, text), nulls, distinct, min/max/mean/median, top values, PII flag and key candidates, all computed offline; plus AI-written table description, row grain and plain-English column descriptions (ai=false to skip). Optional context= and delimiter=. Includes a Markdown table. Price: $0.008 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": "ai_data_dictionary"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvYesorder_id,customer_email,amount 1,a@x.com,10.50 2,b@y.org,20

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, the description discloses the paid-x402 requirement and exact price ($0.008 USDC on Base), the hard input caps (2 MB / 5,000 rows), that numeric profiling is computed offline while the prose layer is AI-generated and can be skipped, and that a Markdown table is produced. Cost and payment/auth requirements are exactly the kind of context 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?

One dense, front-loaded paragraph that leads with the action and output, then tacks constraints, cost, and the Markdown artifact onto the end. The 15-type enumeration is long but functional; otherwise there is little filler.

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 correctly carries the burden of describing the return artifact (dictionary fields plus a Markdown table), and it covers limits, cost, and the AI opt-out. Its one real gap is the parameter inventory mismatch, which leaves the agent unsure which inputs are actually accepted.

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

Parameters2/5

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

The schema documents a single required 'csv' parameter at 100% coverage, yet the description advertises additional inputs — 'url=', 'context=', 'delimiter=', 'ai=false' — that do not exist in the input schema. Rather than adding meaning to the documented parameter, it introduces inputs an agent may attempt to pass and have rejected, and it never explains the 'csv' value's expected format beyond the schema's own example.

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?

The description opens with a concrete verb and resource: 'Profile a CSV/TSV ... and write a data dictionary.' It then enumerates exactly what the output contains (inferred types, nulls, distinct, min/max/mean/median, top values, PII flags, key candidates), which is far more specific than the name alone. An agent can tell this apart from generic AI text tools in the sibling list.

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 implied rather than stated: the input limits ('up to 2 MB, first 5,000 rows') and the 'ai=false to skip' opt-out tell the agent when the tool is viable and how to control cost, but there is no explicit when-to-use vs. when-not-to-use guidance and no named alternative (e.g., a plain profiling tool) to route against. Guidance is inferable but not spelled out.

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