Skip to main content
Glama

describe_dataset

Read-only

Profiles dataset columns with types, null rates, distinct counts, ranges, frequent values, and optional full statistics to orient analysis without rereading source data.

Instructions

Primary orientation tool. Default detail='compact' returns one row per column: name, type, null%, distinct count, and the min/max (numbers, dates) or most frequent values (text; every value when 10 or fewer), plus date formats and unique columns. detail='full' adds samples, top values with counts, mean, median and summaries. Statistics come from the index, not a re-read of the source. On wide tables (60+ columns), results are auto-paginated — use columns=[] to select specific ones, or columns_offset to page through remaining columns.

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>"
    },
    "name": "describe_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNocompact (default): one row per column. full: the full per-column profile.compact
columnsNoFilter to specific columns (default: all)
datasetYesDataset identifier (from list_datasets or index_local)
columns_offsetNoPagination offset for wide tables (default 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.33.0
    • addedInput schema / properties / detail
      Added value: +{
      +  "default": "compact",
      +  "description": "compact (default): one row per column. full: the full per-column profile.",
      +  "enum": [
      +    "compact",
      +    "full"
      +  ],
      +  "type": "string"
      +}
  2. First observedv1.31.1

TDQS

A3.9/5.0
Behavior3/5

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

readOnlyHint=true already establishes this as a safe read, and the description usefully adds that statistics come from the index rather than a re-read of the source, plus the auto-pagination behavior on wide tables. Beyond those two points it says nothing about response size, latency, or failure modes that annotations don't cover.

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?

Front-loaded with the 'primary orientation tool' framing, then the compact output, then the full output, then pagination — a sensible order with no filler. It is dense but every clause carries information; only the columns=[] wording is confusing enough to cost a point.

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?

There is no output schema, so the description must describe the return shape itself, and it does so precisely for both detail modes, including the 10-or-fewer text-value special case. Combined with the index-vs-source note and pagination guidance, an agent has everything needed to call and interpret this correctly.

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 already 100%, so the baseline is 3, but the description still adds meaning: it spells out what compact vs full actually return and why columns_offset exists (auto-pagination on 60+ column tables). The phrasing 'columns=[] to select specific ones' is slightly muddled — an empty array reads as 'none' rather than 'a specific subset' — which keeps this from a 5.

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 makes the operation concrete: it returns one row per column with name, type, null%, distinct count, min/max or most-frequent values, plus detail='full' extras. That is far more specific than a restatement of the name. It only partially differentiates from close siblings like describe_column and summarize_dataset, relying on the phrase 'Primary orientation tool' rather than 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?

'Primary orientation tool' tells the agent to reach for this early in a session, and the final sentence gives actionable guidance for wide tables (use columns= to narrow, or columns_offset to page). It stops short of explicit when-not-to-use advice or naming an alternative such as describe_column for single-column inspection.

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