Skip to main content
Glama

CSV dialect report: delimiter, ragged rows, duplicate and empty columns

submit_csv_dialect_report
Idempotent

Describe how a CSV is actually shaped: the detected delimiter, the column count, ragged rows with their numbers, duplicate rows, and columns that are empty in every row. Choose this when you need to understand a file's shape — its delimiter, column count, ragged rows, duplicate rows and fully empty columns — before parsing it. Do not choose this when you want the file cleaned (use csv-clean), import errors diagnosed (use csv-preflight) or per-column statistics (use csv-column-profile). Example requests: What delimiter is this CSV actually using? | Report the shape of this CSV before I load it. | Why does this CSV import with the wrong number of 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": {
      "inputs": "<inputs>",
      "authorized_by": "<authorized_by>"
    },
    "name": "submit_csv_dialect_report"
  }
}

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

A4/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the safety profile is largely covered; the description adds what is actually reported (ragged row numbers, duplicate rows, empty columns), which is useful behavior beyond the annotations. However, it never discloses that this is a priced capability requiring a quote_id and an accepted_price, nor that it is non-readOnly for that transactional reason — a material omission given readOnlyHint=false.

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 payload description, then routing, then example utterances — a sensible order. The second sentence largely re-lists the same five outputs already named in sentence one ('its delimiter, column count, ragged rows, duplicate rows and fully empty columns'), which is redundant, though the example requests earn their space.

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

Completeness3/5

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

An output schema exists, so the description needn't explain return values, and the purpose/routing story is complete. What is missing for a job-submission tool with quote_id and accepted_price parameters is any mention of the quote-then-authorize workflow or cost acceptance, which an agent needs to call it successfully the first time.

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 75%, close to the threshold where the schema carries the load, and the description adds no meaning about any of the four parameters (content, quote_id, authorized_by, accepted_price). The content field's size limit and accepted delimiters are documented only in the schema, so the description neither compensates nor detracts.

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?

The opening sentence names a specific verb ('Describe') and enumerates the exact outputs: detected delimiter, column count, ragged rows with row numbers, duplicate rows, and fully empty columns. This distinguishes it clearly from siblings like submit_csv_preflight and submit_csv_column_profile without inspecting their 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?

Explicit routing in both directions: 'Choose this when you need to understand a file's shape ... before parsing it' and 'Do not choose this when you want the file cleaned (use csv-clean), import errors diagnosed (use csv-preflight) or per-column statistics (use csv-column-profile).' Named alternatives plus the selecting condition leave nothing to inference.

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