Skip to main content
Glama

describe_column

Read-only

Profile a single dataset column to reveal value distributions, numeric histograms, datetime ranges, counts, stats, top values, and samples, with compact or full detail and optional PII redaction.

Instructions

Deep profile of a single column. Full value distribution for low-cardinality columns, histogram bins for numeric, temporal range for datetime. Default detail='compact' gives counts, range or stats, and top values as [value, count] pairs; detail='full' adds samples, percentages and a summary. top_n capped at 200; histogram_bins capped at 50.

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": {
      "dataset": "<dataset>",
      "column": "<column>"
    },
    "name": "describe_column"
  }
}

Input Schema

NameRequiredDescriptionDefault
top_nNoTop values to return (default 10 compact, 20 full)
columnYesColumn name or column ID (e.g. 'lapd-crime::AREA NAME#column')
detailNocompact (default): fewer repeated keys. full: the full profile.compact
redactNoScrub PII / credentials from value_distribution, top_values, and sample_values (default true). Numeric stats and counts are never altered. Set false for raw values when working with data you own.
datasetYesDataset identifier
histogram_binsNoBins for numeric histograms (default 10)
redact_patternsNoAdditional Python regex patterns to redact on top of the built-in set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.33.0
    • addedInput schema / properties / detail
      Added value: +{
      +  "default": "compact",
      +  "description": "compact (default): fewer repeated keys. full: the full profile.",
      +  "enum": [
      +    "compact",
      +    "full"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / top_n / default
      Removed value: -20
    • changedInput schema / properties / top_n / description
      Previous value: -"Top values to return for categorical columns (default 20)"New value: +"Top values to return (default 10 compact, 20 full)"
  2. First observedv1.31.1

TDQS

A3.5/5.0
Behavior3/5

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

readOnlyHint=true already establishes the safety profile, so the bar is lower. The description adds useful behavioral detail: what differs between compact and full payloads, and hard caps (top_n 200, histogram_bins 50) that prevent oversized requests. It does not mention the default PII redaction that materially changes returned values.

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 core purpose is front-loaded in the first sentence, and each subsequent sentence covers a distinct concern (output shape by type, detail levels, caps) with no filler. The semicolon-chained final sentences are dense but still parse cleanly.

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 7 parameters, no output schema, and 100% schema coverage, the description does the right job of explaining what the returned profile looks like at each detail level. The main omission is the default redaction behavior, which shapes the returned values, but the schema documents it thoroughly.

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%, so the baseline is 3. The description does add meaning the schema lacks: it concretely defines what detail='compact' versus 'full' returns, whereas the schema only says "fewer repeated keys", and it restates the top_n and histogram_bins ceilings as hard limits.

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?

"Deep profile of a single column" gives a specific verb and resource, and the following sentences state exactly what the profile contains (value distribution, histogram bins, temporal range). It is clearly narrower than dataset-level siblings such as describe_dataset or get_distribution, though it never names them explicitly.

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?

The description implies when to use it — single-column deep profiling — and explains the compact/full trade-off, which is a real usage decision. However, it never states when to prefer describe_dataset, get_distribution, or sample_rows instead, leaving the agent to infer sibling routing from names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.