CSV / delimited-text transform plugin for mcpg. Converts between delimited text (CSV/TSV/semicolon/etc.) and JSON — `csv_to_json` parses a delimited string into an array of row objects (or arrays), `json_to_csv` serialises an array of objects/arrays back to delimited text. Usable as a global pre/post-dispatch transform and (via the pipeline plugin_transform bridge) as a pipeline step. An optional JSON Pointer targets a sub-field so the rest of the payload is left untouched. Pure compute — no I/O; the gateway core never depends on it.
Two tools with complete input schemas and reasonable descriptions. Naming follows verb_noun convention (csv_to_json, json_to_csv). Descriptions are adequate (100-150 chars) but lack actionable context for LLM selection. Parameters are well-typed with enums and defaults, but descriptions are sparse and lack constraint details. No output schema documented. Error handling returns messages but lacks recovery guidance. No tool annotations (readOnlyHint, destructiveHint). Tools are read-only and stateless, which is good, but descriptions don't explicitly state this.
Parse a delimited string into a JSON array. With headers → array of objects keyed by the header row; without → array of arrays. Cells stay strings.
Serialise a JSON array to delimited text. Array-of-objects → optional header + rows (columns explicit or sorted-union); array-of-arrays → rows.
No output schema documented. LLMs cannot plan downstream operations or extract fields without knowing the response structure.
Parameter descriptions lack constraint details. 'delimiter' says 'Single ASCII byte' but doesn't explain what happens if a multi-byte char is passed. 'max_output_bytes' lacks rationale or guidance on when to adjust it.
Tool descriptions do not state that these are read-only, stateless transforms with no side effects. LLMs benefit from explicit safety guarantees.
Error messages are generic ('csv transform config: ...', 'pointer not found'). They do not guide recovery or suggest next steps.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 58 | 2026-07-28+ | v2 |
No tool annotations present. readOnlyHint should be set to true for both tools to signal safety to agents.