Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
make_tableA

Render data as a table.

Args: headers: Optional list of column header strings rows: List of data rows, each a list of strings data: Alias for rows -- pass data here if you prefer (cannot use both) fmt: "grid" (default) for ASCII grid, "box" for Unicode box-drawing, "pipe" for Markdown pipe table, "safe" for char-count padding style: Table style (for grid fmt). One of: mysql, separated, compact, gfm, reddit, rounded, rst, box, unicode, dots auto_format: Auto-detect numeric columns (right-align) and center headers safe_width: Count zero-width combining marks as width 1 (for Discord/browsers)

Returns: Formatted table as a Markdown code block (grid/box/safe) or raw pipe table.

make_table_from_csvA

Parse a CSV/TSV string and render as a table.

Args: csv_text: Raw CSV-formatted text delimiter: Field delimiter (default: comma). Use '\t' for TSV. has_header: If True (default), first row is treated as column headers fmt: "grid" (default), "box", "safe", or "pipe" style: Table style (for grid fmt) auto_format: Auto-detect numeric columns

Returns: Formatted table.

make_table_from_jsonA

Parse a JSON array and render as a table.

Accepts either:

  • A 2D array: [["Name", "Value"], ["alpha", "1"], ...]

  • An object with "headers" and "rows" keys: {"headers":["Name"], "rows":[["alpha"]]}

Args: json_data: JSON string has_header: If True (default), first row is treated as column headers fmt: "grid" (default), "box", "safe", or "pipe" style: Table style (for grid fmt) auto_format: Auto-detect numeric columns

Returns: Formatted table.

make_table_previewA

Print a preview/example table with sample data.

Args: style: "thai" (default) -- example with Thai/Pali characters "simple" -- plain English example fmt: "grid" (default), "box", "pipe", or "safe" table_style: Table style for grid fmt (mysql, separated, etc.)

Returns: Formatted example table.

analyze_tableA

Analyze column positions in a grid table (+---+).

Uses display-width space (via wcwidth) for position comparison, so Thai/Pali combining marks (พิทุ, สระบน/ล่าง) are handled correctly.

Scans '+' markers in border lines to define column boundaries, then validates '|' alignment in data rows.

Args: table_text: A +---+ grid table as raw text

Returns: Analysis report: column positions, alignment validation, parsed cells

validate_table_textA

Validate structural integrity of a table (box/grid/pipe).

Auto-detects format, then checks:

  • Border/data line alternation

  • Marker positions (+, ┬, etc.) are consistent

  • Column count is stable across rows

  • First and last lines are correct border type

Args: table_text: Raw table text (box, grid, or pipe format)

Returns: Validation report with any structural issues

debug_tableC

Render and diagnose a table — shows exact character positions.

Produces a detailed report: plain table, annotated position analysis, and drift comparison between border markers and data pipes.

Args: headers: Optional column headers rows: Data rows data: Alias for rows

Returns: Diagnostic report with position annotations

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dhammawatthumpra-coder/ascii-table-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server