Skip to main content
Glama

Markdown table

markdown_table
Read-onlyIdempotent

Converts CSV, TSV, JSON arrays, or existing Markdown tables into aligned GitHub-flavoured Markdown tables with per-column alignment and optional padding.

Instructions

Make a GitHub-flavoured Markdown table from CSV, TSV, a JSON array (of objects or of arrays), an existing Markdown table (to re-align / re-pad it) or a "rows" array. Per-column alignment (left, center, right), columns padded to line up (optional), pipes escaped as | and line breaks as . CSV delimiter (comma, semicolon, tab) is detected from the first line. Give "text", a file "path" or "rows". Web version: https://s3eidat.github.io/markdown-table/

Input Schema

NameRequiredDescriptionDefault
pathNoOr: a path to a CSV/TSV/JSON/Markdown file (UTF-8; use this for big inputs).
rowsNoOr: the table as an array of rows (first row = header unless header is false).
textNoThe CSV / TSV / JSON / Markdown table as inline text.
alignNoColumn alignment: one value for all columns or one per column. Default: keep a Markdown input's alignment, else none.
formatNoInput format; "auto" detects Markdown, then JSON, then CSV/TSV.auto
headerNoFirst row is the header. When false, "Column 1", "Column 2"… headers are added.
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.
prettyNoPad cells so the columns line up (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/closed-world, but the description adds real behavior: pipes escaped as \|, line breaks as <br>, CSV delimiter detected from the first line, and that a >1,000,000-character result is always written to a file. That last point is worth flagging against readOnlyHint=true, since the 'output' option makes the tool write to disk, though the write is an optional side channel on an otherwise pure transformation rather than a contradiction of the tool's stated purpose.

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?

The core purpose is front-loaded and the density is justified for 8 parameters with several formats. The first sentence is a long run-on that packs formats and options together, and the trailing web-version URL adds little for an agent, but nothing is padding.

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

Completeness5/5

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

For an 8-parameter, zero-required, no-output-schema tool, the description covers input modes, format detection, alignment, padding, escaping, and the file-output escape hatch, and it implicitly establishes that the reply contains the Markdown text. Nothing an agent needs in order to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by clarifying that text/path/rows are alternatives (one-of) and by stating the 'auto' detection order (Markdown, then JSON, then CSV/TSV) and the default alignment behavior. Most remaining parameter detail is already in the schema.

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 description opens with a specific verb+resource ('Make a GitHub-flavoured Markdown table') and enumerates every accepted input shape (CSV, TSV, JSON array of objects/arrays, existing Markdown, 'rows' array). Directionality is unambiguous, which cleanly separates it from the inverse sibling markdown_table_parse without needing to name it.

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?

It gives clear context for invoking the tool and even routes between input modes ('Give "text", a file "path" or "rows"', plus 'use this for big inputs' on path). It stops short of explicit when-not-to-use or naming an alternative tool, so it lands just below the top mark.

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