Skip to main content
Glama

CSV Date and Time Format Drift Checker

csv-date-and-time-format-drift-checker
Read-onlyIdempotent

Data teams need to catch when timestamp columns silently shift formats, time zones, or null patterns between file drops.

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": {
      "previous_csv_sample": "<previous_csv_sample>",
      "current_csv_sample": "<current_csv_sample>",
      "datetime_columns": "<datetime_columns>",
      "strict_mode": "<strict_mode>"
    },
    "name": "csv-date-and-time-format-drift-checker"
  }
}

Input Schema

NameRequiredDescriptionDefault
strict_modeYesWhen true, any detected ambiguity, mixed format column, or unparseable value in a declared datetime column upgrades the ingestion risk to high.
datetime_columnsYesComma-separated column names or one column name per line. Each declared column must exist in both CSV headers after optional trimming is applied.
current_csv_sampleYesMust contain CSV text with a header row. Empty input is invalid.
previous_csv_sampleYesMust contain CSV text with a header row. Empty input is invalid.

Output Schema

NameRequiredDescriptionDefault
null_spike_flagsNo
format_drift_flagsNo
timezone_drift_flagsNo
ingestion_risk_summaryNo
column_inference_reportNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.5/5.0
Behavior2/5

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

The annotations already declare this as a read-only, idempotent, closed-world operation, so safety behavior is covered. The description adds no behavioral detail beyond the motivation—it does not say how drift is compared, what null-pattern shifts mean, or how the ingestion risk is computed or surfaced. For a tool named as a 'checker,' the description does not explain the checking behavior itself.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence with no filler, so it is concise. However, it is structured as a problem statement rather than front-loading what the tool does, and it omits necessary detail for calling the tool correctly. Brevity here comes at the cost of usefulness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has four required parameters, an output schema, and a moderately complex comparison task involving CSV samples and declared datetime columns. The description does not explain what comparison is performed, how drift categories are distinguished, or what the resulting risk report contains. Given that the output schema exists, return-value details are not required, but the comparison behavior is still missing.

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%, and the schema already explains that previous_csv_sample and current_csv_sample must contain CSV text with a header row, datetime_columns may be comma- or line-separated and must exist in both headers, and strict_mode upgrades risk. The description adds no parameter-level meaning beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The sentence identifies the resource area—timestamp columns in CSV file drops—and the kinds of drift it targets: format, time zone, and null patterns. But it frames the tool as a data-team need rather than stating a concrete verb such as 'compare' or 'detect drift between previous and current CSV samples.' The intended action is inferable but never explicitly stated, leaving the purpose only minimally clear.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus the many sibling diff and drift checkers. It does not mention when to pass strict_mode, whether both samples must come from the same schema, or any exclusions. The reader must infer all usage conditions from the schema and annotations.

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