Skip to main content
Glama

CSV data-quality report

submit_csv_quality_report
Idempotent

Score a CSV on completeness, type consistency and uniqueness, per column, and report the columns that are always empty, mostly empty, constant, or hold mixed types, plus duplicate rows. Choose this when you need a quick, reproducible quality assessment of a dataset: a score plus per-column completeness, uniqueness and type consistency. Do not choose this when you need the specific malformed rows listed (use csv-preflight), or when you need a module that produces a quality report inside your pipeline (use dataset-quality-report). Example requests: Profile this CSV and tell me which columns are unreliable. | Score this dataset export for quality before I trust it. | Which columns in this CSV are mostly empty or always the same value?

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_quality_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. First observed

TDQS

A4.1/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, and the description reinforces this with 'quick, reproducible'. However, it never mentions that this is a priced capability requiring a quote_id/accepted_price, nor the 1MB input ceiling — both meaningful behaviors handled in the schema rather than the description. No contradiction with annotations (readOnlyHint=false is consistent with submitting a job).

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-loads the capability statement, then the choose/do-not-choose routing, then examples — a sensible order with no filler. The three example utterances are somewhat redundant with the opening sentence and add length, but they earn their place as invocation cues.

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 an output schema present, return values needn't be restated, and the description covers purpose, scope, exclusions, and example intents for a nested-object schema. The main omission is the quote/price authorization flow, which an agent only learns by reading the schema.

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% and every parameter (content, quote_id, authorized_by, accepted_price) carries a schema-level description, so the structured data does the heavy lifting. The description adds no parameter-level guidance such as delimiter handling or how authorization identifiers are validated. 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?

Opens with a specific verb+resource+scope: 'Score a CSV on completeness, type consistency and uniqueness, per column', then enumerates the concrete findings (always empty, mostly empty, constant, mixed types, duplicate rows). An agent can tell instantly what it produces and how it differs from neighbors like submit_csv_preflight or submit_dataset_quality_report.

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 bidirectional routing: 'Choose this when you need a quick, reproducible quality assessment' and 'Do not choose this when you need the specific malformed rows listed (use csv-preflight), or when you need a module that produces a quality report inside your pipeline (use dataset-quality-report)'. The example requests further anchor the selection decision.

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