Skip to main content
Glama

Markdown table to JSON / CSV

markdown_table_parse
Read-onlyIdempotent

Convert Markdown tables into JSON objects, arrays, or CSV and return each column's alignment for structured data use.

Instructions

Read a Markdown table (pipes optional at the ends, | escapes, as line breaks) back into data: JSON objects keyed by the header, JSON arrays, or CSV; also returns each column's alignment. Uses the website's Markdown import. Give "text" or a file "path". Web version: https://s3eidat.github.io/markdown-table/

Input Schema

NameRequiredDescriptionDefault
asNo"objects" (header → keys), "arrays" (header row first) or "csv".objects
pathNoOr: a path to a Markdown file (UTF-8; use this for big inputs).
textNoThe Markdown table as inline text.
outputNoOptional: also write the result to this file path (or folder ending in "/"). The result text is then left out of the reply. Results over 1,000,000 characters are always written to a file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and closed-world behavior, and the description adds real parsing context beyond them: optional edge pipes, \| escapes, <br> line breaks, and the fact that column alignment is also returned. It does not describe the shape of the reply or how the alignment data is packaged, which is the remaining gap.

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?

One dense paragraph that front-loads the input dialect, then the output formats, then the input source. The trailing 'Uses the website's Markdown import' and the marketing URL are low-value for an agent deciding how to call it, but the rest is waste-free.

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 no output schema, the description does carry the return-value burden and names the three formats plus the alignment side-output, which is the key information. It is slightly thin on the envelope structure of the response and on what happens when neither 'text' nor 'path' is supplied (no required parameters).

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 coverage is 100%, so all four parameters including the 'as' enum are documented in the schema itself, setting the baseline at 3. The description only restates the text-or-path choice and lists the three output formats, adding no syntax, size, or precedence guidance beyond what the schema already says.

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 a specific verb and resource: reading a Markdown table back into JSON objects, JSON arrays, or CSV, plus column alignment. The direction ('back into data') implicitly contrasts with the sibling markdown_table, but that sibling is never named, so differentiation is left to inference.

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

Usage Guidelines3/5

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

The only routing hint is 'Give "text" or a file "path"', which is parameter choice rather than when-to-use guidance. There is no explicit statement of when to prefer this over markdown_table or over csv_to_json/json_to_csv, and no exclusions or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools