Skip to main content
Glama

analyze_data_quality

Checks a workspace dataset for missing values, duplicates, constants, and other quality issues before modeling, returning recommendations without modifying data.

Instructions

Check a workspace dataset for missing data, duplicates, constants and other quality issues before modeling. Returns recommendations without modifying the dataset. Use inspect_dataset for a raw row preview.

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

Input Schema

NameRequiredDescriptionDefault
nameYesDataset filename.
delimiterNoCSV delimiter (comma, semi, tab, pipe). Auto.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / delimiter
      Added value: +{
      +  "description": "CSV delimiter (comma, semi, tab, pipe). Auto.",
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses that it returns recommendations and does not modify the dataset, which is the most important behavioral trait for an agent. However, it says nothing about permissions, cost/runtime on large datasets, or whether repeated runs are idempotent, so the read-only claim is the only behavior covered.

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?

Three short sentences with no filler; the core purpose comes first, the non-mutating guarantee second, and the sibling routing last. Every sentence earns its place.

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?

For a two-parameter, read-only diagnostic tool with no output schema, the description covers purpose, the non-destructive contract, and the neighboring alternative. The only gap is that it doesn't characterize the shape of the returned recommendations, which is minor since no output schema exists to be misinterpreted.

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 both `name` and `delimiter` are already documented in the schema with the accepted delimiter values. The description adds no extra meaning about parameter effects (e.g. whether a wrong delimiter degrades results), so the 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 and resource ("Check a workspace dataset") and enumerates the concrete issues it looks for: missing data, duplicates, constants. It also names a sibling (inspect_dataset) for the adjacent but different task, so an agent can separate the two without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit usage window ("before modeling") and explicitly routes the raw-row-preview case to inspect_dataset. The alternative and the condition selecting it are both spelled out rather than implied.

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