Skip to main content
Glama

CSV date normaliser: detect formats, flag ambiguity, emit ISO

submit_csv_date_normalise
Idempotent

Detect date columns in a CSV, report the formats present, flag dates that could be read as day/month or month/day, and return the file with every date rewritten as ISO 8601. Choose this before loading a CSV whose dates are in mixed or local formats, to detect the date columns, flag dates that could be read as day/month or month/day, and receive the file rewritten as ISO 8601. Do not choose this when dates carry times or timezones, which are not converted, or for two-digit years. Example requests: Normalise the dates in this CSV to ISO format. | Are any of these dates ambiguous? | Convert these UK-style dates to ISO 8601.

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": {
      "inputs": "<inputs>",
      "authorized_by": "<authorized_by>"
    },
    "name": "submit_csv_date_normalise"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputsYes
quote_idNoThe quote_id returned by POST /v1/jobs. Required to authorize a priced capability; the service rejects a priced job that does not name the quote it issued.
authorized_byYesIdentifier of the human or agent authorizing this job.
accepted_priceNoThe amount accepted, exactly as quoted (for example "5.00" or 5). Checked against the stored quote, so a price that moved between quote and authorize is refused rather than silently absorbed. Optional, but sent to make the acceptance explicit.

Output Schema

NameRequiredDescriptionDefault
quoteNo
stateYes
job_idYes
artifactsNo
access_tokenNoPer-job credential. Present it as the X-Job-Token header to read the job or list it. Keep it; it is the only credential for this job.
verificationNoIndependent verification. verification.ok = false means the job failed, not a partial success.
capability_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true; the description adds real behavioural content beyond them by stating exactly which date shapes are NOT handled (times, timezones, two-digit years) and that the returned file has every date rewritten. It does not explain that this is a priced job requiring a quote, but the quote_id and accepted_price schema descriptions cover that. The remaining gap is the return payload shape, which the output schema covers.

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?

Front-loaded with the operation, which is good, but the second sentence largely restates the first, re-listing 'detect the date columns, flag dates ... receive the file rewritten as ISO 8601' verbatim. The redundancy pushes length up without adding information; the example requests are the only genuinely additive part of the tail.

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 annotations, a populated input schema and an output schema, the description only needs to cover scope and limits, and it does: it states unsupported cases and the ISO 8601 output. What is missing is a note that this submits a priced job tied to a quote, though the schema fields make that discoverable.

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?

Four parameters at 75% description coverage, with the schema already explaining content, quote_id, authorized_by and accepted_price in detail. The description adds no parameter-level meaning at all — nothing about input size limits, delimiter handling, or how quote/authorisation interact with the job. Baseline 3 is appropriate when the schema does the work.

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?

States concrete verbs and resources: detect date columns in a CSV, report formats, flag day/month vs month/day ambiguity, and return the file rewritten as ISO 8601. The purpose is unambiguous and an agent can tell this is the date-normalisation step rather than a general CSV cleaner. It never names or contrasts a sibling (submit_csv_clean, submit_csv_quality_report, etc.), which is the only reason it does not reach 5.

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?

Explicitly says when to pick it ('before loading a CSV whose dates are in mixed or local formats') and when not to ('dates carry times or timezones, which are not converted, or for two-digit years'). Example requests reinforce the intended call. No alternative tool is named for the excluded cases, so it falls short of the alternatives-plus-exclusions bar.

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